[Puppet Users] hiera variable problem

2014-08-07 Thread Christian Charpentier
Hi, I've been using hiera for several weeks now and all was working fine til few days ago when i started to get that kind of message: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item nom in any Hiera data file and no default supplied on node

[Puppet Users] scheduled_task changes on every puppet run

2014-08-07 Thread cko
Hi, I'm using the following scheduled_task on one of my windows server 2008 r2 boxes: scheduled_task { 'reboot': command = 'C:\WINDOWS\System32\shutdown.exe', arguments = -r -f -t 01, user = 'SYSTEM', trigger = { schedule= weekly, start_time = '06:00',

Re: [Puppet Users] jenkins workflow

2014-08-07 Thread Nick Cammorato
Pre-commit hooks are great but Github and github enterprise won't enforce them(arbitrary code on the server is uncool for some reason), so if you want to be 100% and use either they still need to be run as part of your jenkins build task. On Aug 6, 2014 7:11 PM, John Warburton jwarbur...@gmail.com

[Puppet Users] Puppet agent memory usage on the master

2014-08-07 Thread Chris Ritson
I've been trying for a while to work out why my puppet agent run on the puppet master was consuming so much time and memory. With a single webrick master running puppet puppet-3.6.2-1.el6 and serving about 100 clients, I was seeing agent runs on the master of the order of 4000 seconds. I was

[Puppet Users] masterless puppet agent metrics, status reporting via ELK stack

2014-08-07 Thread Walid
Hi, I am looking for hints, pointers, URLS about collecting puppet metrics and agent status using logstash filters? kind regards Walid -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails

[Puppet Users] Puppetdb query. Search two classes

2014-08-07 Thread Maksim Podlesniy
How I may find all nodes with two specified classes? Example: find all nodes with class Nginx and Php Sorry for my bad english. -- 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,

[Puppet Users] Globally ignore .svn

2014-08-07 Thread Brian Wilkins
In Puppet 3.6.2, how do you globally ignore .svn directories? Links on the internet state to put File { ignore = '.svn' } in site.pp but that does not work. I tried putting it in nodes.pp, but I receive the error: Invalid parameter ignore on File[etc_facter_folder] at path to manifest on node

Re: [Puppet Users] masterless puppet agent metrics, status reporting via ELK stack

2014-08-07 Thread Bill Fraser
Hi Walid, I *think* this may be what you're looking for: https://github.com/logstash/puppet-logstash-reporter It is a Puppet report handler that sends event and metric details of agent runs to Logstash via TCP input. See the following page for more information about the various metrics that are

Re: [Puppet Users] Puppetdb query. Search two classes

2014-08-07 Thread Ken Barber
I might be thinking about this the wrong way, but I think the API can only do so much on the server side to achieve this. In particular I want to do a distinct aggregation but we don't support that. Fortunately, this is achievable on the command line with a tool like JGrep:

Re: [Puppet Users] external_nodes setting with Environments

2014-08-07 Thread Vincent Bernat
On Friday, February 25, 2011 2:10:13 PM UTC+1, Thomas Bellman wrote: On 2011-02-25 13:27, Dave Augustus wrote: I have added the following in my puppetmaster.conf file: [production] manifest = $vardir/env/production/manifests/site.pp modulepath =

Re: [Puppet Users] hiera variable problem

2014-08-07 Thread José Luis Ledesma
Hi, What's the content of /etc/puppet/hieradata/common.yaml ? Does the hiera command line works? Something like: $ hiera nom Regards, El 07/08/2014 13:34, Christian Charpentier char...@gmail.com escribió: Hi, I've been using hiera for several weeks now and all was working fine til few days

Re: [Puppet Users] Puppetdb query. Search two classes

2014-08-07 Thread José Luis Ledesma
If you have puppetdb you can query it through curl or puppetdbquery https://docs.puppetlabs.com/puppetdb/latest/api/query/tutorial.html https://github.com/dalen/puppet-puppetdbquery El 07/08/2014 14:45, Maksim Podlesniy cryptspi...@gmail.com escribió: How I may find all nodes with two

Re: [Puppet Users] masterless puppet agent metrics, status reporting via ELK stack

2014-08-07 Thread Walid
Thank Bill, will take a look On 7 August 2014 16:18, Bill Fraser fra...@pythian.com wrote: Hi Walid, I *think* this may be what you're looking for: https://github.com/logstash/puppet-logstash-reporter It is a Puppet report handler that sends event and metric details of agent runs to

[Puppet Users] Puppet/yum fails to install old packages

2014-08-07 Thread Mark Rosedale
Hello, So I'm specifying specific packages to install for some of my critical software. This is specifically related to centos/yum. When new packages are released I get errors when running puppet saying that yum has failed to install the specified package because a newer version is available,

[Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Stella
I am trying to install MCollective to my Puppet 3.6.2 with Dashboard 1.2.23. I searched online and found that there are so many components related with MCollective such as Agent(different agents), Client, Common, etc. http://yum.puppetlabs.com/el/6.5/products/x86_64/ If I only want to have

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Johan De Wit
On 07/08/14 16:39, Stella wrote: I am trying to install MCollective to my Puppet 3.6.2 with Dashboard 1.2.23. I searched online and found that there are so many components related with MCollective such as Agent(different agents), Client, Common, etc.

Re: [Puppet Users] hiera variable problem

2014-08-07 Thread Christian Charpentier
No, the command to get the hiera variable value (hiera nom) doesn't work. The common.yaml file contents: --- apache_packages_list: - apr-1.4.8 - apr-devel-1.4.8 - apr-util-1.5.2 - apr-util-devel-1.5.2 - distcache-1.4.5 - distcache-devel-1.4.5 - httpd-2.4.6 - httpd-tools-2.4.6 -

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Stella
Hi Johan, Thank you for the quick reply. I took a look at the slides you provided. Now much clear, but still some questions: 1. In the slides, it talks about first get Vagrant box. Is that a puppet VM? I don't want to use one, since I already have puppet setup on my own machine. Is this OK?

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Christopher Wood
I found I learned more about how to install mcollective by reading the puppet module along with the docs, plus with the module it's a reasonably easy install. https://forge.puppetlabs.com/puppetlabs/mcollective On Thu, Aug 07, 2014 at 08:31:41AM -0700, Stella wrote: Hi Johan, Thank

Re: [Puppet Users] hiera variable problem

2014-08-07 Thread Christopher Wood
Run your puppetmaster in debug mode to see what's happening in detail. If that doesn't give you any hints, strace the process. Somewhere in one of those you will see what's going on. su - puppet puppet master --config /etc/puppet/puppet.conf --debug --no-daemonize 21 | tee /var/tmp/pm1.log

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Stella
Wow, this google puppet user group is tremendous, people here are so helpful! I have read the puppet mcollecctive module description and yes, it clarified a lot of confusion. Mcollective's terminology really differs from what we normally use. So after I download the puppetlabs-mcollective

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Christopher Wood
First, read the whole module, it will help. Mostly you use the main mcollective module and pass parameters to get what you want. There are some minimal plugins included with this module, some others are packaged at rpm.puppetlabs.com/apt.puppetlabs.com, others are obtainable from git. I have

[Puppet Users] Puppet Template for controlling puppet nodes puppet.conf file help

2014-08-07 Thread Linwood Johnson
I have created a module for my environment that would control the content and formatting of the puppet.conf file on my nodes however I have ran into a problem with this. The problem is, I have a few servers out in my environment that was built with their hostnames in all caps. What happens is

[Puppet Users] Announce: Puppet Enterprise 3.3.1 is available

2014-08-07 Thread Geoff Nichols
Dear Puppet Enterprise Users, Puppet Enterprise 3.3.1 is now available. This is a security and bugfix release of Puppet Enterprise. All users of Puppet Enterprise 3.x are encouraged to upgrade when possible to Puppet Enterprise 3.3.1. Puppet Enterprise 3.3.1 includes fixes to address Java

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Stella
Thank a lot Chris! I think I got the big picture. What I plan to do: 1. puppet module install puppetlabs-mcollective 2. review module configure files and edit with correct parameter values 3. push module to puppet master and agent puppet master: mcollective middleware and client puppet

[Puppet Users] Help with puppetlabs-firewall physdev rule

2014-08-07 Thread Matthew Hyclak
Hi all, I'm looking at the firewall type documentation and either I'm missing something or I can't do what I need to do. I have a Red Hat Enterprise Virtualization server I'm bringing under puppet control. One of the firewall rules generated by the RHEV installer is as follows: -A FORWARD -m

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Stella
Quick question: I am following instruction on the forge module for MCollective install and configuraiton. https://forge.puppetlabs.com/puppetlabs/mcollective It gives the example of I just want to run it, what's the minimum I need?. ***

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Matthew Hyclak
Generally you'll want the server on all of your hosts - assuming you want to be able to talk to them with mco as well. The client is only needed from the host you want to do the controlling from (e.g. your puppetmaster to request puppet runs from your nodes) and the middleware can be anywhere. I

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Stella
Gosh, you guys reply so quickly! Now I see...actually it makes sense. Even for puppet itself, puppet master host also has a puppet agent on it. Thanks a lot for every reply. Finally I collected all the information and will now run puppet apply site.pp and puppet agent --test to push

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Christopher Wood
(inline) On Thu, Aug 07, 2014 at 12:03:59PM -0700, Stella wrote: Quick question: I am following instruction on the forge module for MCollective install and configuraiton. https://forge.puppetlabs.com/puppetlabs/mcollective It gives the example of I just want to run it,

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread Stella
It works as a charm!!! Many thanks to everyone! Here is a summary of all the information I have collected about MCollective. Hope it will help other people around. Overview of MCollective Components and Configuration https://docs.puppetlabs.com/mcollective/

[Puppet Users] Any Web Gui for MCollective ?

2014-08-07 Thread Stella
As we know, live management is not available in open source dashboard. So I installed MCollective command line to achieve most of the same things. Also I heard that there are a few Web Gui out there for MCollective. I googled and found two: KERMIT http://www.kermit.fr mcomaster

Re: [Puppet Users] Install MCollective -- What are the basic components?

2014-08-07 Thread José Luis Ledesma
Hi, A couple of side notes. 1. You can use the mcollective::plugin defined type to install the different agents 2. It's recommended to use SSL for authentication to enhance security. ( in fact not using it is very insecure) Regards, El 07/08/2014 22:22, Stella stellatian1...@gmail.com escribió:

Re: [Puppet Users] Globally ignore .svn

2014-08-07 Thread Garrett Honeycutt
On 8/7/14 9:10 AM, Brian Wilkins wrote: In Puppet 3.6.2, how do you globally ignore .svn directories? Links on the internet state to put File { ignore = '.svn' } in site.pp but that does not work. I tried putting it in nodes.pp, but I receive the error: Invalid parameter ignore on

Re: [Puppet Users] Globally ignore .svn

2014-08-07 Thread Brian Wilkins
Hmm, it's working now! Thanks On Thursday, August 7, 2014 6:11:41 PM UTC-4, Garrett Honeycutt wrote: On 8/7/14 9:10 AM, Brian Wilkins wrote: In Puppet 3.6.2, how do you globally ignore .svn directories? Links on the internet state to put File { ignore = '.svn' } in site.pp but that

[Puppet Users] integration with agent-side password management tool

2014-08-07 Thread Thomas Müller
Hi We have some requirement to integrated with a password management tool. We only have access to the credentials on the agent-side and we may not put them into a fact. two possible solutions come to mind: - we could create ruby functions to query the credentials. If they could be used in