Style fixes

This commit is contained in:
Erik Dalén 2013-04-10 14:57:39 +02:00
parent fa74951ffe
commit c4af8c31d2
2 changed files with 29 additions and 30 deletions

View file

@ -1,25 +1,25 @@
ini_setting { "sample setting":
ini_setting { 'sample setting':
ensure => present,
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 setting2':
ensure => present,
path => '/tmp/foo.ini',
section => 'bar',
setting => 'barsetting',
value => 'BAR!',
key_val_separator => '=',
require => Ini_setting['sample setting'],
}
ini_setting { "sample setting3":
path => '/tmp/foo.ini',
section => 'bar',
setting => 'bazsetting',
ensure => absent,
require => Ini_setting["sample setting2"],
ini_setting { 'sample setting3':
ensure => absent,
path => '/tmp/foo.ini',
section => 'bar',
setting => 'bazsetting',
require => Ini_setting['sample setting2'],
}

View file

@ -1,19 +1,18 @@
ini_subsetting {'sample subsetting':
ensure => present,
section => '',
ini_subsetting { 'sample subsetting':
ensure => present,
section => '',
key_val_separator => '=',
path => '/etc/default/pe-puppetdb',
setting => 'JAVA_ARGS',
subsetting => '-Xmx',
value => '512m',
path => '/etc/default/pe-puppetdb',
setting => 'JAVA_ARGS',
subsetting => '-Xmx',
value => '512m',
}
ini_subsetting {'sample subsetting2':
ensure => absent,
section => '',
ini_subsetting { 'sample subsetting2':
ensure => absent,
section => '',
key_val_separator => '=',
path => '/etc/default/pe-puppetdb',
setting => 'JAVA_ARGS',
subsetting => '-Xms',
path => '/etc/default/pe-puppetdb',
setting => 'JAVA_ARGS',
subsetting => '-Xms',
}