> [files]
> path /tmp/puppet
What is the structure under /tmp/puppet? I would expect to see /tmp/
puppet/files/0909.txt on the server. My understanding of how modules
are structured is that in each module directory you would have a
directory called "files" which contains the files you want to serve
up . For example in my "snmp" module I have the following
ls -1R snmp/
files
manifests
templates
snmp//files:
snmpd.conf
snmp//manifests:
init.pp
As you can see the file I am passing out is located at snmp/files/
snmpd.conf. Also the system logs of your client and server should
provide some further information which could be useful in discovering
the problem. Another thing to mention is that the puppet master needs
to be able to read the file's that are being requested from it so
double check the permissions.
Anyhoo hope this get's you moving in the right direction.
Derek.
>
> I also defined a resource in /etc/puppet/manifests/site.pp:
> file { "/etc/passwd":
> owner => "root",
> group => "bin",
> mode => 644,
>
> }
>
> file { "/tmp/0909.txt":
> source => "puppet://192.168.10.10/modules/files/0909.txt"
>
> }
>
> Then I ran the following command on a puppet client. The group of /etc/
> passwd on the client became bin, but I don't see /tmp/0909.txt on the
> client side. What am I missing here? Thanks.
> puppetd --onetime
--
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.