diff options
author | root <root@puppetmaster.black.co.at> | 2007-10-09 10:55:09 +0200 |
---|---|---|
committer | root <root@puppetmaster.black.co.at> | 2007-10-09 10:55:09 +0200 |
commit | 5f261926e3fd21394d089a6733c8444253cc2d51 (patch) | |
tree | e1c3ff606a12fbbf348d5389bcd9bca84d20018e /manifests | |
parent | f239916afcbc30602198f0f38bd8a607d9306448 (diff) | |
download | puppet-common-5f261926e3fd21394d089a6733c8444253cc2d51.tar.gz puppet-common-5f261926e3fd21394d089a6733c8444253cc2d51.tar.bz2 |
common: trivial passthrough for ensure
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, |