Hi List,

Is there a puppet command to find out what modules are available for use or
at least a module to return a boolean value if you pass it a module name
you wish to use?

I am looking to do something like:

if is_module_available(stdlib) {
  # Use stdlib capability
}
else {
  # Use my own version
}

Thanks,

Peter

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to