summaryrefslogtreecommitdiff
path: root/tests/ini_setting.pp
blob: 6fd7686118c90b103ef981ccd1d289c23256f609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"],
}