[Puppet Users] PE 3.1 PuppetDB connection refused messages with ad hoc puppet agent runs. PE-initiated puppet agent runs are fine.

2014-01-06 Thread Trevor (@VMTrooper)
Hello Everyone, PuppetDB is behaving strangely despite my fqdn, /etc/hosts files, firewalls, and ntp, being configured correctly. FYI, I do not use DNS in my enviornment. Also, I have followed previously posted suggestions regarding jetty.ini and confirming /etc/hosts. After an initial

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

2014-01-06 Thread simon c
For myself, I can see that Hiera is really the way to go, (with a good front end), however for where I am now on the puppet rollout, asking other admins to create even simple json/yaml files for each node would not get anywhere. So, I've got a very simple node terminus ENC script that parses

[Puppet Users] Puppet integration with ServiceNow

2014-01-06 Thread Amarankit Srivastava
Hi, I have to integrate puppet enterprise with servicenow for configuration/change management. Anyone has any idea how to do that? Thanks- Amarankit -- -- Please consider the environment before printing this e-mail Newsworks - bringing advertisers and newsbrands together

Re: [Puppet Users] PE 3.1 PuppetDB connection refused messages with ad hoc puppet agent runs. PE-initiated puppet agent runs are fine.

2014-01-06 Thread Ken Barber
PuppetDB is behaving strangely despite my fqdn, /etc/hosts files, firewalls, and ntp, being configured correctly. FYI, I do not use DNS in my enviornment. Also, I have followed previously posted suggestions regarding jetty.ini and confirming /etc/hosts. If you can send through your

Re: [Puppet Users] Puppet require - failure handling

2014-01-06 Thread jcbollinger
On Sunday, January 5, 2014 1:05:01 PM UTC-6, neubyr wrote: That explains how resource ordering works. Is it the same way with require statement? For example, if apache or mysql class fails on the node, would wordpress class run be attempted? Resource and class ordering are the same

[Puppet Users] Augeus: Duplicate sysctl setting

2014-01-06 Thread bruce bushby
Hello I have a issue with duplicate Augeas settings and hoping to bounce the issue off the community for some ideas. I like to pre-deploy my servers regardless of what application they will run and I typically have them sitting in (/etc/puppet/manifest/classes/-linux-server) where they

Re: [Puppet Users] ENC in Nodejs Error

2014-01-06 Thread Jordan Cabral
Thanks for the answer. That script is just an example, in my full script y fill both classes (parameters and classes), and when i run it prints a complete yaml Y also check in debug to see how puppet run de script, I run the same command with sudo -su puppet and works perfect. I also copy the

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

2014-01-06 Thread jcbollinger
On Saturday, January 4, 2014 7:46:58 AM UTC-6, Jason Antman wrote: After digressing into this discussion on #puppet last night, I was wondering what the community feelings are on ENCs vs Hiera... I know that Dashboard/Console still exists, but have heard rumors (for years) of it being

[Puppet Users] Question on Puppet and Windows

2014-01-06 Thread Moses Hernandez
I am about to start a project that is mix of linux and mostly windows. I would say that 60-70% of the environment will be Windows Servers. I have a concern that the new PowerShell DSC (Desired State Configuration) may provide me more benefit than Puppet on Windows. I was wondering if anyone

[Puppet Users] Re: Hiera and ENC-set top-scope variables

2014-01-06 Thread jcbollinger
On Friday, November 22, 2013 11:34:24 AM UTC-6, Matthew Ceroni wrote: I am trying to use an ENC-set top-scope variable in my Hiera hierarchy. However it doesn't seem to be working. I thought that was supported. Here is what is returned by my ENC script (it is the foreman ENC script)

Re: [Puppet Users] Re: Run stages of virtual resources

2014-01-06 Thread Joseph Swick
On 01/02/2014 03:18 AM, james.eckers...@fasthosts.com wrote: How about chaining the resources, ala http://docs.puppetlabs.com/puppet/2.7/reference/lang_relationships.html#chaining-arrows . Yumrepo | | - Package| | This declared in site.pp should apply globally to all nodes and would

Re: [Puppet Users] Re: Run stages of virtual resources

2014-01-06 Thread james . eckersall
On Monday, 6 January 2014 15:59:53 UTC, Joseph Swick wrote: On 01/02/2014 03:18 AM, james.e...@fasthosts.com javascript: wrote: How about chaining the resources, ala http://docs.puppetlabs.com/puppet/2.7/reference/lang_relationships.html#chaining-arrows . Yumrepo | | -

Re: [Puppet Users] Question on Puppet and Windows

2014-01-06 Thread Rob Reynolds
Here's a place where you can test out the different resources for DSC. https://github.com/ferventcoder/vagrant-windows-puppet/tree/master/boxes/microsoft-dsc(specifically https://github.com/ferventcoder/vagrant-windows-puppet/blob/master/boxes/microsoft-dsc/powershelldsc/Test.ps1 ). If you find

Re: [Puppet Users] dashed by dashboard

2014-01-06 Thread Stuart Cracraft
So I have decided to give Foreman a try. Yet, the following occurred when I tried to install It. Ruby enthusiasts, any thoughts? The rest-client installed is 1.6.7 but the foreman installer install doesn't see it. # gem list | grep rest rest-client (1.6.7) # yum -y install

Re: [Puppet Users] dashed by dashboard

2014-01-06 Thread Andrey Kozichev
Yum expects to find rpm package and you installed it from gem. On 6 Jan 2014 18:36, Stuart Cracraft smcracr...@gmail.com wrote: So I have decided to give Foreman a try. Yet, the following occurred when I tried to install It. Ruby enthusiasts, any thoughts? The rest-client installed is

Re: [Puppet Users] dashed by dashboard

2014-01-06 Thread Jose Luis Ledesma
You hace to enable both epel and optional repositories. 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+unsubscr...@googlegroups.com. To

[Puppet Users] Re: Hiera and ENC-set top-scope variables

2014-01-06 Thread Nick Walker
I was able to get this to work without issue using the Puppet Enterprise console as my ENC. I did the following: Created a top-scope variable via the console called group and set it to engineering. [root@master310-centos ~]# /etc/puppetlabs/puppet-dashboard/external_node master310-centos

[Puppet Users] Hiera and puppet apply/puppet agent

2014-01-06 Thread kai
I have the following hiera.yaml file: --- :backends: - yaml - file :hierarchy: - defaults - %{clientcert} * - %{::domain}/%{::environment}/%{::osfamily}/%{::lsbdistcodename}* - global :yaml: :datadir: /etc/puppet/data and the following in /etc/puppet/data:

Re: [Puppet Users] dashed by dashboard

2014-01-06 Thread Stuart Cracraft
Okay, took care of that. Thanks. Now, when doing per page 170 in chapter 7 (chapter puppet consoles) in Pro Puppet by Krum et al, I have: ruby /usr/share/foreman-installer/generate_answers.rb but it does not have a file generate_answers.rb anywhere in the /usr/share/foreman-installer tree.

[Puppet Users] PE-3.1.1 Error on Install

2014-01-06 Thread Bryan Tidd
Getting all the way to the configuring database on a install where I am installing PE master and db on same system. ./utilities: line 735: 12481 Aborted /opt/puppet/bin/puppet apply --no-report --modulepath /opt/puppet/share/puppet/modules -v --exec class { pe_postgresql:

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

2014-01-06 Thread Andrey Kozichev
I assume ssh_service_config is indeed defined in your yaml file? I would suggest to define it in the top level hierarchy in defaults and then gradually move 1 level down until you find when it disappears. Andrey On 6 January 2014 19:20, kai kaiva...@gmail.com wrote: I have the following

[Puppet Users] the Foreman in Pro Puppet, 2nd edition

2014-01-06 Thread Stuart Cracraft
Chapter 7 explains after installing Foreman that to start the installer: ruby /usr/share/foreman-installer/generate_answers.rb is necessary. But the generate_answers.rb file isn't there. yum list | grep foreman | head -2 shows foreman-installer.noarch 1:1.3.1-1.el6 @foreman

Re: [Puppet Users] the Foreman in Pro Puppet, 2nd edition

2014-01-06 Thread Jason Slagle
Maybe try the foreman mailing list? Thanks, Jason On 01/06/2014 04:02 PM, Stuart Cracraft wrote: Chapter 7 explains after installing Foreman that to start the installer: ruby /usr/share/foreman-installer/generate_answers.rb is necessary. -- You received this message because you are

Re: [Puppet Users] the Foreman in Pro Puppet, 2nd edition

2014-01-06 Thread Stuart Cracraft
Have subscribed and posted. On Monday, January 6, 2014 1:05:58 PM UTC-8, jmslagle wrote: Maybe try the foreman mailing list? Thanks, Jason On 01/06/2014 04:02 PM, Stuart Cracraft wrote: Chapter 7 explains after installing Foreman that to start the installer: ruby

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

2014-01-06 Thread kai
Yes it's defined in : *%{::domain}/%{::environment}/%{::osfamily}/%{::lsbdistcodename}* which is expanded to loc.example.com/production/Debian/wheezy.yaml The problem is that when I run: $ puppet apply --environment=production -e '$test = hiera('ssh_service_config') notify { $test: }' Debug:

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

2014-01-06 Thread Andrey Kozichev
Anything in the puppet master logs? Not sure, but i think puppet apply - hiera lookup is done by client, puppet agent - lookup is done by puppet master. Andrey On 6 Jan 2014 21:33, kai kaiva...@gmail.com wrote: Yes it's defined in :

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

2014-01-06 Thread jcbollinger
On Monday, January 6, 2014 4:02:54 PM UTC-6, Andrew wrote: Anything in the puppet master logs? Not sure, but i think puppet apply - hiera lookup is done by client, puppet agent - lookup is done by puppet master. That was the area I was about to prod, too. The hiera lookup is performed

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

2014-01-06 Thread kai
Hm nothing in the logs. It's worth mentioning that I run this on the puppet master. Here's the config in case I missed something there: [main] pluginsync = true factpath = /lib/facter [agent] environment = production server = puppetmaster.loc.example.com runinterval = 360 splay = true

[Puppet Users] Announce: Puppet 3.4.2 is available

2014-01-06 Thread Ryan McKern
Released January 6, 2014. 3.4.2 is a bug fix release in the Puppet 3.4 series. Bug Fixes - * [PUP-724: Could not autoload puppet /util /instrumentation /listeners /log](https://tickets.puppetlabs.com/browse/PUP-724) This bug could cause a failure while autoloading

[Puppet Users] Puppet Agent Callback

2014-01-06 Thread rsreenivasan
Hi I am trying to wrap my head around how best to implement the following functionality: - Get information about puppet agent runs as soon as they complete - Some kind of a callback mechanism would be ideal Could this be done by creating an exported resource? Or could it be achieved

[Puppet Users] sudo class not found

2014-01-06 Thread Tim Dunphy
Hey all, I'm attempting to follow along with the puppet pro book. And I'm trying to create my first module without much success. This is the error that I'm getting when I do a puppet run: [root@puppet:/etc/puppet] #puppet agent --test Info: Retrieving plugin Error: Could not retrieve catalog

Re: [Puppet Users] sudo class not found

2014-01-06 Thread Andrey Kozichev
init.pp should be inside the manifests folder. On 7 Jan 2014 07:03, Tim Dunphy bluethu...@gmail.com wrote: Hey all, I'm attempting to follow along with the puppet pro book. And I'm trying to create my first module without much success. This is the error that I'm getting when I do a puppet