summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorJulien Dessaux2018-03-20 17:06:29 +0100
committerJulien Dessaux2018-03-23 11:39:59 +0100
commitc65e7e19cb4e7328e49f600f25de36795e6ba694 (patch)
tree16ade7e4030d1c8f85a617ad441066412dc9f29a /services
parentAdded policy to limit the number of kernels to 2 on centos hosts (diff)
downloadmasterfiles-c65e7e19cb4e7328e49f600f25de36795e6ba694.tar.gz
masterfiles-c65e7e19cb4e7328e49f600f25de36795e6ba694.tar.bz2
masterfiles-c65e7e19cb4e7328e49f600f25de36795e6ba694.zip
Cleaned useless template expansions
Diffstat (limited to 'services')
-rw-r--r--services/applications/nrpe.cf2
-rw-r--r--services/applications/openvpn.cf2
-rw-r--r--services/applications/php56.cf2
-rw-r--r--services/applications/sshd.cf2
4 files changed, 4 insertions, 4 deletions
diff --git a/services/applications/nrpe.cf b/services/applications/nrpe.cf
index f2a4c3f..c5ed6f8 100644
--- a/services/applications/nrpe.cf
+++ b/services/applications/nrpe.cf
@@ -16,7 +16,7 @@ bundle agent nrpe
create => "true",
edit_defaults => empty,
perms => system_owned("444"),
- edit_template => "$(sys.inputdir)/templates/nrpe/nrpe.cfg",
+ copy_from => local_dcp("$(sys.inputdir)/templates/nrpe/nrpe.cfg"),
classes => if_repaired("nrpe_nrpe_cfg_file_repaired");
classes:
freebsd.nrpe::
diff --git a/services/applications/openvpn.cf b/services/applications/openvpn.cf
index 963c720..c76c18d 100644
--- a/services/applications/openvpn.cf
+++ b/services/applications/openvpn.cf
@@ -9,7 +9,7 @@ bundle agent openvpn
create => "true",
edit_defaults => empty,
perms => system_owned("440"),
- edit_template => "$(sys.inputdir)/templates/openvpn/common.key.cftpl",
+ copy_from => local_dcp("$(sys.inputdir)/templates/openvpn/common.key.cftpl"),
classes => if_repaired("openvpn_common_key_repaired");
methods:
any::
diff --git a/services/applications/php56.cf b/services/applications/php56.cf
index d16870c..99e76a7 100644
--- a/services/applications/php56.cf
+++ b/services/applications/php56.cf
@@ -17,7 +17,7 @@ bundle agent php56
create => "true",
edit_defaults => empty,
perms => system_owned("444"),
- edit_template => "$(sys.inputdir)/templates/php/freebsd-php56-php-fpm.conf",
+ copy_from => local_dcp("$(sys.inputdir)/templates/php/freebsd-php56-php-fpm.conf"),
classes => if_repaired("php56_php_fpm_conf_file_repaired");
"/var/run/php-fpm/."
create => "true",
diff --git a/services/applications/sshd.cf b/services/applications/sshd.cf
index 7cf58bf..d44cbff 100644
--- a/services/applications/sshd.cf
+++ b/services/applications/sshd.cf
@@ -10,7 +10,7 @@ bundle agent sshd
create => "true",
edit_defaults => empty,
perms => system_owned("444"),
- edit_template => "$(sys.inputdir)/templates/sshd/authorized_keys.cftpl",
+ copy_from => local_dcp("$(sys.inputdir)/templates/sshd/authorized_keys.cftpl"),
classes => if_repaired("sshd_authorized_keys_files_repaired");
classes:
freebsd::