25 satır
692 B
Puppet
25 satır
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_value_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"],
|
|
}
|