Re: [Puppet Users] Custom Facts using awk

2017-04-03 Thread warron.french
Wow is that a lot to take in. I simply need to learn Ruby to cut down on noise, or so it seems. Thanks Michael. -- Warron French On Thu, Mar 30, 2017 at 12:23 PM, Michael Watters wrote: > %x is a ruby method which captures command output. IMO you can do most of > wha

[Puppet Users] Webinar on Choria.io and NATS

2017-04-03 Thread Brian Flannery
Hi all..for those of you using Puppet 4, you may find the webinar we are doing later in the month with R.I. Pienaar on Choria (simplifies install/config of MCollective) interesting. Just thought I'd share; you can RSVP here: http://nats.io/blog/webinar-how-choria-significa

[Puppet Users] Re: puppet-archive

2017-04-03 Thread Ryan Vande
I think I know what you mean if c:\te_agent_8.4.2_en_windows_x86_64 oh nvm i get what your saying there is an msi inside the zip so I want it to creates = {dir}\flename.msi On Monday, April 3, 2017 at 10:53:44 AM UTC-5, Ryan Vande wrote: > > Can you explain further? > > As of now, if I dont manu

[Puppet Users] Re: puppet-archive

2017-04-03 Thread Luke Bigum
>From the docs at https://github.com/voxpupuli/puppet-archive#reference (Resources -> Archive section): creates: if file/directory exists, will not download/extract archive. If you've got a creates parameter with the value of ${windir} (which for you is C:\temp\) then the archive resource won

[Puppet Users] Re: puppet-archive

2017-04-03 Thread Ryan Vande
Can you explain further? As of now, if I dont manually create ${windir}/te_agent_8.4.2_en_windows_x86_64 which is actually c:\temp\te_agent_8.4.2_en_windows_x86_64 it blows up but creates never creates it otherwise If I manual create the directories, the puppet cycle goes without error but th

[Puppet Users] How to send console notice to notify email?

2017-04-03 Thread staceytian4321
Hi, I am using open source puppet 3.7.3 master and client. I would like to send the notice output of a manifest to email (I don't want to receive email about all manifests' notice, just this special manifest). In /etc/puppet/tagmail.conf: pkgNotSync_notice: myem...@hotmail.com Then I created

[Puppet Users] Re: puppet-archive

2017-04-03 Thread Luke Bigum
Actually no, it's going to need to be some file that's inside the ZIP archive, not the name of the ZIP archive itself. You get the idea though. On Monday, 3 April 2017 15:49:59 UTC+1, Luke Bigum wrote: > > > creates => $windir, > > > ^^^ I'm fairly certain that this resource won't run if

[Puppet Users] Re: puppet-archive

2017-04-03 Thread Luke Bigum
creates => $windir, ^^^ I'm fairly certain that this resource won't run if that file exists, which is most likely a directory (and does exist). I'd say it has to be this: creates => "${windir}/te_agent_8.4.2_en_windows_x86_64.zip" On Monday, 3 April 2017 15:42:56 UTC+1, Ry

[Puppet Users] puppet-archive

2017-04-03 Thread Ryan Vande
I posted this in slack puppet community, lets see if I can get more ideas here I have the following setup when puppet runs on the agent puppet node, no errors happen but nothing else happens either, have a look please Im using Puppet Archive for the following Puppetfile: mod 'puppet-archiv

Re: [Puppet Users] How to set noop = true in manifest for custom function?

2017-04-03 Thread staceytian4321
Hi Rob, Thank you for the reply. The missing comma is a type in the post. In my actual test, I had the comma. I figured out how to enable noop = true for my custom function. I edited my custom function from {:name => package, :ensure => "latest"} to {:name => package, :noop => true, :ensure =>

Re: [Puppet Users] Puppet 4 Certification

2017-04-03 Thread Martin Alfke
Hi, > On 03 Apr 2017, at 13:16, muhammadausafaliyou...@gmail.com wrote: > > Can anyone guide us on how to prepare for Puppet 4 Certification, like what > books, links etc to use. Moreover, please suggest materials excluding > Official training Materials but equal in caliber. Has anyone passed th

[Puppet Users] Puppet 4 Certification

2017-04-03 Thread muhammadausafaliyousaf
Can anyone guide us on how to prepare for Puppet 4 Certification, like what books, links etc to use. Moreover, please suggest materials excluding Official training Materials but equal in caliber. Has anyone passed the 4 exams yet? -- You received this message because you are subscribed to the