[Puppet Users] using GIT for environments

2013-08-17 Thread me 1
I have created a git clone and have been using this to test changes without affecting the modules in production. The problem is, when I commit the change it stays in the closed branch, never pushing the change to the master (origin) branch. How can this be done? $ git status # On branch maste

Re: [Puppet Users] Puppet: chaining and conditionals

2013-08-17 Thread Sergey Arlashin
Thank you all for your answers! Finally I decided to modify a couple of my classes to look like: class { "class1": } -> class { "class2": class_enabled => $fqdn ? { "nodename2" => "yes", default=> "no" } } -> class { "class3": } -- best regards, Sergey On Aug 1

[Puppet Users] Puppet::Rails::Host.inheritance_column

2013-08-17 Thread Faya
Hello, I'm trying to make puppet work with foreman and i encounter some difficulties. When i run on a client : puppet agent --test i get an error : err: Could not retrieve catalog from remote server: Error 400 on SERVER: The single-table inheritance mechanism failed to locate the subclass: 'H

[Puppet Users] Re: Learningpuppet

2013-08-17 Thread Ellison Marks
Well, first, for a module, your pp files go *inside* the manifests folder. For init.pp, it should contain a human class, but there doesn't have to be anything in that class. The human::user defined type will do the heavy lifting, containing the user resource, a file or template for the bashrc,

[Puppet Users] Re: Dependancy Problems

2013-08-17 Thread jcbollinger
On Friday, August 16, 2013 3:41:31 PM UTC-5, towen27 wrote: > > I'm having some issues with dependencies for my puppet module/manifests. > > I've pasted some stuff on http://pastie.org/8243225# > > The problem I'm having is that Puppet is running the Class{ > 'nova::controller' } before putting

[Puppet Users] Re: exit status of puppet agent --detailed-exitcodes

2013-08-17 Thread jcbollinger
On Friday, August 16, 2013 9:50:37 AM UTC-5, Torsten Lüttgert wrote: > > Mh. It seems I spoke too hasty. exec{ }s which aren't actually executed - > e.g. via a successful unless: condition - don't seem > to cause $? to become 2. > That's what I would expect, and it seems sensible to me. >

[Puppet Users] Re: hiera_include issues

2013-08-17 Thread jcbollinger
On Friday, August 16, 2013 7:47:28 PM UTC-5, Ellison Marks wrote: > > So, I've run into a puzzling situation. I recently started playing around > with the puppetlabs-apache module. Now, I generally use hiera_include to > get all my classes, and it seemed logical that I should include the apache

Re: [Puppet Users] /usr/bin/apt-key: 8: /usr/bin/apt-key: mktemp: not found

2013-08-17 Thread Neil
Your code there says path is just /usr/bin so you need to add /bin Your os user paths are not relevant Neil On 15 Aug 2013 15:29, "Rafi" wrote: > When installing stackdriver on an ubuntu 12.04 machine, I get the > following error: > > change from notrun to 0 failed: /usr/bin/apt-key: 8: /usr/bi

[Puppet Users] Distributing certificates with external ca

2013-08-17 Thread Domenick Petrella
Hey folks, We're looking at using puppet 3.latest with an external ca. Since the internal puppetmaster ca, and therefore the certificate distribution mechanism, needs to be disabled, we're brainstorming on how to generate and distribute the certs. We're pushing toward self-service provisionin