In one of my modules I have the following :

postfix/
           manifests/
                          conf.pp
                          conf/access-all.pp
(as well as the obligatory init.pp and a few others)

and the access-all.pp file contains:

class postfix::conf::access-all inherits postfix::conf {
$hosts = $all_hosts
$domains = $all_domains
$ips = $all_ips

@file {
postfix-access-file:
path => "/etc/postfix/access",
owner => root, group => root, mode => 0644,
content => template("postfix/templates/access.erb"),
notify => Exec[ hash-access]
}
exec {
hash-access:
path=>"/usr/bin:/usr/sbin:/usr/local/bin:/bin:/sbin",
cwd => "/etc/postfix",
command => "postmap access"
}
realize File[postfix-access-file]

}


and yet when I run puppetd on my configured host:

err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find class postfix::conf::access-all for
chicweb0.chi.sharkrivertech.com at
/etc/puppet/manifests/nodes/chicweb0.pp:2 on node
chicweb0.chi.sharkrivertech.com

Can anybody spot anything I'm fat fingering?


-- 
Peter L. Berghold
Owner, Shark River Technical Solutions LLC

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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