On 16/12/10 01:48, Dmytro Bablinyuk wrote: > Hi Everybody, > > I am sure that I am missing something very obvious, > > I have installed rsync package > > git clone https://github.com/camptocamp/puppet-rsyncd.git rsync > > The path > > r...@puppet-master:/etc/puppet/modules/rsync/manifests/classes# ls -l > total 4 > -rw-r--r-- 1 root root 1078 2010-12-16 09:54 rsyncd.pp > > The manifest file > > package { ["rsync", "xinetd"]: ensure => present } > service { "xinetd": ensure => running } > > include rsyncd > > rsyncd::export { "etc": > path => "/etc", > chroot => true, > gid => "staff", > allow => ["172.16.50.4", "172.16.41.10"], > } > > I have error on the client > > r...@puppet-client-ubuntu:~# puppetd --test > info: Retrieving plugin > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not find class rsyncd at /etc/puppet/manifests/site.pp: > 33 on node puppet-client-ubuntu.harbour > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > How do I specify path to the rsyncd class?
The "include rsyncd" line causes Puppet to look for /etc/puppet/modules/rsyncd/manifests/init.pp which you don't have. Try renaming the rsync checkout folder to rsyncd. Dan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.