Hi all,
Haven't set puppet up for awhile and have an issue with getting files
served.
I'm running 2.6 gem on fedora12.
class sshd {
<package info>
file { "/tmp/that.txt":
source => "puppet://server/modules/sshd/files/that.txt",
ensure => present,
mode => 600,
owner => root,
group => root,
}
}
fileserver.conf
[modules]
allow *
[sshd]
path /etc/puppet/modules/sshd/files
allow *.hitwise.com
I can stop the ssh service on the client and puppet restarts it, but
the file will not be sync'd to the client.
/usr/bin/puppetd --no-daemonize --waitforcert 60 --server au-mel-
master-1.blah.com --verbose --test --fqdn hitw-gc-xen-1.gdn.blah.com --
debug
debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/
chkconfig sshd'
debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
yaml; using pson
err: /Stage[main]/Sshd/File[/tmp/that.txt]: Could not evaluate:
getaddrinfo: Name or service not known Could not retrieve file
metadata for puppet://server/modules/sshd/files/tmp/that.txt:
getaddrinfo: Name or service not known at /etc/puppet/modules/sshd/
manifests/init.pp:29
I'm using /etc/hosts files while I test this scenario, but the puppet
master is correctly configured in dns.
What have I done wrong?
Cheers
Denmat
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.