The $::operatingsystem fact may be what you''re looking for.
Alternatively take a look at $::kernel. One of these combined with an
if or case statement should allow you to do whatever you need to by
OS.
On Tue, Dec 20, 2011 at 10:47 AM, Stuart Cracraft <smcracraft@me.com>
wrote:> anyone know how, in puppet, you would include a file only on a specific
> operating system?
>
> --
> 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+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.