[Puppet Users] How to get agents ip address in master manifest file

2014-08-13 Thread Malintha Adikari
Hi, I have a requirement to get the value of the ip address which send the request for the catalog for the master in one of my manifest file. How can i retrieve it inside master manifest file ? Regards, Malintha -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: How to get agents ip address in master manifest file

2014-08-13 Thread Paul Tötterman
I have a requirement to get the value of the ip address which send the request for the catalog for the master in one of my manifest file. How can i retrieve it inside master manifest file ? Read about facts: https://docs.puppetlabs.com/learning/variables.html Cheers, Paul -- You

[Puppet Users] Re: Could not request certificate: Error 405 on SERVER

2014-08-13 Thread Patrick Robinson
I had a similar error getting 405. I found I hadn't set the PassengerRoot directory correctly in the puppetmaster vhost config: PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-4.0.48 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] puppet can't get the right service status from centos5.3

2014-08-13 Thread li jackie
https://lh4.googleusercontent.com/-2j8w2ZuysAU/U-rOEIf5WGI/AIQ/oE2NS4B_-oQ/s1600/AEB7B4B0-75CF-4074-B133-02610CDDC042.pngwhy puppet think the service is running?

Re: [Puppet Users] How to install GIT on puppet Server

2014-08-13 Thread Jason Antman
The module doesn't install git from source, because nobody should install packages from source on a RedHat derivative OS. Have you read the documentation for the git module? Or the package type, since you're specifying the source parameter? On Tue, Aug 12, 2014 at 7:17 PM, Vikas Kumar

Re: [Puppet Users] How to make puppetlabs_spec_helper ignore modules inside fixtures

2014-08-13 Thread Jason Antman
Seb, You really shouldn't be running specs for dependent modules. (1) If I were you, I'd really use the spec helper, and garethr's module skeleton - https://github.com/garethr/puppet-module-skeleton (2) looking at your code, you should just be able to t.pattern =

Re: [Puppet Users] increasing frequency of puppet agent runs during initial deployment?

2014-08-13 Thread Jason Antman
On Thu, Jul 31, 2014 at 9:21 AM, jcbollinger john.bollin...@stjude.org wrote: That being said... don't run via cron. ... if all you want it for is provisioning. For Puppet's core use -- ongoing configuration management -- there are a lot of advantages to scheduling agent runs via cron

Re: [Puppet Users] More admins using the same master

2014-08-13 Thread Jason Antman
Yeah. You don't need to give them access to the master, you need something (I use a git hook on the git server) that deploys new pushes to the master. On Tue, Aug 5, 2014 at 12:15 PM, Christopher Wood christopher_w...@pobox.com wrote: Off the top of my head, have them commit/push to the same

Re: [Puppet Users] increasing frequency of puppet agent runs during initial deployment?

2014-08-13 Thread José Luis Ledesma
+1000 El 13/08/2014 14:50, Jason Antman ja...@jasonantman.com escribió: On Thu, Jul 31, 2014 at 9:21 AM, jcbollinger john.bollin...@stjude.org wrote: That being said... don't run via cron. ... if all you want it for is provisioning. For Puppet's core use -- ongoing configuration

Re: [Puppet Users] Puppet's yumhelper.py vs. other pythons on the system

2014-08-13 Thread Jason Antman
So... there *is* a bug open that relates to this, https://tickets.puppetlabs.com/browse/PUP-2144 (and by extension https://tickets.puppetlabs.com/browse/PUP-1362 which appears to be being worked on, and would fix this). I don't know if that should work, and I honestly don't know how to set a

Re: [Puppet Users] jenkins workflow

2014-08-13 Thread Jason Antman
(1) a compile test is good, really good. make sure cheap tests happen first (and fail fast) before expensive ones. (2) I have a strong bias for having the automated jobs just run bundle exec rake test or something like that, so that you can use the same job for multiple modules On Thu, Aug 7,

Re: [Puppet Users] How to make puppetlabs_spec_helper ignore modules inside fixtures

2014-08-13 Thread Jason Antman
Seb, I actually *just* came by a very similar issue myself. The examples at http://murphyslaw.github.io/blog/2012/04/06/run-specs-excluding-integration-specs/ should help you. -Jason On Wed, Aug 13, 2014 at 8:42 AM, Jason Antman ja...@jasonantman.com wrote: Seb, You really shouldn't be

Re: [Puppet Users] Re: Puppet uses catalog of node B for node A

2014-08-13 Thread Helmut Rickel
Hello Jose, I have to correct myself: In https://docs.puppetlabs.com/learning/modules1.html https://www.google.com/url?q=https%3A%2F%2Fdocs.puppetlabs.com%2Flearning%2Fmodules1.htmlsa=Dsntz=1usg=AFQjCNGoq0dcHlmchq4oKTDL7djCyIwelg it is not suggested to use include in init.pp, but for an

[Puppet Users] Re: Augeas hates me!!!

2014-08-13 Thread randal cobb
ok, that didn't seem to help. I now have this result: Debug: Augeas[apache2](provider=augeas): Opening augeas with root /, lens path , flags 64 Debug: Augeas[apache2](provider=augeas): Augeas version 1.0.0 is installed Debug: Augeas[apache2](provider=augeas): Will attempt to save and only run

Re: [Puppet Users] Re: Puppet uses catalog of node B for node A

2014-08-13 Thread jcbollinger
Hello Helmut, I am glad you have resolved your issue. I have recently been travelling, and hence not responsive to this list, but I feel compelled to observe that the problem turned out to be exactly what I said in my initial response it might be: In particular, I am inclined to guess that

[Puppet Users] Re: Exported resources applied on exporting host - EL7 only

2014-08-13 Thread jcbollinger
On Tuesday, August 12, 2014 12:49:27 PM UTC-5, treydock wrote: I have noticed a very strange problem on CentOS 7 nodes where they are collecting and/or applying their exported resources. I have a class called brazos::firewall that's used internally to export a firewall rule that is then

[Puppet Users] Managing multiple hosts in a single service

2014-08-13 Thread Andrew Melo
Hello, all- I've been (unsuccessfully) looking for/thinking of a solution to the following problem and am unsuccessful, so I figured I'd ask here. If you have a service that's across multiple hosts (say, memcached or a mysql/galera HA cluster) where each node needs to know the hostnames of the

[Puppet Users] Chocolatey repos

2014-08-13 Thread huhm4n
Can I create my local repo to fetch the packages from instead of pulling it from the web using chocolatey? -- 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] Re: puppet slow when ensuring user with groups in combination with winbind auth

2014-08-13 Thread jcbollinger
On Monday, August 11, 2014 8:50:36 AM UTC-5, Jan van Lith wrote: Hi, I am using winbind with winbind enum groups = yes on some of our servers. When ensuring a user that is local (and also in AD, so it has a lot of groups) the puppet run takes ages. Winbind process is taking a lot of

[Puppet Users] Re: Wild Card in Augeas

2014-08-13 Thread David Lutterkort
Hi Vikas, to set multiple nodes, you need to use the 'setm' command; 'set' will only change a single node. Also, the path expressions in Augeas are more like XPath, and therefore don't have globbing built in. In augtool, you'd do what you want with this command: setm

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

2014-08-13 Thread jcbollinger
On Friday, August 8, 2014 10:33:48 AM UTC-5, Mark Rosedale wrote: Hey Matthias, Thanks for the response. So I do see some additional information that may help. So it appears that puppet does successfully install postgresql and postgresql-server and postgres92, and that explains what

[Puppet Users] CI manifest Validation when using Jenkins with a Windows node

2014-08-13 Thread aaronm
I'm working on trying to get some validations into my CI process but am hitting a speedbump - Windows I use Jenkins to do my builds, and the slave it uses is a Windows server. This works fine, as Winscp copies the files over to my linux Puppet Master and it sends the files on their merry

[Puppet Users] Submit a talk or attend a Puppet Camp

2014-08-13 Thread Dawn Foster
I wanted to let people know that we have several open CFPs for Puppet Camps around the world, and we are looking for talk proposals! Düsseldorf on October 16, 2014 * CFP deadline is August 16: https://docs.google.com/spreadsheet/viewform?formkey=dGFJQWdPeTREd01lZUxwNW12cEVUTFE6MA * Details:

[Puppet Users] Re: scheduled_task changes on every puppet run

2014-08-13 Thread aaronm
I am getting similar logs every day, but I am not using any scheduled tasks in my manifests... (**this is on PE 3.3 installed a week or two ago**) trigger changed '{'every' = '1', 'schedule' = 'daily', 'start_date' = '2014-8-12', 'start_time' = '13:00'}' to '[{'every' = '1', 'schedule' =

Re: [Puppet Users] How to make puppetlabs_spec_helper ignore modules inside fixtures

2014-08-13 Thread Wil Cooley
On Aug 12, 2014 11:57 AM, Sebastian Otaegui fen...@gmail.com wrote: Hello all, I have created this module: https://github.com/Spantree/puppet-thrift and everything worked fine all specs ran fine. Now I using the puppetlabs/apt module and when I run the 'rake spec' it is trying to run the

Re: [Puppet Users] Re: Augeas hates me!!!

2014-08-13 Thread John Warburton
On 14 August 2014 01:22, randal cobb rco...@gmail.com wrote: ok, that didn't seem to help. I now have this result: Debug: Augeas[apache2](provider=augeas): Opening augeas with root /, lens path , flags 64 You may find templates much easier to manage I gave up on Augeas a long time ago due

Re: [Puppet Users] How to make puppetlabs_spec_helper ignore modules inside fixtures

2014-08-13 Thread Garrett Honeycutt
On 8/13/14 9:08 PM, Wil Cooley wrote: On Aug 12, 2014 11:57 AM, Sebastian Otaegui fen...@gmail.com mailto:fen...@gmail.com wrote: Hello all, I have created this module: https://github.com/Spantree/puppet-thrift and everything worked fine all specs ran fine. Now I using the

Re: [Puppet Users] Re: puppet slow when ensuring user with groups in combination with winbind auth

2014-08-13 Thread Garrett Honeycutt
On 8/13/14 12:57 PM, jcbollinger wrote: On Monday, August 11, 2014 8:50:36 AM UTC-5, Jan van Lith wrote: Hi, I am using winbind with winbind enum groups = yes on some of our servers. When ensuring a user that is local (and also in AD, so it has a lot of groups)