[Puppet Users] why doesn't 'Package <| provider == "apt" |>' work for me?

2015-03-10 Thread Amos Shapira
Hi, I'm running into the common issue of having to force an "apt-get update" before installing packages (in my case - because the base EC2 AMI is old and I need it to pick newer package versions). I ended up doing the usual: exec { 'apt-get update': path => '/usr/bin/', } -> Package <|

Re: [Puppet Users] Node key merging/overloading - node inheritance vs hiera

2015-03-10 Thread Bostjan Skufca
On Monday, 9 March 2015 14:45:38 UTC+1, Christopher Wood wrote: > > On Sun, Mar 08, 2015 at 11:55:03AM -0700, Bostjan Skufca wrote: > >With hiera: > >- How would you go about when certain nodes need data merged from all > >scopes, but other nodes need data from just the last scope?

[Puppet Users] Re: puppet master following 3.7 upgrade intermittently gives errors for a specific set of classes

2015-03-10 Thread Bostjan Skufca
On Tuesday, 10 March 2015 00:37:19 UTC+1, Lori Cho wrote: > > > However, this does not happen on every run, so it's not an actual issue of > the class not existing. > > Try to restart puppet and rerun the faulty node. Sometimes errors in your manifest are only fully logged after they are initia

Re: [Puppet Users] Error: Could not find class guts::app::remedy for on node

2015-03-10 Thread Henrik Lindberg
On 2015-10-03 21:12, Guillermo Di Pasquale wrote: Hello there! I'm running an AdHoc puppet master in my desktop. The class of the subject exists and is running correctly. For some reason I intermittently receive the error in the subject. Any Ideas? It was working fine until yesterday @ ~14:00hs

[Puppet Users] hiera-eyaml - masterless puppet

2015-03-10 Thread Heinz Kalkhoff
Is it possible to use hiera-eyaml with a masterless puppet setup (e.g. puppet apply)? I want to verify before going down this path as I have been unable to find examples using puppet masterless and hiera-eyaml. -- You received this message because you are subscribed to the Google Groups "Pupp

[Puppet Users] Fedora 19 retirement from yum.puppetlabs.com

2015-03-10 Thread Scott Garman
Hi all, Fedora 19 was EOL'ed on January 6, 2015. We are no longer building packages for it and plan to remove it from our yum repository on Monday, April 13. https://fedoraproject.org/wiki/End_of_life Regards, Scott Garman Puppet Labs - Release Engineering -- You received this message because

[Puppet Users] get current puppet env path

2015-03-10 Thread Vasil Mikhalenya
Hi all, could you advice how can I get path to the current env on the fs in custom function. At the moment I do smth like module_path = Puppet::Module.find("my_module", compiler.environment.to_s).path env_path = module_path.sub("modules/my_module","") which is creepy a bit and does

[Puppet Users] Re: exec shell script fails with Unsupported option –install

2015-03-10 Thread jdt
Hello, I've found the issue by adding a -x to the shebang of the script. It was related to the LANG settings, when I modified these to be C via the environment settings in the exec resource it worked just fine Jo Op dinsdag 10 maart 2015 17:28:09 UTC+1 schreef jdt: > > Hello, > > I'm trying to

[Puppet Users] exec shell script fails with Unsupported option –install

2015-03-10 Thread jdt
Hello, I'm trying to automate the installation of an HPOV agent on systems with HP's oainstall.sh script. When manually running the script with the options -install -agent all works fine When I try to do the same with an exec resource in puppet I get the weird behaviour that it returns with IN

[Puppet Users] Re: puppet master following 3.7 upgrade intermittently gives errors for a specific set of classes

2015-03-10 Thread jcbollinger
On Monday, March 9, 2015 at 6:37:19 PM UTC-5, Lori Cho wrote: > > We have 2.7 agents, that are now hitting 3.7 masters. > > One of the masters is doing an odd thing. We have a module called httpd, > with a bunch of classes in that module, like httpd::common, httpd::init, > etc. > > Sometim

Re: [Puppet Users] ntp keys - trusted, requestkeys

2015-03-10 Thread Robert Poulson
> > So the ntp.conf should only contain the key identifiers pointing at the > /etc/ntp.keys which won't be changed by Puppet. > Okay, it works exactly like this. I misinterpreted the description, one has to specify the key identifiers - was misleading but probably it's just me. So I can't edit t

[Puppet Users] ntp keys - trusted, requestkeys

2015-03-10 Thread robpou99
Hello List, I'm new to Puppet but learned quite a lot already (Learning VM, every course in the library, quite a lot of docs) and I'm about to configure the first nodes. I'd like to start with the NTP module, checked it out already. Now according to the documentation, the parameters: keys_requ

[Puppet Users] trunc number in manifest

2015-03-10 Thread MaryG
Hi, I get this value from fact: $shmmax = <<$facts['memorysize_mb']*1024*1024)/2 I want to trunc since I get a float 963211427.84. I want to cut decimal numer and get 963211427. How can I do it? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group