[Puppet Users] Re: Alternating results with mount Puppet resource

2014-01-08 Thread zerozerounouno
On Tuesday, January 7, 2014 3:10:31 PM UTC+1, zerozer...@gmail.com wrote: The problem is with automated puppet runs every 30 minutes, as per default: 50% of the runs end with no errors in the report, even though the class is not correctly applied. Just for completeness, here is an

Re: [Puppet Users] Re: Alternating results with mount Puppet resource

2014-01-08 Thread Felix Frank
Hi, can you reproduce this using puppet agent --one-time? If not, you may have to activate debug logging in your background agent. Otherwise, it will be difficult to determine what's happening when and why. Thanks, Felix On 01/08/2014 10:12 AM, zerozerouno...@gmail.com wrote: Just for

[Puppet Users] Puppet report als JMS Message

2014-01-08 Thread Stephane Raemy
Hi everybody We are actually using Puppet and MCollective with ActiveMQ. The Puppet Reports are now forwarded from the Puppet Master to our application using the HTTP report mechanism: reports = store, http reporturl = http://machine:port/qapp/reports I would like to know if there is (or is

[Puppet Users] What is a good way to manage individual XML settings on Windows?

2014-01-08 Thread Ger Apeldoorn
Hi, I'm looking for a good way to manage individual XML values on Windows. Apparently, Augeas does not work on Windows and we cannot manage the entire file as a template because of some values that are generated during installation of the package. How would I manage individual values in XML

[Puppet Users] Re: Upgrading from 2x to 3x while simultaneously learning Puppet

2014-01-08 Thread jcbollinger
On Tuesday, January 7, 2014 5:19:42 PM UTC-6, Salient Digital wrote: I'm new here, and to Puppet also. I've inherited some Puppet 2x code in an SVN repo at my work, and have the daunting task of sorting out whether we can/should use what we have, or if we should upgrade/rewrite

Re: [Puppet Users] Hiera and puppet apply/puppet agent

2014-01-08 Thread jcbollinger
On Tuesday, January 7, 2014 11:39:14 AM UTC-6, kai wrote: What version of Puppet are you running? *3.4.1 for both master and agent* As what user is the master running? (Typically an unprivileged user named 'puppet'.) *The master is running as user puppet* As what user are you running

Re: [Puppet Users] What is a good way to manage individual XML settings on Windows?

2014-01-08 Thread Jeff Bachtel
Depending on your comfort level you could use PowerShell to do it, see http://powershell.com/cs/blogs/tobias/archive/2009/02/02/xml-part-2-write-add-and-change-xml-data.aspx You could combine that XML read/manipulate/write technique with the Powershell exec provider from

[Puppet Users] When does puppet agent load newly installed facter facts?

2014-01-08 Thread John Pyeatt
I think I have run into some sort of facter caching issue in the puppet agent that I am hoping someone can explain. When I launch a new server I run the following command to get things started. puppet agent --test --onetime --no-daemonize --waitforcert 5 The puppetmaster then downloads to the

Re: [Puppet Users] Hiera and puppet apply/puppet agent

2014-01-08 Thread kai
John, thank you for pointing me in the right direction. The problem was that each time I made changes to hiera.yaml file I'll restart the master with service puppetmaster restart. Well apparently the master was not really restarting even though it was saying it was. So it was going into this

[Puppet Users] When does puppet agent load newly installed facter facts?

2014-01-08 Thread Jose Luis Ledesma
Puppet loads facts first of all, so custom facts deployed are not there until next run. Regards -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Puppet Users] The Future - ENCs vs Hiera?

2014-01-08 Thread Arnaud Gomes-do-Vale
Jose Luis Ledesma joseluis.lede...@gmail.com writes: Enforcing environment from the master is a must for us, and I don't really see the point of configuring hiera against LDAP when puppet supports it natively. Do you know some benefit I'm missing? Last time I checked the native LDAP terminus

Re: [Puppet Users] The Future - ENCs vs Hiera?

2014-01-08 Thread Johan De Wit
On 01/08/2014 09:22 PM, Arnaud Gomes-do-Vale wrote: Jose Luis Ledesma joseluis.lede...@gmail.com writes: Enforcing environment from the master is a must for us, and I don't really see the point of configuring hiera against LDAP when puppet supports it natively. Do you know some benefit I'm

[Puppet Users] installing PE 3.1 on OpenSuse 13.1 x64

2014-01-08 Thread expouser
Hi All, Does anyone know how to install PE (3.1 latest) on OpenSuse (13.1 x64) Linux. I'm getting: !! ERROR: Unknown platform trying to run # /puppet-enterprise-3.1.1-all/puppet-enterprise-installer # cat /etc/issue

Re: [Puppet Users] The Future - ENCs vs Hiera?

2014-01-08 Thread Jose Luis Ledesma
True, but with a profiles/roles design + hiera you shouldn't need to parametrize classes in the LDAP. Regards, -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Shark Laser
Platform: I've downloaded and installed the learning VM. This system runs CentOS with Facter v1.7.3 and Puppet v3.3.1 (Puppet Enterprise 3.1.0). I've created a fact called hello.rb with the following content: Facter.add(:hello) do setcode do Hello world!

[Puppet Users] Decommission puppetdb

2014-01-08 Thread David Thompson
I'm trying to decommission puppetdb, but it's being very persistent. I've removed the puppetdb-terminus rpm, and commented out the storeconfigs entries in puppet.conf, but the managed systems can't apply without puppetdb running on the server. The error messages are: Warning: Unable to fetch

Re: [Puppet Users] Decommission puppetdb

2014-01-08 Thread Deepak Giridharagopal
On Wed, Jan 8, 2014 at 3:17 PM, David Thompson dthomp...@waisman.wisc.eduwrote: I'm trying to decommission puppetdb, but it's being very persistent. I've removed the puppetdb-terminus rpm, and commented out the storeconfigs entries in puppet.conf, but the managed systems can't apply without

Re: [Puppet Users] Decommission puppetdb

2014-01-08 Thread Jose Luis Ledesma
Remove also /etc/puppet/puppetdb.conf -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the

Re: [Puppet Users] installing PE 3.1 on OpenSuse 13.1 x64

2014-01-08 Thread Justin Stoller
On Wed, Jan 8, 2014 at 12:21 PM, expouser churi...@gmail.com wrote: Hi All, Does anyone know how to install PE (3.1 latest) on OpenSuse (13.1 x64) Linux. Unfortunately, you can't as it's not a supported platform (SLES is though!) I'm getting: !! ERROR: Unknown platform

[Puppet Users] postgres issue with puppetdb unexpected EOF on client connection

2014-01-08 Thread Corey Osman
Hi, Hoping someone can help with this error. Check your puppetdb logs and you might see the same error. This doesn’t seem to cause any harm but I have seen occasional crashes with puppetdb. This error is littering my postgres log files. The puppetdb must be closing the connection

Re: [Puppet Users] postgres issue with puppetdb unexpected EOF on client connection

2014-01-08 Thread Deepak Giridharagopal
On Wed, Jan 8, 2014 at 4:39 PM, Corey Osman co...@logicminds.biz wrote: Hi, Hoping someone can help with this error. Check your puppetdb logs and you might see the same error. This doesn’t seem to cause any harm but I have seen occasional crashes with puppetdb. This error is littering my

Re: [Puppet Users] The Future - ENCs vs Hiera?

2014-01-08 Thread Nathan Valentine
Keep in mind that Hiera can support multiple backends and not all of them mean manipulating JSON or YAML. For instance, I'm a proponent of something like this: On Sat, Jan 4, 2014 at 10:15 AM, Jose Luis Ledesma joseluis.lede...@gmail.com wrote: I'm in the process of setting up puppet in my

Re: [Puppet Users] The Future - ENCs vs Hiera?

2014-01-08 Thread Nathan Valentine
Sorry, bitten by the Gmail interface on that last one... I'm a proponent of something like this: http://www.craigdunn.org/2012/11/puppet-data-from-couchdb-using-hiera-http/ with classification data that doesn't change much ( 'require ::site::profile::base' ) perhaps living in YAML and specific

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Nathan Valentine
You are making external facts too complicated. More like this: hello.rb --- #!/usr/bin/env ruby puts hello=Hello, World! hello.yaml --- --- hello='Hello, World!' https://docs.puppetlabs.com/guides/custom_facts.html#external-facts -- --- Nathan Valentine, Puppet

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Nathan Valentine
sorry, s/=/:/g in hello.yaml On Wed, Jan 8, 2014 at 4:40 PM, Nathan Valentine nat...@puppetlabs.com wrote: You are making external facts too complicated. More like this: hello.rb --- #!/usr/bin/env ruby puts hello=Hello, World! hello.yaml --- --- hello='Hello,

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Shark Laser
The simpler ruby script you gave still exhibits the same behavior. I'm sure the code in the facts I am using is correct, so I don't think it is a matter of their content. As I mentioned I have literally copied examples from the tutorial and elsewhere. If I run facter --debug all of the

[Puppet Users] error testing puppet 3.x upgrade: You need rubygems to use Hiera

2014-01-08 Thread Tim Mooney
All- I've been struggling with this all afternoon, so it's time to ask for some help. The TL;DR version: On a 2.7.14 puppet client promoted to be a test 3.4.2 master, whenever a client connects I get: Warning: Puppet.features.rubygems? is deprecated. Require rubygems in your application's

Re: [Puppet Users] error testing puppet 3.x upgrade: You need rubygems to use Hiera

2014-01-08 Thread Ramin K
Any chance you have a symlink to /usr/lib/ruby/site_ruby/1.8/hiera/backend/ (or something similar) floating around in your /var/lib/puppet? This was a common way to get Hiera to work in Puppet 2.7 before the necessary glue was built into 3.x. If you do, remove it and restart. Ramin On

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Nathan Valentine
The Facter.add scaffolding isn't required for external facts. That's actually a key part of the design. Here's an example vagrant environment with external facts similar to your demo code: https://github.com/nrvale0/vagrant-extfacts-demo On Wed, Jan 8, 2014 at 5:03 PM, Shark Laser

Re: [Puppet Users] dashed by dashboard

2014-01-08 Thread Stuart Cracraft
Thanks Sam. On Jan 7, 2014, at 1:58 AM, Sam Kottler s...@kottlerdevelopment.com wrote: On Mon, Jan 6, 2014 at 8:51 PM, Stuart Cracraft smcracr...@gmail.com wrote: Okay, took care of that. Thanks. Now, when doing per page 170 in chapter 7 (chapter puppet consoles) in Pro Puppet

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Andrey Kozichev
i think everything is fine with your code. Problem might be with location. Dont know about PE, but for facter if you do export FACTERLIB= you dir, then you can run facter to see your custom fact On 8 Jan 2014 21:52, Shark Laser sharklaser1...@gmail.com wrote: Platform: I've downloaded and