module-inifile/tests/ini_setting.pp
2013-02-05 08:26:18 +00:00

25 lines
692 B
Puppet

ini_setting { "sample setting":
path => '/tmp/foo.ini',
section => 'foo',
setting => 'foosetting',
value => 'FOO!',
ensure => present,
}
ini_setting { "sample setting2":
path => '/tmp/foo.ini',
section => 'bar',
setting => 'barsetting',
value => 'BAR!',
key_val_separator => '=',
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"],
}