Skip to content

Commit d9c1e08

Browse files
committed
Use '$confdir/environments' as per the docs.
1 parent 9a3863e commit d9c1e08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)