[Puppet Users] class{'apache::mod::pagespeed':} woes

2014-12-09 Thread Brent Clark
Good day Guys. An interesting challenge. I'm trying to get mod pagespeed of puppet labs apache module working. Everything is fine, until I define class{'apache::mod::pagespeed':} Its kinda like puppet cant seem to find the parent class defined variables. http://pastebin.com/kmCu0L5H To just e

[Puppet Users] Module/Class ordering with contain()

2014-12-09 Thread lupindeterd
Hi, I'm struggling with Ordering/Relationship between modules classes, I used this as my guide http://puppetlabs.com/blog/class-containment-puppet but somehow still can't make it work correctly. So I have tail ../../role/manifests/lbserver.pp class role::lbserver { include profile::mode

Re: [Puppet Users] hiera and puppet variables

2014-12-09 Thread Felix Frank
Hi, I think you have constructed the rare manifest order issue. For sanity's sake, I shall only quote the variable assignments. On 12/08/2014 05:57 PM, Drew wrote: > $javapkg = hiera('java_package') > $java_provider = hiera('java_provider') At this point, Puppet only has bound values to $javap

[Puppet Users] Re: How to Prevent Both MySQL and Percona From Being Installed?

2014-12-09 Thread Jochen Haeberle
Hi, well at least on my debian, the percona-server package "provides" mysql, a meta-package. Installing Percona sees to it that MySQL (or MariaDB) is purged from the system first. So the way I see it, you have no need to remove mysql from your machine. Just install percona-server, this will see

[Puppet Users] puppetlabs-mysql and Percona

2014-12-09 Thread Jochen Haeberle
Hi, the module puppetlabs-mysql on the forge is tagged with percona, but I don't see a way to have the module install a Percona-Server. The module has providers for MySQL and MariaDB, but not Percona. I tried working with puppetlabs-mysql, installing Percona with a package-resource ending with

[Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2014-12-09 Thread cko
Hi, I'm currently having an issue with the Windows Server 2008R2 nodes in our Exchange 2010 environment. Since I upgraded the four nodes to Puppet 3.7.3 , they do not check in to the Puppetmaster via the Windows Service every 30 minutes like all the other nodes do. Here is a gist of the outp

Re: [Puppet Users] Using Puppetdb-terminus via rubygems...?

2014-12-09 Thread Darin Perusich
I contacted the gem owner requesting that he remove this gem. -- Later, Darin On Tue, Dec 9, 2014 at 12:48 AM, Spencer Krum wrote: > The gem owner would be the only one who could remote the gem. That, > obviously, is not puppetlabs. > > -- > Spencer Krum > n...@spencerkrum.com > > > > On Mon, De

Re: [Puppet Users] hiera and puppet variables

2014-12-09 Thread Drew
This is why I come here. I didn't even see that and it makes sense. I'll have to give it a try. Turns out the java package isn't relocatable so I'm going to either end up doing it differently, or build it relocatable myself which makes me cringe. I have too much other stuff to do. Thanks, F

[Puppet Users] Re: what gets run when a client can't connect?

2014-12-09 Thread jcbollinger
On Monday, December 8, 2014 9:57:39 AM UTC-6, JonY wrote: > > Anything? Some cached set? > If the agent cannot retrieve a catalog from the master then it may apply a cached version of the most recent one successfully retrieved. I say "may" because the behavior can be disabled (so that the ag

Re: [Puppet Users] Puppet rendered system unusable because of following a dependency tree removing an RPM

2014-12-09 Thread Felix Frank
On 12/01/2014 11:11 PM, Clay Stuckey wrote: > I wrote two manifests for RHEL systems. One removed syslog. The other > installed rsyslog. The syslog removal followed a tragic dependency tree > removing RPMs such as coreutils, rpm, yum and pam. Once the servers > rebooted, they were left in an unusab

[Puppet Users] Re: classification question

2014-12-09 Thread jcbollinger
On Monday, December 8, 2014 7:19:13 PM UTC-6, ezzobad wrote: > > Thanks John and Byron, > > Yes it is Puppet PE, but I am using it in my test lab (Do you think PE is > a wrong choice for learning Puppet? It's free up to 10 nodes you know. You > input would be valuable to me as I have just start

[Puppet Users] Re: Module/Class ordering with contain()

2014-12-09 Thread lupindeterd
Hi, The initial error was a typo, but the Order of execution of class is not being achieve, is this possible? Cheers On Tuesday, December 9, 2014 9:22:35 PM UTC+13, lupin...@gmail.com wrote: > > > Hi, > > I'm struggling with Ordering/Relationship between modules classes, I used > this as my g

Re: [Puppet Users] remove/purge a package

2014-12-09 Thread Barry Gestwicki
I was able to replicate the behavior on my machine, which drove me to do some research, and it actually turns out to be a known issue and documented in ticket https://tickets.puppetlabs.com/browse/PUP-1295. I suppose one will just have to deal with the confusing messages for now, while knowing

[Puppet Users] Client self-deregistration from PuppetDB

2014-12-09 Thread Matt Wise
We boot up/shut-down 50-100 hosts a day on average... we're exploring PuppetDB, but I'm concerned about the model of just 'waiting' for hosts to be purged based on some checkin time. Is there any way to have our hosts send a signal through the puppet-masters (or directly to puppetdb?) to purge them

Re: [Puppet Users] Re: puppet turning a file into a directory

2014-12-09 Thread Chris
Just posting a follow up. On 04/12/14 01:31, jcbollinger wrote: Or if you have multiple environments defined, and for some reason the affected server is occasionally assigned to the wrong one, then you might get a different declaration. There are many other possibilities. This was the case. I

[Puppet Users] Re: what gets run when a client can't connect?

2014-12-09 Thread JonY
Situation: client insists on ability to use a 3G modem to connect to AWS servers (including puppet). I need a way to ensure that the 'wvdial' process is running. It will lose the carrier and hang-up at times so I wrote a piece of bash that (re)starts it from puppet.. but you see the problem - i

Re: [Puppet Users] Re: what gets run when a client can't connect?

2014-12-09 Thread R.I.Pienaar
- Original Message - > From: "JonY" > To: "puppet-users" > Sent: Tuesday, December 9, 2014 4:05:19 PM > Subject: [Puppet Users] Re: what gets run when a client can't connect? > Situation: client insists on ability to use a 3G modem to connect to AWS > servers (including puppet). I need

[Puppet Users] Force resigning of existing certificates

2014-12-09 Thread heeyoung kim
Hello, I want to know how to resign old signed certificate on puppet master when agents rebuild OS and request CSR. I have over 200 workstations rebuilding frequently, so it is not effect to clean agents' certificate manually on puppet master before kicstarting agents. Puppet master and ag

[Puppet Users] How to force resigning of existing certificate

2014-12-09 Thread heeyoung kim
Hello I am so curious how to resign certificate on puppet master after agents rebuild OS. I found a good article as follows. https://groups.google.com/forum/#!topic/puppet-users/vTLcGA87buo However, the below site ,posterous.com, closed. *"OK, just had to post this! I found a solutio

[Puppet Users] Unparsable version range: ">3.x"

2014-12-09 Thread Sebastian Otaegui
Hello, I have created this module https://forge.puppetlabs.com/spantree/phpldapadmin some time ago. I tested it with 3.6.2 and 3.7.3 and it has no issues doing "puppet module install spantree/phpldapadmin" I have a user reporting that while using my module with puppet enterprise 3.3.0 on centos