What commands are there to collect system information and convert it
into puppet resources?

We have a lot of systems that were not initially configured with
puppet and we would like to gather information about those systems as
puppet resources.   I have been generating resource information using
'pupppet resource ...' and that has been working reasonably well.  For
example, 'puppet resource user' generates resources for all users on
the system.  If I want just one user, I can specify that user's name,
e.g. 'puppet resource user foo'.  Same goes for types group, mount,
package, and a few other types.

But that pattern doesn't work for all resource types or options.  For
example, 'puppet resource ssh_authorized_key' doesn't output anything.
The 'cron' type asks for a Title.  'interface' errors that it could
not find a type 'interface'.  And although 'package' lists all
packages using the default package manager, it's not immediately
apparent how to generate resources for all gems, e.g. 'puppet resource
package provider=gem' does not list gems.

Is 'puppet resource ...' the "best practice" way to generate resource
information or are there other tools more suited?  Or are there
options or environment variables that are not immediately apparent?

Still reading through the docs, but any pointers in the right
direction gladly accepted.

Regards,
- Robert

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to