Dear all, I would like to find out if a files is managed by puppet. To do that I tried the puppet-ls script. But I get the error: ./puppet-ls grep: /var/lib/puppet/client_data/catalog/*.yaml: No such file or directory In the head of the script I can read "# tested on 0.25". It is the latest version I could download. Does somebody use this script with puppet 3.x? Is there an other method? Best regards Andreas -- 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+unsubscribe@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. For more options, visit https://groups.google.com/groups/opt_out.
You could try the newer module designed to do the same thing. It was written as a puppet face about 6 months ago https://github.com/dalen/puppetls Steven Date: Fri, 23 Aug 2013 01:42:11 -0700 From: andreas.dvorak@googlemail.com To: puppet-users@googlegroups.com Subject: [Puppet Users] puppet-ls with Puppet 3.2 Dear all, I would like to find out if a files is managed by puppet. To do that I tried the puppet-ls script. But I get the error: ./puppet-ls grep: /var/lib/puppet/client_data/catalog/*.yaml: No such file or directory In the head of the script I can read "# tested on 0.25". It is the latest version I could download. Does somebody use this script with puppet 3.x? Is there an other method? Best regards Andreas -- 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+unsubscribe@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. For more options, visit https://groups.google.com/groups/opt_out. -- 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+unsubscribe@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. For more options, visit https://groups.google.com/groups/opt_out.
> > Hi Steven, >thank you for the link. That works a little. puppet ls /etc motd declared in /etc/puppet/git/modules/motd/manifests/init.pp:12 content from a "content" parameter sudoers declared in /etc/puppet/git/modules/sudoers/manifests/init.pp:10 content from a "content" parameter but puppet ls -r /etc Error: Could not parse application options: invalid option: -r puppet ls --recursive /etc Error: Could not parse application options: invalid option: --recursive puppet ls /etc/puppet Error: private method `split'' called for nil:NilClass Error: Try ''puppet help ls list'' for usage puppet help ls list USAGE: puppet ls [--recursive | -r] [--terminus] [<path>] I hope the scripts will be updated soon. Best regards, Andreas -- 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+unsubscribe@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. For more options, visit https://groups.google.com/groups/opt_out.
> > Hi, >the usage needs to be like this puppet ls [-r] [<path>] and not like mentioned in the help Bye Andreas -- 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+unsubscribe@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. For more options, visit https://groups.google.com/groups/opt_out.
Apparently Analagous Threads
- checking puppet run status of node A during puppet run of node B
- Puppet/Nagios/PuppetDB slow performance
- Modules doesn't work from puppet agent.
- Puppetdbquery 1.1.0, now featuring hiera backendception
- hiera_array, structured data and multiple levels of hierarchy