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

> I wasn't able to get this to run for only CentOS. I tried a few
> different things in the site.pp. I wish I could put a case statement

site.pp is a special file, it doesn't get evaluated on every run the same way 
that classes would get.

So variables like $operatingsystem can have an unpredictable value in some 
cases.  Best to move this logic to a class.


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