Ask Your Question
1

Setting modulepath is deprecated

asked 2014-05-21 06:49:05 -0500

Abdul gravatar image

updated 2014-05-22 20:36:20 -0500

Hi

I need few help if possible, as after setting up puppetmaster & puppetdashboard on a single node I am receiving the below error:-

root@dc4-pvm-lnxp-01:~# puppet config print modulepath manifest config_version --environment prod
Warning: Setting modulepath is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1067:in `each')
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1071:in `each')
Warning: Setting manifestdir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1071:in `each')
modulepath = /data/puppet/modules
manifest = /data/puppet/manifests/site.pp
config_version =

Is there anything that I can modify to resolve the issue.

Best regards, Abdul

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-05-22 20:34:50 -0500

On puppet 3.6.0 updated any use of the modulepath, manifest, and config_version settings in puppet.conf is deprecated. This also means that using no environments is deprecated , you can check this out on release notes.

http://docs.puppetlabs.com/puppet/3.6...

and here is how to enable directory environments.

http://docs.puppetlabs.com/puppet/3.6...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-05-21 06:49:05 -0500

Seen: 6,750 times

Last updated: May 22 '14