diff options
author | Chris Price <chris@puppetlabs.com> | 2012-10-20 22:16:36 -0700 |
---|---|---|
committer | Chris Price <chris@puppetlabs.com> | 2012-10-20 22:16:36 -0700 |
commit | e517148f4a2ab309aeb8413095791b021574b417 (patch) | |
tree | fcad74ef698333283af5f7740b0cfdb390da2395 | |
parent | 845fa707be7132e753f291901dd7e4d4dc48c405 (diff) | |
download | puppet-inifile-e517148f4a2ab309aeb8413095791b021574b417.tar.gz puppet-inifile-e517148f4a2ab309aeb8413095791b021574b417.tar.bz2 |
Add example for `ensure=absent`
-rw-r--r-- | tests/ini_setting.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ini_setting.pp b/tests/ini_setting.pp index 6fd7686..5e2f169 100644 --- a/tests/ini_setting.pp +++ b/tests/ini_setting.pp @@ -15,3 +15,11 @@ ini_setting { "sample setting2": ensure => present, require => Ini_setting["sample setting"], } + +ini_setting { "sample setting3": + path => '/tmp/foo.ini', + section => 'bar', + setting => 'bazsetting', + ensure => absent, + require => Ini_setting["sample setting2"], +} |