client and server run 0.25.5

I think our problem is the missing section [puppetmasterd] within our
puppet.conf on our puppet server.
I´ve added the section with all stuff (including storeconfigs = false)
and reloaded all puppetmaster instances.

but after that I´ll get the following error on my clients:
[r...@clientxxx puppet]# clear; /usr/sbin/puppetd --test --verbose
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
resource: Could not retrieve information from source(s)
puppet://puppetB.example.com/plugins
.....
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find class hostsfile at /etc/puppet/manifests/
site.pp:10 on node

seems that puppet tries to use plugindest, which defaults to libdir,
which is $vardir/lib (empty folder)
(the fileserver mount plugins is in our fileserver.conf). Next he
tries to load the first module within site.pp,
which fails. Somehow he cannot determine the modulepath = /var/lib/
puppet/modules  ??!?


client puppet.conf
[main]
    vardir = /var/lib/puppet
    logdir = /var/log/puppet
    rundir = /var/run/puppet
    ssldir = $vardir/ssl
    factpath = $vardir/lib/facter/
    factdest = $vardir/lib/facter/
    modulepath = /var/lib/puppet/modules
    pluginsync = true
    #preferred_serialization_format = yaml
[puppetd]
    classfile = $vardir/classes.txt
    localconfig = $vardir/localconfig
    server = puppetB.example.com
    runinterval = 1200
    report = true
    summarize = true


server: puppet.conf
[puppetmasterd]
    reports = false
    logdest=syslog
    confdir = /etc/puppet
    modulepath = /var/lib/puppet/modules
    manifestdir = /etc/puppet/manifests
    storeconfigs = false
    rest_authconfig = /etc/puppet/auth.conf
    yamldir = /var/lib/puppet/yaml
    fileserverconfig = /etc/puppet/fileserver.conf
    masterlog = /var/log/puppet/puppetmaster.log
    libdir = /var/lib/puppet/lib
    plugindest = /var/lib/puppet/modules
    thin_storeconfigs = false
    factsource = puppet://puppetB.example.com/facts/
    certdir = /var/lib/puppet/ssl/certs
    pluginsource = puppet://puppetB.example.com/plugins
    #factpath = /var/lib/puppet/facts/
    factsync = true
    vardir = /var/lib/puppet
    rundir = /var/run/puppet
    ssldir = /var/lib/puppet/ssl
    logdir = /var/log/puppet
    templatedir = /var/lib/puppet/templates
    certname = puppetB.example.com
    certdnsname = puppetB.example.com
    bind = 4.4.4.4




-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to