diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/defines/config_file.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/defines/config_file.pp b/manifests/defines/config_file.pp index e539c6d..6188ac4 100644 --- a/manifests/defines/config_file.pp +++ b/manifests/defines/config_file.pp @@ -27,8 +27,9 @@ # notify => Exec["reload-apache2"] # } -define config_file ($content) { +define config_file ($content, $ensure = 'present') { file { $name: + ensure => $ensure, content => $content, # keep old versions on the server backup => server, |