Skip to content

Commit a2144c9

Browse files
committed
Fix more rspec tests
1 parent df017fc commit a2144c9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

spec/classes/puppet_master_spec.rb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@
7878
)
7979
should contain_ini_setting('puppetmasterenvironmentpath').with(
8080
:ensure => 'absent',
81-
:setting => 'environmentpath',
82-
:section => 'main'
81+
:setting => 'environmentpath'
8382
)
8483
should contain_ini_setting('puppetmastermodulepath').with(
8584
:ensure => 'present',
@@ -147,7 +146,7 @@
147146
)
148147
should contain_ini_setting('puppetmasterpluginsync').with(
149148
:ensure => 'present',
150-
:section => 'master',
149+
:section => 'agent',
151150
:setting => 'pluginsync',
152151
:path => '/etc/puppet/puppet.conf',
153152
:value => 'true'
@@ -244,7 +243,7 @@
244243
)
245244
should contain_ini_setting('puppetmastermodulepath').with(
246245
:ensure => 'present',
247-
:section => 'master',
246+
:section => 'main',
248247
:setting => 'modulepath',
249248
:path => '/etc/puppet/puppet.conf',
250249
:value => params[:modulepath],
@@ -308,7 +307,7 @@
308307
)
309308
should contain_ini_setting('puppetmasterpluginsync').with(
310309
:ensure => 'present',
311-
:section => 'master',
310+
:section => 'agent',
312311
:setting => 'pluginsync',
313312
:path => '/etc/puppet/puppet.conf',
314313
:value => 'true'
@@ -343,7 +342,7 @@
343342
it {
344343
should contain_ini_setting('puppetmasterenvironmentpath').with(
345344
:ensure => 'present',
346-
:section => 'master',
345+
:section => 'main',
347346
:setting => 'environmentpath',
348347
:path => '/etc/puppet/puppet.conf',
349348
:value => '$confdir/environments'
@@ -376,7 +375,7 @@
376375
it {
377376
should contain_ini_setting('puppetmasterenvironmentpath').with(
378377
:ensure => 'present',
379-
:section => 'master',
378+
:section => 'main',
380379
:setting => 'environmentpath',
381380
:path => '/etc/puppet/puppet.conf',
382381
:value => '/etc/puppetlabs/puppet/environments'

0 commit comments

Comments
 (0)