Re: [Puppet Users] Re: Puppet Pro, 2nd edition - status directly from APress

2013-12-23 Thread Johan De Wit
I don't know what they are doing, but it will be an adventure to get a hard-copy of the book :) Krum, Spencer "Pro Puppet (Professional Apress)" Voraussichtliches Lieferdatum: 28. Juni 2014 - 30. Juni 2014 On 12/22/2013 02:59 AM, Stuart Cracraft wrote: hey did some ruby and cured those b

[Puppet Users] missing msgpack gem following puppet 3.4.0 upgrade

2013-12-23 Thread Luke Alford
Hello all, Our puppet master and agents recently updated to 3.4.0 and all of our puppet runs are now compiling the catalog and promptly exiting happily without actually doing anything. There isn't anything unusual about what I see in the log output aside from a debug message about missing the m

[Puppet Users] Re: missing msgpack gem following puppet 3.4.0 upgrade

2013-12-23 Thread Luke Alford
Upon downgrading to 3.3.2-1 the problem still remains, so it does appear that the missing msgpack gem is a red herring that is not the cause of my problem. I'd still be interested in thoughts on that debug statement though, particularly if we choose to move to the improved serialization in the

Re: [Puppet Users] Re: missing msgpack gem following puppet 3.4.0 upgrade

2013-12-23 Thread Adrien Thebo
Puppet 3.4.0 adds experimental support for the msgpack protocol ( http://docs.puppetlabs.com/puppet/3/reference/experiments_msgpack.html), but doesn't depend on it being present. To enable it you need to install the msgpack gem and set the preferred serialization format, so unless you're explicitly

Re: [Puppet Users] Roles/profile design

2013-12-23 Thread Josh
Ramin, After looking more at your example for configuring apache mods via hiera, I have one problem. The create_resources will actually just define a resource like so: apache::mod { 'php' } However, to install the php module with puppetlabs/apache, I actually need to include the apache::mod::

Re: [Puppet Users] Roles/profile design

2013-12-23 Thread Joseph Swick
On 12/23/2013 02:52 PM, Josh wrote: > Ramin, > > After looking more at your example for configuring apache mods via hiera, I > have one problem. > > The create_resources will actually just define a resource like so: > > apache::mod { 'php' } > > However, to install the php module with puppetla

[Puppet Users] Re: Debugging execution error with vcsrepo

2013-12-23 Thread Patrick Gibson
If I manually clone the repo, I get a similarly puzzling error: Error: /Stage[main]/myuser/Vcsrepo[/home/myuser/myrepo]: Could not evaluate: Execution of '/usr/bin/su myuser -c "/usr/local/bin/git config remote.origin.url"' returned 127: -su: /usr/local/bin/git config remote.origin.url: No such

Re: [Puppet Users] Re: missing msgpack gem following puppet 3.4.0 upgrade

2013-12-23 Thread Luke Alford
Thanks for the confirmation Adrien, and for the tip on the puppet master compile command. I don't do much administration so I'm not terribly familiar with some of those common commands. I've got some more questions you or others might be able to shed light on, but they're well beyond the scope

Re: [Puppet Users] Roles/profile design

2013-12-23 Thread Josh
Joseph, I'm not currently defining classes with hiera. The host is assigned a role, which includes a profile, which installs includes ::apache. I guess this may be something that we need to look at for these types of scenarios. Josh > Hi, > How are you declaring your classes to include fr

[Puppet Users] puppet 3.4.0 upgrade, foreman 1.1-stable, problems that are not provisioning related

2013-12-23 Thread Luke Alford
I am having problems with our puppet/foreman infrastructure that seem to coincide with an upgrade to 3.4.0-1, but that are persisting after a downgrade back to 3.3.2-1. There are no obvious errors I can find and I don't seem to be having any problems with puppet talking to foreman, so overall t

Re: [Puppet Users] Roles/profile design

2013-12-23 Thread Ramin K
Something like the following might work. class profile::app1_site class {'apache::mod::php':} package { 'php5-brcypt': } # etc etc } I've avoided parameterized classes for historical reasons, but Joseph's method should work. It does require some restructuring. fwiw not a fan o