When I'm installing some package using puppet, let's say

package { "xxx":
     ensure => present,
            }

How do I include if it is running yum install, or apt-get when I'm pushing 
this module on os level? 

I want to have output like,

using yum install xx or something like that if it is running on rhel boxes, 
I couldn't make it work? Any ideas? Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/0127f518-1681-47b8-aadb-30fa82bccf6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to