diff options
author | intrigeri <intrigeri@boum.org> | 2012-12-30 15:43:06 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-12-30 16:06:30 +0100 |
commit | 985ec1fe0aee848b3d45e9f8accf6ff156b3af25 (patch) | |
tree | 77b912f748ee292cde094cfca511cc3e20da8787 /manifests/tlspolicy_snippet.pp | |
parent | 2c86670a9233ee62d16b16730218994a1fe7eb9b (diff) | |
download | puppet-postfix-985ec1fe0aee848b3d45e9f8accf6ff156b3af25.tar.gz puppet-postfix-985ec1fe0aee848b3d45e9f8accf6ff156b3af25.tar.bz2 |
Use the concat module instead of the concatenated_file defined (Closes: #4074)
Diffstat (limited to 'manifests/tlspolicy_snippet.pp')
-rw-r--r-- | manifests/tlspolicy_snippet.pp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/manifests/tlspolicy_snippet.pp b/manifests/tlspolicy_snippet.pp index 2596dbc..8f1c376 100644 --- a/manifests/tlspolicy_snippet.pp +++ b/manifests/tlspolicy_snippet.pp @@ -35,13 +35,10 @@ define postfix::tlspolicy_snippet ($ensure="present", $value = false) { fail("The value parameter must be set when using the postfix::tlspolicy_snippet define with ensure=present.") } - file { "${postfix::tlspolicy::postfix_tlspolicy_snippets_dir}/${name}": + concat::fragment { "postfix_tlspolicy_${name}": ensure => "$ensure", content => "${name} ${value}\n", - mode => 600, - owner => root, - group => 0, - notify => Exec["concat_${postfix::tlspolicy::postfix_merged_tlspolicy}"], + target => "$postfix::tlspolicy::postfix_merged_tlspolicy", } } |