On Mar 12, 2009, at 12:50 PM, Rene wrote: > > Hi > > Is it possible to get a file list, that are managed / edited by > puppet, do I have to parse the yaml file on the client manualy and > look for file entries?
You should be able to write a small chunk of ruby that loads the yaml: catalog = YAML.load_file(...yaml...).to_catalog files = catalog.vertices.find_all { |r| r.class == Puppet::Type::File } -- The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. -- Joe Martin --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---