diff --git a/tests/ini_setting.pp b/tests/ini_setting.pp index 43045a7..279cb00 100644 --- a/tests/ini_setting.pp +++ b/tests/ini_setting.pp @@ -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'], } diff --git a/tests/ini_subsetting.pp b/tests/ini_subsetting.pp index d6f52e7..0458354 100644 --- a/tests/ini_subsetting.pp +++ b/tests/ini_subsetting.pp @@ -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', } - \ No newline at end of file