Re: [Puppet Users] After mcollective update agent does not work anymore
pr0cess is installed. The older mcollective works fine with that location. >rpm -ql ruby-pr0cess /usr/lib/ruby/site_ruby/1.8 /usr/lib64/ruby/site_ruby/1.8/x86_64-linux /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/pr0cess.so Do you know how to configure the location to the file or should I be it to an other place? -- 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/d7dff8b8-486b-4fc7-8afe-87027fbbf30a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] After mcollective update agent does not work anymore
On Fri, Oct 20, 2017, at 14:22, Andreas Dvorak wrote: > pr0cess is installed. The older mcollective works fine with that > location. > > >rpm -ql ruby-pr0cess > /usr/lib/ruby/site_ruby/1.8 > /usr/lib64/ruby/site_ruby/1.8/x86_64-linux > /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/pr0cess.so > > Do you know how to configure the location to the file or should I be it > to > an other place? It depends on your ruby that is running mcollective, find the exact path to the ruby binary and run: ruby -e 'p $:' and see if the place this file is matches where its looking, you can also just try: ruby -r pr0cess -e 'puts "hello"' but be sure to use the same ruby path mcollective use -- R.I.Pienaar / www.devco.net / @ripienaar -- 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/1508503547.2659406.1145350280.46A7BC15%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Puppet Bolt 0.6.0 released!
Bolt 0.6.0 is released! This is a feature release of the open-source task runner, which includes: - the ability to read a newline-separated list of nodes from a file using '--nodes @file.txt' or from stdin via '--nodes -' - prompting for a password securely rather than requiring it on the command line, if you use the '-p' flag with no argument - thanks to Diana Zvulun @deezx for contributing this! - Bolt now applies command line options, such as --user, --when executing a plan with bolt run plan. Additionally, a security-related bug was fixed where previously Bolt would did not securely verify keys for hosts it had not connected to before. Complete release notes and more info about bolt: https://puppet.com/docs/bolt/0.x/bolt_overview.html --eric0 Eric Sorenson - e...@puppet.com director of product, ecosystem and platform -- 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/71CB9F3D-562E-4CF5-9CD0-17885A2E50FE%40puppet.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: Creating a PowerShell based fact to get Drive Letters and Labels
hmmm... thanks for the suggestion, I wrote something, but I may give that a try. On Tuesday, October 17, 2017 at 4:22:20 PM UTC-5, Ryan Murphy wrote: > > So I have the following powershell command that gives me the data I want, > but I'm not sure how I can get Puppet to ingest it as a fact. > > Get-WMIObject Win32_Volume | Where-Object {$_.DriveType -eq "3" -and > $_.Label -ne "System Reserved" } | select Name, Label > > The Output looks like this. > Name > Label > > - > E:\ > EVol > D:\ > DVol > C:\ > > I wanted to get the Drive letters and labels in to a single fact in Puppet > so that I could build Nagios disk checks off of them, But I'm not sure how > to get the output to a format that Puppet will like. > > Any powershell / puppet fact outputs out there able to help? > -- 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/270db899-4eb7-4c83-a8e9-31897363b632%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.