That github link doesn't work for me so don't know the internals of
this module, but if the module is called "rsync", as indicated by this
module path: /etc/puppet/modules/rsync/, then any sub classes of that
should be in the rsync namespace... Are you sure it's not supposed to
be rsync::rsyncd?

A base class called 'rsyncd' would mean there'd be a module etc/puppet/
modules/rsync/rsyncd/, not a "rsyncd.pp" under the rsync module...
What you've shown of this module's structure looks quite strange to
me.

On Dec 16, 1:48 am, Dmytro Bablinyuk <bablin...@gmail.com> wrote:
> Hi Everybody,
>
> I am sure that I am missing something very obvious,
>
> I have installed rsync package
>
> git clonehttps://github.com/camptocamp/puppet-rsyncd.gitrsync
>
> 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?
>
> Thank you
> Dmytro

-- 
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.

Reply via email to