I am trying to serve some files though Puppet. I have configured
fileserver.conf on the Puppet master:
# Configuration
[configuration]
path /etc/puppet/manifests/files/configuration/%H
# Modules
[modules]
allow *.example.co.uk
I know I need to configure the client to look for the files. I have read
the docs and I have come up with the following snippet to retrieve a
test file:
file { "/home/newlook/text.jck":
mode => 400,
owner => root,
group => root,
source => puppet:////etc/puppet/manifests/files/configuration \
/host/test.jck
}
Where host is the FQDN of the client.
Where does this little snippet need to go on the client? Does it get a
section in puppet.conf? Do I need a fileserver.conf file on the client
with this in it?
Any help would be appreciated.
--
John Kennedy
--
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.