> The first poster said he would include os::centos in his module. What
> happens if the module might be running on either CentOS or Ubuntu? I
> don't think 'include os::centos' will work so great on an Ubuntu
> system. How do you make it dynamic?
>

By using the $operatingsystem variable in the include.  You can  make an
empty os::ubuntu class in a couple of lines if you have no resources to
declare.
-- 
The First Poster
Software Build and Deployment
http://www.build-doctor.com
http://twitter.com/builddoctor

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