----- "Douglas Garstang" <doug.garst...@gmail.com> wrote:

> Apr 26 09:58:15 s_...@app09.fr.xxx.com puppetd[12785]: Could not
> retrieve catalog: Syntax error at '::CentOS' at
> /etc/puppet/modules/opsys/manifests/init.pp:1 on node
> app09.fr.xxx.com
> 
> where the include has:
> 
> include "opsys::${operatingsystem}"
> 
> and the module opsys has at line in init.pp:
> 
> class opsys::CentOS {
> }
> 

right, classes cant have Caps as the first char (or maybe even anywhere? not 
sure).

anyway, you'd probably need to look at a case statement then that includes 
opsys::centos for $operatingsystem == CentOS and similar for your other 
operating systems. :(

puppet really needs a downcase function.

-- 
R.I.Pienaar

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