Skip to content

Commit 0c15ebc

Browse files
Merge pull request #66 from razorsedge/puppetmasterenvironmentpath
Puppetmasterenvironmentpath
2 parents 9a3863e + 46e7175 commit 0c15ebc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manifests/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
$digest_algorithm = 'md5'
3434

3535
# Only used when environments == directory
36-
$environmentpath = "${confdir}/environments"
36+
$environmentpath = '$confdir/environments'
3737

3838
case $::osfamily {
3939
'RedHat': {

spec/classes/puppet_master_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
:gid => nil
203203
)
204204
should contain_package(params[:puppet_master_package]).with(
205-
:ensure => params[:version],
205+
:ensure => params[:version]
206206
)
207207
should_not contain_package('puppetmaster-common').with(
208208
:ensure => params[:version]
@@ -345,7 +345,7 @@
345345
:section => 'master',
346346
:setting => 'environmentpath',
347347
:path => '/etc/puppet/puppet.conf',
348-
:value => '/etc/puppet/environments'
348+
:value => '$confdir/environments'
349349
)
350350
should contain_ini_setting('puppetmastermodulepath').with(
351351
:ensure => 'absent',

0 commit comments

Comments
 (0)