[Puppet Users] Re: Issues with RHEL7

2015-01-07 Thread Biju Joseph
Thanks. I had same issue. Adding the repo "rhel-7-server-optional-rpms helped. On Friday, June 13, 2014 12:49:44 PM UTC-5, Arkandel wrote: > > Hey folks, > > I'm having some issues installing puppet on a brand new RHEL7 server VM > and I was wondering if any of you has ran into the same kinds

[Puppet Users] Using http_proxy environment variable

2015-01-07 Thread Kai Timmer
Hello, I have to use a proxy to connect to the internet. My puppet works fine when I call it manually as root (with http_proxy set). But the "normal" agent doesn't seem to use the proxy. I always get a timeout when I try to get a pgp key. Getting the package itself works fine (but I guess that

Re: [Puppet Users] Re: Trouble with class with _ in name

2015-01-07 Thread Matthew Kennedy
Gosh sorry, would be something like existant_class. On Wednesday, January 7, 2015 12:28:09 PM UTC-7, Felix.Frank wrote: > > On 01/07/2015 08:18 PM, Matthew Kennedy wrote: > > So changing this to: > > if ($profile == 'existantclass') { > include "profile::${separator}::${profile}" > } > > resu

Re: [Puppet Users] Re: Trouble with class with _ in name

2015-01-07 Thread Felix Frank
On 01/07/2015 08:18 PM, Matthew Kennedy wrote: > So changing this to: > > if ($profile == 'existantclass') { > include "profile::${separator}::${profile}" > } > > results in Error 400 on SERVER: Could not find class > profile::app::existantclass for node1.vnet on node node1.vnet. Wait, what, so

Re: [Puppet Users] Re: Trouble with class with _ in name

2015-01-07 Thread Matthew Kennedy
No, if you remove the defined() call and just include it will fail to find the class. Defined() is there simply to ensure that we can do the include. For a bit more context I've written an abstraction layer that assigns apps/roles to nodes and will pull in profiles if they exist, that is where

Re: [Puppet Users] PuppetDB 1.6.3 Garbage collection fails abruptly

2015-01-07 Thread Andreas Paul
Hey, our database admin solved this problem by executing the following SQL query in a 3 second sleep loop over multiple days: DELETE FROM resource_params_cache WHERE resource_params_cache.resource IN (SELECT resource_params_cache.resource FROM resource_params_cache WHERE NOT EXISTS (SELECT *

[Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Packets out of order:

2015-01-07 Thread Chris Brooks
I'm using puppet/hiera on freebsd 10.1 and I had no issue wth freebsd 10.0 now when I use this I see the following:- Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Packets out of order: 0<> at /usr/local/etc/puppet/environments/production/manifests/site.pp:1 on node

[Puppet Users] Re: How to force Puppet to use a specific yum repo?

2015-01-07 Thread kaustubh chaudhari
Hey, You cannot force puppet to use specific repo, puppet uses yum and then yum decides which repo to use for what. You can alter your yum.repos file to add == exclude= < packagename > == this will exclude the package from the specific repos, eventually it will pick up the package from the repo

[Puppet Users] Are you ready for an overdose of Configuration Management and Open Source ?

2015-01-07 Thread Johan De Wit
Traditionally, the beginning of every year is always very busy for Open Source addicts and Configuration Management believers. First we do have a *Puppet Camp @ Amsterdam*, on 27th of January, as a warming up. The schedule of that event can be found here : http://puppetlabs.com/events/puppet-ca

[Puppet Users] Re: How to force Puppet to use a specific yum repo?

2015-01-07 Thread jcbollinger
On Tuesday, January 6, 2015 8:59:16 AM UTC-6, staceyt...@gmail.com wrote: > > Hi, > > I am using open source Puppet 3.7.3. There are multiple yum repos on the > puppet agent machines. So when I use Puppet to push a package, can I force > Puppet to use a specific yum repo? > > For example, here

Re: [Puppet Users] Re: not able to run Linux command through puppet

2015-01-07 Thread jcbollinger
On Tuesday, January 6, 2015 9:26:54 AM UTC-6, Felix.Frank wrote: > > How about avoiding the awful bashisms altogether? > > cat /home/weblogic/{javafoundmodified,authorizedjava}.txt > | sort > | uniq -u > | tee ... > > That should make it easier on your Ruby. > Nice one. That

[Puppet Users] Re: Install puppet agent via puppet master

2015-01-07 Thread jcbollinger
On Tuesday, January 6, 2015 5:45:51 AM UTC-6, jgopi ruizu wrote: > > Is it possible to install a puppet agent on a new system by the puppet > master? > If so how it works? > The master is not magical. It cannot do *anything* to other systems without their cooperation, which comes via the ag

Re: [Puppet Users] Unable to retrieve catalog with Hiera as ENC

2015-01-07 Thread Adrien Kutak
Hi felix, Yes, i'm using puppet 3.7.3 on debian.wheezy I have also installed this gems : - hiera-file - hiera-gpg 0.1.1 I'll delete all hiera's gems and retry Thanks Adrien Le mercredi 7 janvier 2015 00:17:42 UTC+1, Felix.Frank a écrit : > > Hi, > > is this Puppet 3.7? > > Adrien mentioned

[Puppet Users] Re: SSL Cert automation for service

2015-01-07 Thread Thomas Müller
Am Montag, 5. Januar 2015 02:46:35 UTC+1 schrieb Tom Noonan: > > Hello, list: >I'm looking for information/tutorials on using Puppet to generate > SSL certs for a service managed by Puppet, not Puppet itself. What I > would like to do is give Puppet access to internal CA keys and have it