[Puppet Users] using multiple EXECs

2016-04-21 Thread bapi . loya
Hi all, I am building this module which has rpm packages in it and execs commands. What is the best way to build this module.. does writing numerous execs is a good way to start with?? Im finding my way to work with puppet ... any help is greatly appreciated!! :) Thank You -- You received

[Puppet Users] Re: Getting augeas type to working on OS X

2016-04-21 Thread Amos Shapira
More updates found just after posting this (why do all the useful links appear only after posting questions, despite digging for them for hours before asking??): "Known Bugs" lists that ruby-augeas is broken (and another link mentions that it haven't been touched since 2013 and might be abandon

[Puppet Users] Getting augeas type to working on OS X

2016-04-21 Thread Amos Shapira
Hello, I'm working on automating of OS X vmware build using Puppet. I use Packer to build the base image (based on excellent work done in https://github.com/timsutton/osx-vm-templates) and take the opportunity to pre-install Puppet, Homebrew and gems used by Puppet itself like hiera, hiera-eya

[Puppet Users] how do I override this File resource

2016-04-21 Thread kdo
Hi all, i am trying to build a module to install Oracle server on Linux that utilises defined types in the module oradb::installdb.pp one of the checks in the oradb::installdb is this if ! defined(File["${download_dir}/db_install_${version}.rsp"]) so in order to override this file definition

Re: [Puppet Users] pdxcat-nrpe, hiera data in command

2016-04-21 Thread Garrett Honeycutt
On 4/21/16 3:09 PM, Ugo Bellavance wrote: > Hi, > > I want to create a nrpe command using the pdxcat-nrpe, for check_ntp. > My NTP servers would check against public servers, and all others will > check against my internal NTP servers. > > The code looks like that: > > nrpe::command { >

Re: [Puppet Users] pdxcat-nrpe, hiera data in command

2016-04-21 Thread Rob Nelson
You cannot automatically pass parameters to defines with hiera. But, if you put the nrpe::commands in a profile, you can do APL that way. I.e. class profile::something ( $ntpserver, ) { nrpe::command {'check_ntp': package_name => 'nagios-plugins-ntp', ensure => present, command =

Re: [Puppet Users] pdxcat-nrpe, hiera data in command

2016-04-21 Thread Ugo Bellavance
On Thursday, April 21, 2016 at 3:25:35 PM UTC-4, Rob Nelson wrote: > > Can you link directly to the module you're using, on the forge or on > github? Sorry... https://github.com/pdxcat/puppet-module-nrpe or https://forge.puppet.com/pdxcat/nrpe -- You received this message because you are sub

Re: [Puppet Users] pdxcat-nrpe, hiera data in command

2016-04-21 Thread Rob Nelson
Can you link directly to the module you're using, on the forge or on github? -- Rob Nelson rnels...@gmail.com -- 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] pdxcat-nrpe, hiera data in command

2016-04-21 Thread Ugo Bellavance
Hi, I want to create a nrpe command using the pdxcat-nrpe, for check_ntp. My NTP servers would check against public servers, and all others will check against my internal NTP servers. The code looks like that: nrpe::command { 'check_ntp': package_name => 'nagios-plugi

Re: [Puppet Users] puppetlabs-release not signed

2016-04-21 Thread Melissa Stone
It looks like the metadata didn't fully update the first time around. It's been updated now, and should work. Can I get some additional confirmation on that from someone? On Thu, Apr 21, 2016 at 3:19 AM Fabrice Bacchella < fabrice.bacche...@orange.fr> wrote: > And did you update the yum database

[Puppet Users] Re: Hiera Error 400 on SERVER: Could not find data item classes in any Hiera data file and no default supplied

2016-04-21 Thread Ugo Bellavance
On Thursday, April 21, 2016 at 9:03:29 AM UTC-4, jcbollinger wrote: > > > > On Wednesday, April 20, 2016 at 8:13:52 AM UTC-5, Ugo Bellavance wrote: >> >> >> >> On Wednesday, April 20, 2016 at 9:03:35 AM UTC-4, jcbollinger wrote: >>> >>> >>> >>> On Tuesday, April 19, 2016 at 12:36:47 PM UTC-5, Ugo

[Puppet Users] Re: Puppet MultiMaster open source

2016-04-21 Thread Ryan Anderson
This is possible, and it is not documented well. Different parts of getting it to work are in different sections of the online documentation. I got this working recently with these conditions: - One puppet server is the CA master as well as a normal compile master - Puppet masters exist at

[Puppet Users] Re: Hiera Error 400 on SERVER: Could not find data item classes in any Hiera data file and no default supplied

2016-04-21 Thread jcbollinger
On Wednesday, April 20, 2016 at 8:13:52 AM UTC-5, Ugo Bellavance wrote: > > > > On Wednesday, April 20, 2016 at 9:03:35 AM UTC-4, jcbollinger wrote: >> >> >> >> On Tuesday, April 19, 2016 at 12:36:47 PM UTC-5, Ugo Bellavance wrote: >> >> This: >> >> >>> When debugging on the master: >>> >>> # p

Re: [Puppet Users] Re: Puppet on windows ignoring puppet.conf

2016-04-21 Thread Mattis Haase
Ah, ok. Program Data != Program Files. I use german Windows so I didn't realize the difference right away. Thanks for the quick response. On Tuesday, April 19, 2016 at 7:26:52 PM UTC+2, Josh Cooper wrote: > > > > On Tue, Apr 19, 2016 at 7:56 AM, Mike Sharpton > wrote: > >> Note sure if they c

Re: [Puppet Users] puppetlabs-release not signed

2016-04-21 Thread Fabrice Bacchella
And did you update the yum database after that ? I'm getting strange results. > Le 20 avr. 2016 à 16:55, Melissa Stone a écrit : > > Thanks for reporting this, everyone. I've fixed the packages on > yum.puppetlabs.com , and I'll start investigating > apt.puppetlabs.