Hi
I am a newbie to puppet.  I have tried an initial config serving a
simple file & dir from the puppetmaster, but the client will not
mount.  What obvious mistake am I making, I wonder?  puppetmaster is a
DNS alias for osiris3.
Config files:
[r...@osiris3 puppet]# cat fileserver.conf
[config]
path /data/puppet/manifests/files
allow *.pinnacle.co.uk

[r...@osiris3 puppet]# cat puppet.conf
[main]
    server = puppetmaster.domain.co.uk
    confdir = /data/puppet
#    storeconfigs = true
#    pluginsync = true
        pluginsync=false
[puppetmasterd]
        certname=puppetmaster.pinnacle.co.uk

[r...@osiris3 classes]# cat baseapps.pp
class baseapps {
        $packagelist = ["ntp","perl"]
        package {  $packagelist:
                ensure => installed }
}
[r...@osiris3 classes]# cat ntp.pp
   class ntp {
        service { "ntpd":
        ensure => running,
   #            require => Package["ntp"],
   }

        file { "/etc/ntp":
        path => "/etc/ntp",
        source => "puppet://puppetmaster.pinnacle.co.uk/config/ntp/ntp",
        ensure => directory,
        recurse => true,
        owner => "root",
        group => "root",
        mode => 755,
   }

        file  { "/etc/ntp.conf":
        source => "puppet://puppetmaster.pinnacle.co.uk/config/ntp/ntp.conf",
        ensure => present,
        owner => "root",
        group => "root",
        mode => 644,
   }
}


running puppetd on a client gives:

r...@pblackaller:~#  puppetd --server puppetmaster.pinnacle.co.uk --
verbose --test --debug --waitforcert --60
debug: Creating default schedules
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /Settings[top]/Settings[main]/File[/var/puppet/log]:
Autorequiring File[/var/puppet]
debug: /Settings[top]/Settings[main]/File[/var/puppet/run]:
Autorequiring File[/var/puppet]
debug: /Settings[top]/Settings[puppetd]/File[/var/puppet/state/
classes.txt]: Autorequiring File[/var/puppet/state]
debug: /Settings[top]/Settings[ssl]/File[/etc/puppet/ssl/public_keys/
pblackaller.pinnacle.co.uk.pem]: Autorequiring File[/etc/puppet/ssl/
public_keys]
debug: /Settings[top]/Settings[ssl]/File[/etc/puppet/ssl/private]:
Autorequiring File[/etc/puppet/ssl]
debug: /Settings[top]/Settings[ssl]/File[/etc/puppet/ssl/certs/
ca.pem]: Autorequiring File[/etc/puppet/ssl/certs]
debug: /Settings[top]/Settings[ssl]/File[/etc/puppet/ssl/public_keys]:
Autorequiring File[/etc/puppet/ssl]
debug: /Settings[top]/Settings[puppetd]/File[/var/puppet/state/
state.yaml]: Autorequiring File[/var/puppet/state]
debug: /Settings[top]/Settings[main]/File[/etc/puppet/ssl]:
Autorequiring File[/etc/puppet]
debug: /Settings[top]/Settings[ssl]/File[/etc/puppet/ssl/
private_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /Settings[top]/Settings[main]/File[/var/puppet/lib]:
Autorequiring File[/var/puppet]
debug: /Settings[top]/Settings[main]/File[/var/puppet/state]:
Autorequiring File[/var/puppet]
debug: /Settings[top]/Settings[ssl]/File[/etc/puppet/ssl/private_keys/
pblackaller.pinnacle.co.uk.pem]: Autorequiring File[/etc/puppet/ssl/
private_keys]
debug: /Settings[top]/Settings[ssl]/File[/etc/puppet/ssl/
csr_pblackaller.pinnacle.co.uk.pem]: Autorequiring File[/etc/puppet/
ssl]
debug: /Settings[top]/Settings[ssl]/File[/etc/puppet/ssl/certs]:
Autorequiring File[/etc/puppet/ssl]
debug: /Settings[top]/Settings[ssl]/File[/etc/puppet/ssl/certs/
pblackaller.pinnacle.co.uk.pem]: Autorequiring File[/etc/puppet/ssl/
certs]
debug: Finishing transaction -609329548 with 0 changes
debug: Loaded state in 0.04 seconds
debug: Retrieved facts in 0.67 seconds
debug: Retrieving catalog
debug: Calling puppetmaster.getconfig
debug: Retrieved catalog in 5.17 seconds
debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update
does not exist
debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl
does not exist
debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not
exist
debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc
does not exist
debug: Puppet::Network::Client::File: defining fileserver.describe
debug: Puppet::Network::Client::File: defining fileserver.list
debug: Puppet::Network::Client::File: defining fileserver.retrieve
debug: Creating default schedules
debug: Finishing transaction -610276478 with 0 changes
info: Caching catalog at /var/puppet/state/localconfig.yaml
notice: Starting catalog run
debug: Loaded state in 0.00 seconds
debug: Calling fileserver.describe
err: //Node[basenode]/ntp/File[/etc/ntp.conf]: Failed to retrieve
current state of resource: Fileserver module 'config' not mounted
Could not describe /config/ntp/ntp.conf: Fileserver module 'config'
not mounted at /data/puppet/manifests/classes/ntp.pp:23
debug: Calling fileserver.list
err: //Node[basenode]/ntp/File[/etc/ntp]: Failed to generate
additional resources during transaction: Fileserver module 'config'
not mounted
debug: //Node[basenode]/ntp/File[/etc/ntp]: File does not exist
debug: Calling fileserver.describe
err: //Node[basenode]/ntp/File[/etc/ntp]: Failed to retrieve current
state of resource: Fileserver module 'config' not mounted Could not
describe /config/ntp/ntp: Fileserver module 'config' not mounted at /
data/puppet/manifests/classes/ntp.pp:15
debug: Service[ntpd](provider=debian): Executing 'ps -ef'
debug: Service[ntpd](provider=debian): PID is 5455
debug: Finishing transaction -610301518 with 0 changes
debug: Storing state
debug: Stored state in 0.04 seconds
notice: Finished catalog run in 15.63 seconds
r...@pblackaller:~# vi /var/puppet/state/localconfig.yaml


I just need a pointer as to the config mistake I must have made.
Appreciate any help given

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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