Re: [Puppet Users] Mcollective client installation

2014-02-17 Thread Johan De Wit
With PE, mco commands needs to be run as peadmin user, so, su - peadmin should do the trick. On 02/18/2014 12:17 AM, Jeremy T. Bouse wrote: Last time I installed PE and looked at the Mcollective install it wasn't using SSL but rather PSK only. On 02/17/2014 02:48 PM, José Luis Ledesma wrot

Re: [Puppet Users] Re: continued deployment

2014-02-17 Thread Peter Romfeld
Thanks for your answer! I read this book yesterday :) Right now I am adding logstash to my puppet config. Next I need to figure out the most fitting automated testing. It will be for a ejabberd/erlang plugin. Cheers, Peter On Mon, Feb 17, 2014 at 8:01 PM, JuanBrein wrote: > Have you read Cont

Re: [Puppet Users] Mcollective client installation

2014-02-17 Thread Jeremy T. Bouse
Last time I installed PE and looked at the Mcollective install it wasn't using SSL but rather PSK only. On 02/17/2014 02:48 PM, José Luis Ledesma wrote: > > I don't know how puppet enterprise works with mco, but in the open > source version you have to create a certificate for the user you are > g

Re: [Puppet Users] How to group systems using Puppet and hiera?

2014-02-17 Thread Ramin K
On 2/17/2014 1:05 PM, Alex Scoble wrote: Hi All, We are currently transitioning from using the Puppet Enterprise (PE) ENC to using hiera. Howevver, one piece of functionality that we lack with hiera is the ability to group systems together based on function. We can only currently group the syste

Re: [Puppet Users] How to group systems using Puppet and hiera?

2014-02-17 Thread Atom Powers
My environment is pretty small, so far, so I can get away with having host specific yaml files. I wrote an ENC that reads the host yaml files for role/group information because I plan to eventually move that data into a CMDB of some kind. At $previous_job I used LDAP as the CMDB and an ENC script

[Puppet Users] How to group systems using Puppet and hiera?

2014-02-17 Thread Alex Scoble
Hi All, We are currently transitioning from using the Puppet Enterprise (PE) ENC to using hiera. Howevver, one piece of functionality that we lack with hiera is the ability to group systems together based on function. We can only currently group the systems based on available facts and are curr

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-17 Thread Jay Benner
I tried them in chocolatey.ps1, but that just seemed to break chocolatey. On Monday, February 17, 2014 11:11:25 AM UTC-8, Jay Benner wrote: > > If I am going to use the workarounds mentioned in the bug article you > referenced, should I put that code into chocolateyinstall.ps1? > > On Friday, Feb

Re: [Puppet Users] Use the same resource in two dependent classes

2014-02-17 Thread Trevor Vaughan
Can you just have Class B 'include' class A and then have the appropriate resources in Class B notify/require what you need from Class A? If not, then you might need a Class C that provides the glue code using the relationship operators (->, ~>, etc...). Trevor On Mon, Feb 17, 2014 at 6:41 AM,

Re: [Puppet Users] Mcollective client installation

2014-02-17 Thread José Luis Ledesma
I don't know how puppet enterprise works with mco, but in the open source version you have to create a certificate for the user you are going to call mco and sign in with the middleware certificate. El 17/02/2014 18:50, "Deep" escribió: > Hi Jose, > > Thanks for your quick response and explaining

[Puppet Users] Re: Use the same resource in two dependent classes

2014-02-17 Thread Larry Fast
Declaring the Service as a Virtual Resource might help but I'm not sure how you inject B's dependencies. http://docs.puppetlabs.com/guides/virtual_resources.html It might just require a Notify inside B. On Monday, February 17, 2014 3:41:14 AM UTC-8, zerozer...@gmail.com wrote: > > Hi, > I have

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-17 Thread Jay Benner
If I am going to use the workarounds mentioned in the bug article you referenced, should I put that code into chocolateyinstall.ps1? On Friday, February 14, 2014 1:57:12 PM UTC-8, Rob Reynolds wrote: > > It looks to be a possible bug in the chocolatey provider that happens when > we try to captu

Re: [Puppet Users] Mcollective client installation

2014-02-17 Thread Deep
Hi Jose, Thanks for your quick response and explaining me in details. I tried mco ping command but getting below error. error 2014/02/17 16:23:00: activemq.rb:131:in `on_ssl_connectfail' SSL session creation with stomp+ssl://mcollective@gsldev23:61613 failed: nested asn1 error I am using belo

Re: [Puppet Users] Mcollective client installation

2014-02-17 Thread José Luis Ledesma
Hi, Mcollective has 3 roles: - the server installed in every puppet client - the middleware installed in puppet master - the client installed anywhere, puppet master is a good place The client is just the utilities to call commands, it attacks the middleware, authenticate with certificates, and i

[Puppet Users] Re: how to require a md5sum before installing?

2014-02-17 Thread Rafael Cristaldo
Em sexta-feira, 14 de fevereiro de 2014 13h38min03s UTC-2, Andy Spiegl escreveu: > > Hi, > > I've got several modules which grab installer files from a network > share. The share is readonly and as well protected as possibly. > But still, I have a bad feeling about it and would like to intro

[Puppet Users] Re: Using external facts in puppet manifests

2014-02-17 Thread Deep
Hi John, thanks a lot for your response. I am able to see the external fact value now. On Monday, February 17, 2014 2:33:40 PM UTC, jcbollinger wrote: > > > > On Friday, February 14, 2014 10:42:30 AM UTC-6, Deep wrote: >> >> Hi, >> >> I have created few external facts by putting an yaml file in

[Puppet Users] Mcollective client installation

2014-02-17 Thread Deep
Hi All, I have installed puppet enterprise which comes with Mcollective. I have installed Puppet Master on node 1 and puppet agent on node 2 and node 3. while installing , it asked me if I want to install Mcollective. I wanted to have Mcollective client on my Puppet Master. and Mcollective serv

Re: [Puppet Users] puppet kick

2014-02-17 Thread Matt Zagrabelny
On Mon, Feb 17, 2014 at 11:00 AM, kavya reddy wrote: > Hi all, > I just started working with puppet.i want a simple push mechanism from > puppet master on to agent.i tried using "puppet kick" though its running and > displaying message "successfully exited" the changes are not being reflected > on

[Puppet Users] puppet kick

2014-02-17 Thread kavya reddy
Hi all, I just started working with puppet.i want a simple push mechanism from puppet master on to agent.i tried using "puppet kick" though its running and displaying message "successfully exited" the changes are not being reflected on agent. I got to know puppet kick got deprecated in version 3

Re: [Puppet Users] Augeas with puppet 3.4.2

2014-02-17 Thread Dominic Cleal
The fix that Marcelo pointed out isn't relevant here, it's to fix a false positive log message. The log message is actually correct in this instance, no need to update augeas.rb. The Augeas library is unable to parse something on line 51 of your /etc/group file. From the debug: augeas/files/etc/

[Puppet Users] Re: classe uses two defines but second is ignored

2014-02-17 Thread jcbollinger
On Monday, February 17, 2014 4:13:38 AM UTC-6, Andreas Dvorak wrote: > > Hi John, > > thank you for your reply. You have found an other issue. > But my main problem is that the second call of "replace" is ignored. > > As I said at the end, I don't think the second 'replace' resource is being ig

[Puppet Users] Re: Custom policy executable

2014-02-17 Thread George Brown
So After re-reading the docs http://docs.puppetlabs.com/puppet/latest/reference/ssl_autosign.html#policy-executable-api I've made the following modification which works. #!/bin/bash HOST=$1 CUSTOM_ATTR=$(openssl req -noout -text -in "/var/lib/puppet/ssl/ca/requests/$HOST.pem" | grep "challen

Re: [Puppet Users] Re: Tags and dependencies

2014-02-17 Thread jcbollinger
On Friday, February 14, 2014 9:18:21 AM UTC-6, zerozer...@gmail.com wrote: > > On Friday, February 14, 2014 3:55:29 PM UTC+1, Felix.Frank wrote: > > On 02/14/2014 03:52 PM, zerozer...@gmail.com wrote: >> > File <| (tag == "myname::myclass") and (tag == "post_exec") |> >> >> While this looks s

Re: [Puppet Users] Re: Puppet Actions in Parallel?

2014-02-17 Thread Deepak Giridharagopal
On Sat, Feb 15, 2014 at 9:00 AM, Trevor Vaughan wrote: > Wow, that's quite some dead thread resurrection! > > I remember this being discussed in the past and part of the issue is that > so many parts of what Puppet is doing are I/O bound so I'm not really sure > what the parallelism would gain you

[Puppet Users] Re: Using external facts in puppet manifests

2014-02-17 Thread jcbollinger
On Friday, February 14, 2014 10:42:30 AM UTC-6, Deep wrote: > > Hi, > > I have created few external facts by putting an yaml file in > /etc/puppetlabs/facter/facts.d folder on agent and they are available in > puppetdb and in my erb templates. > > But I am not able to use them in puppet manifes

Re: [Puppet Users] Re: Puppet Actions in Parallel?

2014-02-17 Thread jcbollinger
On Sunday, February 16, 2014 10:43:53 AM UTC-6, Trevor Vaughan wrote: > > > [...] this may not happen but it would still be nice to have. > > > Well, I think the question that killed this thread the first time boils down to "would it really?". The speculation at the time was that parallel exe

[Puppet Users] Custom policy executable

2014-02-17 Thread George Brown
Hi, I'm trying to create an autosign policy which checks for a custom attribute in the CSR but I'm having some issue with the master not signing the request. My client has the following in /etc/puppet/csr_attributes.yaml custom_attributes: 1.2.840.113549.1.9.7: foo My policy is a simple ba

[Puppet Users] Re: continued deployment

2014-02-17 Thread JuanBrein
Have you read Continuous Delivery from Jez Humble? Is a great starting point covering main aspects. Look in youtube as well, there are plenty of videos from people implementing continuous delivery. Technology wise it is so wide that is difficult to find a single recipe. If you detail a bit mor

[Puppet Users] Use the same resource in two dependent classes

2014-02-17 Thread zerozerounouno
Hi, I have this situation: Class A: contains a File resource, and a Service resource which requires the File resource (the service needs to be restarted when the file changes). Class B: will be applied only on a subset of machines where class A is applied, and it requires class A - resources be

Re: [Puppet Users] Re: how to require a md5sum before installing?

2014-02-17 Thread Andy Spiegl
> My solution to that, has been to use a packaging system. Thanks, that's a good solution! For my windows clients I need something different, though. :-( Apparently there is no solution yet. How would I go about writing a plugin myself? Unfortunately I'm still too new to puppet... Thanks, Andy

[Puppet Users] Re: classe uses two defines but second is ignored

2014-02-17 Thread Andreas Dvorak
Hi John, thank you for your reply. You have found an other issue. But my main problem is that the second call of "replace" is ignored. I still do not understand the reason. Best regards, Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.