Don't push incoming to klecker
[mirror/dsa-puppet.git] / 3rdparty / modules / inifile / tests / ini_setting.pp
1 ini_setting { 'sample setting':
2   ensure  => present,
3   path    => '/tmp/foo.ini',
4   section => 'foo',
5   setting => 'foosetting',
6   value   => 'FOO!',
7 }
8
9 ini_setting { 'sample setting2':
10   ensure            => present,
11   path              => '/tmp/foo.ini',
12   section           => 'bar',
13   setting           => 'barsetting',
14   value             => 'BAR!',
15   key_val_separator => '=',
16   require           => Ini_setting['sample setting'],
17 }
18
19 ini_setting { 'sample setting3':
20   ensure  => absent,
21   path    => '/tmp/foo.ini',
22   section => 'bar',
23   setting => 'bazsetting',
24   require => Ini_setting['sample setting2'],
25 }