Thanks for your reply. I made some changes according to your feedback,
but I'm still unable to copy files to the client. What else am I
missing again?
[r...@puppet ~]# cat /etc/puppet/manifests/site.pp
# site.pp
file { "/tmp/0910.txt":
source => "puppet://puppet.test.123.com/modules/configuration/
0910.txt"
}
[r...@puppet ~]# cat /etc/puppet/fileserver.conf
[configuration]
path /etc/puppet/manifests/configuration
allow *
[r...@puppet ~]# ls -lR /etc/puppet/manifests/configuration/
/etc/puppet/manifests/configuration/:
total 8
drw-r--r-- 2 root root 4096 Sep 10 09:51 files
/etc/puppet/manifests/configuration/files:
total 8
-rw-r--r-- 1 root root 4 Sep 10 09:51 0910.txt
[r...@node1 ~]# cat /etc/sysconfig/puppet
# The puppetmaster server
PUPPET_SERVER=192.168.6.13
# If you wish to specify the port to connect to do so here
PUPPET_PORT=8140
# Where to log to. Specify syslog to send log messages to the system
log.
PUPPET_LOG=/var/log/puppet/puppet.log
# You may specify other parameters to the puppet client here
#PUPPET_EXTRA_OPTS=--waitforcert=500
Both 8140:tcp and 8140:udp are open on both the client and the server.
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:8140
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:8140
The client and the server are rebooted as well.
Here's the error message:
err: //File[/tmp/0910.txt]: Failed to retrieve current state of
resource: Could not retrieve information from source(s)
puppet://puppet.test.123.com/modules/configuration/0910.txt at /etc/
puppet/manifests/site.pp:4
--
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.