[Puppet Users] With Microsoft going all in .NET & Open Source (MIT license)

2014-11-12 Thread Byron Miller
Could puppet technically build a native .net client now that can implement puppet DSL in a more native fashion much like powershell does with the very similar power shell dsc? (implement all the mmc snapin stuff or however one could do this?) just curious.. i have a zillion more linux than win

Re: [Puppet Users] Using the $domain fact in the name of a template

2014-11-12 Thread kai
That was it, thanks! On Wednesday, November 12, 2014 2:51:58 PM UTC-6, Christopher Wood wrote: > > On Wed, Nov 12, 2014 at 12:43:43PM -0800, kai wrote: > >Hi, > >I have the following file definitions: > >file { $haproxy_service_config_file: > >ensure => 'present', > >

Re: [Puppet Users] Using the $domain fact in the name of a template

2014-11-12 Thread Christopher Wood
On Wed, Nov 12, 2014 at 12:43:43PM -0800, kai wrote: >Hi,  >I have the following file definitions: >file { $haproxy_service_config_file: >    ensure  => 'present', >    owner   => 'root', >    group   => 'root', >    mode    => '0644', >    content => template('hapro

[Puppet Users] Using the $domain fact in the name of a template

2014-11-12 Thread kai
Hi, I have the following file definitions: file { $haproxy_service_config_file: ensure => 'present', owner => 'root', group => 'root', mode=> '0644', content => template('haproxy/$domain.haproxy.erb'), require => [ Class['haproxy::install'], File[$haproxy_servic

Re: [Puppet Users] troubleshooting constraint violations in puppetdb?

2014-11-12 Thread Christopher Wood
Aha, finally found one and sent it separately. On Wed, Nov 12, 2014 at 08:16:35AM -0500, Ryan Senior wrote: >Waiting is ok. You might be able to find the node associated to one of the >failing catalogs in the log. You could then either force a puppet run and >grab the failed message or

[Puppet Users] Re: Puppet Development Efforts?

2014-11-12 Thread Eric Sorenson
This sounds like a big misunderstanding. We are absolutely continuing to work on open-source software. Look at the puppet-announce group for evidence of the release cadence and frequency of the OSS projects: https://groups.google.com/forum/#!forum/puppet-announce At the same time we are adding

[Puppet Users] Re: mcollective compatibility in PE 3.7

2014-11-12 Thread Eric Sorenson
The underlying mcollective only bumped from 2.5 to 2.6 so it should be compatible. Could you show some logs, try restarting the mco daemon... Also, can you try updating one agent to see if it shows up? On Tuesday, November 11, 2014 5:52:20 PM UTC-8, Vadym Chepkov wrote: > > Hi, > > I just instal

[Puppet Users] Re: puppet certification

2014-11-12 Thread Eric Sorenson
Just make sure you've tried the sample tests! Good luck!! http://puppetlabs.com/services/certification/puppet-professional-practice-exam On Wednesday, November 12, 2014 7:56:30 AM UTC-8, pankaj sehgal wrote: > > Hi Everyone, > > I am going to write puppet certification next week. > any last min

[Puppet Users] Re: Puppetmaster 3.7.3 startup times when many environments exist

2014-11-12 Thread Eric Sorenson
This sounds like it's related to the following bug: https://tickets.puppetlabs.com/browse/PUP-3389 Can you please add any troubleshooting info you have onto that ticket? We are aware of the issue and are interested in characterizing it to build a fix. Thanks! On Wednesday, November 12, 2014 8

Re: [Puppet Users] Re: external facter for datacenter from ipaddress - new to puppet

2014-11-12 Thread Neil
Hello I think the advantages of fact based implementation are you can use it in hiera hieracy, query it in puppeydb etc Neil P.s. I'd always have a default for a selector like datacenter is On 12 Nov 2014 14:01, "jcbollinger" wrote: > > > On Wednesday, November 12, 2014 7:59:34 AM UTC-6, jcbol

[Puppet Users] Puppetmaster 3.7.3 startup times when many environments exist

2014-11-12 Thread hector1987
Hello, My problem: it takes 2 minutes and 14 seconds for the puppetmaster to start (and it uses 100% cpu). It also seems to take way longer if spawned by Apache/passenger. We run a larger-than-average Puppet setup, with 1892 different puppet environments, each of them different from each other

[Puppet Users] puppet certification

2014-11-12 Thread pankaj sehgal
Hi Everyone, I am going to write puppet certification next week. any last minutes study or important topics i should go through...any suggestion will help !!! Thanks, -Pankaj -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from

[Puppet Users] Puppet Development Efforts?

2014-11-12 Thread MigV
I work for an organisation which was about to start using the Community Edition of Puppet, however we have just caught wind that Puppet are going start concentrating their development efforts on the Enterprise Edition only. This is making us reconsider our original plan of moving to Puppet an

[Puppet Users] Re: Strict ordering of structured facts in mcollective facts.yaml

2014-11-12 Thread jcbollinger
On Tuesday, November 11, 2014 10:39:33 AM UTC-6, Schofield wrote: > > After updating to facter 2.3 the structured fact ordering is different on > every puppet run causing changes on every run. > > Debug: > /Stage[main]/Mcollective::Facts/File[/etc/mcollective/facts.yaml]/content: > --- /etc/mco

[Puppet Users] Re: external facter for datacenter from ipaddress - new to puppet

2014-11-12 Thread jcbollinger
On Wednesday, November 12, 2014 7:59:34 AM UTC-6, jcbollinger wrote: > > > $datacenter = $ipaddress ? { > /^10\.220\. => 'HOUSTON', > /^10\.221\. => 'AUSTIN' > } > > Oops, make that ... $datacenter = $ipaddress ? { /^10\.220\./ => 'HOUSTON', /^10\.221\./ => 'AUSTIN' } ... of course. J

[Puppet Users] Re: external facter for datacenter from ipaddress - new to puppet

2014-11-12 Thread jcbollinger
On Thursday, October 23, 2014 2:01:37 PM UTC-5, Difladermaus wrote: > > facter --debug returns > > Fact file /etc/puppetlabs/facter/facts.d/datacenter.rb was parsed but > returned an empty data set > > > Any help appreciate > > > # cat /etc/puppetlabs/facter/facts.d/datacenter.rb > > > Facter.ad

Re: [Puppet Users] troubleshooting constraint violations in puppetdb?

2014-11-12 Thread Ryan Senior
Waiting is ok. You might be able to find the node associated to one of the failing catalogs in the log. You could then either force a puppet run and grab the failed message or look in your puppet cache (in client_data/catalog on the master). -Ryan On Tue, Nov 11, 2014 at 4:32 PM, Christopher Wood

[Puppet Users] service control - what am I doing wrong?

2014-11-12 Thread JonY
I put together a module and some files to control cassandra. When I change one of the dependent files in my module the cassandra service is stopped but not restarted. The service uses a std start/stop/status file and 'status' sets the appropriate exit code: [root@cass1 security]# service cass

Re: [Puppet Users] Managing folder trees - best practice?

2014-11-12 Thread JonY
On Tuesday, November 11, 2014 11:12:37 PM UTC-8, Felix.Frank wrote: > > On 11/01/2014 01:46 PM, JonY wrote: > > 2. Maintain two (nearly identical - but not quite) file trees. It's > > all in git so maybe this isn't so bad. Looks messy though. Means > > having to sync nested trees and keep them

[Puppet Users] Re: Puppet Classes not Showing in Enterprise Console

2014-11-12 Thread Paul Sanders
My Class is now showing in the console. It was down to some syntax issues and naming conventions within my .pp files. That will teach me to blindly copy and paste! On Tuesday, 11 November 2014 14:29:08 UTC, Paul Sanders wrote: > > Hello All, > > I am currently running Puppet Enterprise 3.3: > >

[Puppet Users] count not retrieve catalog from remove server error, could not intern from pson

2014-11-12 Thread Andy B
Hi, I keep getting an error when I run puppet on my client machine: err: Could not retrieve catalog from remote server: Could not intern from pson: unexpected token in object at ** If I run puppet agent on the client I get this error, but trying again it will work after maybe a couple of goes:

Re: [Puppet Users] external facter for datacenter from ipaddress - new to puppet

2014-11-12 Thread Ashish Jaiswal
Hi, This is what you are looking for, I guess. @datacenter.rb require 'facter' Facter.add(:datacenter) do setcode do datacenters = { '10.220' => 'HOUSTON', '10.221' => 'AUSTIN' } ip = Facter.value(:ipaddress) network = datacenters.keys.

Re: [Puppet Users] Puppet agent in background causing dependency failure.

2014-11-12 Thread David Schmitt
Hi Rohit, please post the actual error messages and - if at all possible - the relevant source snippets. That makes it infinitely easier to help you with your problem. To guess about the problem you're seeing: * the first run changes something, so that subsequent runs work * your user en