Setting modulepath is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')

69 views
Skip to first unread message

Spriya

unread,
Sep 3, 2014, 2:42:22 PM9/3/14
to puppet...@googlegroups.com

Hi,

I am having this error in my puppet master:

Setting modulepath is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
   (at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')



here is my puppet.conf

[master]
   server = hostname
   dns_alt_names = hostname
   ca_name = 'Puppet CA generated on hostname at 2014-09-02'
   autosign = true
   reports  = store,http
   reporturl = http://hostname:3000/reports/upload
   node_terminus = exec
  # modulepath   = /etc/puppet/environments/modules
  # manifests    = /etc/puppet/environments/manifests
   external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://hostname:3000/usr/share/puppet-dashboard/external_node
  # storeconfigs_backend = puppetdb
   storeconfigs = true
   #environment = production
[main]
    # The Puppet log directory.
    # The default value is '$vardir/log'.
    logdir = /var/log/puppet

    # Where Puppet PID files are kept.
    # The default value is '$vardir/run'.
    rundir = /var/run/puppet
    modulepath = /etc/puppet/environments/modules:/usr/share/puppet/modules
    # Where SSL certificates are kept.
    # The default value is '$confdir/ssl'.
    ssldir = $vardir/ssl
    user = puppet
    group = puppet
    archive_files = true
    archive_file_server = hostname
[agent]
    # The file in which puppetd stores a list of the classes
    # associated with the retrieved configuratiion.  Can be loaded in
    # the separate ``puppet`` executable using the ``--loadclasses``
    # option.
    # The default value is '$confdir/classes.txt'.
    classfile = $vardir/classes.txt
    server    = hostname
    # Where puppetd caches the local configuration.  An
    # extension indicating the cache format is added automatically.
    # The default value is '$confdir/localconfig'.
    localconfig = $vardir/localconfig
     pluginsync = true
     graph      = true



Let me know

Reply all
Reply to author
Forward
0 new messages