how to configure directory as environments?

asked 2018-12-18 08:49:18 -0600

Jagadeesh gravatar image

HI,

I am running puppet 6.0 on centos 7.5. In home folder I have app1_ver1 app2_ver1

etc...

puppet.conf

[master]

server = pmserver.mnj.net

[main] certname = pmserver.mnj.net server = pmserver.mnj.net pluginsync = true environment=test

I have create $confdir/environments/test/environment.conf

I have added module path as

modulepath= $confdir/../../../puppet/$environment/modules

but I am getting

Warning: You cannot interpolate $environment within 'modulepath' when using directory environments. Its value will remain

what am I missing?

edit retag flag offensive close merge delete