[Puppet Users] Could not find class

Dmytro Bablinyuk
2010-12-16T01:48:47Z

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

root@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

root@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