[Puppet Users] Re: Error 400 on SERVER: Could not find class pentaho for server.test.com

2013-09-10 Thread Sneha More
Hi Have you changed any facts and used in your class pentaho? broken handeling of facts may give such error. will you please elaborate on your development environment? Thanks & Regards, Sneha More, NTT DATA GTS, OSS Center, India (Pune), On Monday, September 9, 2013 8:47:04 PM UTC+5:30, Edua

Re: [Puppet Users] chocolatey, windows, powershell and fault bucket

2013-09-10 Thread Josh Cooper
On Saturday, August 24, 2013, badgerious wrote: > I opened a ticket about this a few days ago: > http://projects.puppetlabs.com/issues/22258 > > (Doing a bit of reading/poking at code, but so far everything I know is on > the ticket) > > Eric > > -- > You received this message because you are subs

[Puppet Users] Re: Purge puppet's reports

2013-09-10 Thread Andrew
Using tidy to clean up logs, this is pretty self-explanatory, so I wont bother explaining :) case $hostname { /^puppet$/: { tidy { 'puppet::reports': path => '/var/lib/puppet/reports', matches => '*', age => '14d', backup => false,

[Puppet Users] Announce: Simple Puppet Forge implementation

2013-09-10 Thread Erik Dalén
Here's a simple implementation of the puppet forge (only supports the API to download and install modules) if you want to run a site local forge. It doesn't require any database backend and instead just reads the modules from a directory on disk. So to add more modules to it just copy/scp/rsync the

[Puppet Users] Re: Run a build module on first logon for new puppet clients

2013-09-10 Thread kdo
Thank you very much for your replies, they got me thinking and I now think I have a work around that could work in our environment using a custom fact at first sign in which then calls a build module. once the build module has run it clears up the trigger and the server then gets filtered as nor

Re: [Puppet Users] Re: Puppet Forge Happenings

2013-09-10 Thread Erik Dalén
For this purpose I created a simple forge implementation: https://github.com/dalen/simple-puppet-forge On 9 September 2013 16:19, octomeow wrote: > How do I create forge server for internal modules? Due to security > concerns, we are limited in > what we can public back to the community, but w

Re: [Puppet Users] Custom Fact undefined in manifests

2013-09-10 Thread Denmat
Hi, That looks a weird way of using facts. In my opinion that kind of detail should be in your puppet code, not your fact code. What I would push out as facts are things like: > v_ntp__ntp_conf=default And then use puppet code to manage the 'if $::v_ntp...' (Notice top scope there for the fac

Re: [Puppet Users] Where does the puppet master get its hostname

2013-09-10 Thread Greg Coit
Nathan, It was spun up by hand from a CentOS 6.4 disk. I added the grover lines to the /etc/hosts file myself after setting the hostname. Greg -- Greg Coit gregc...@gmail.com 707-845-0317 On Tue, Sep 10, 2013 at 12:34 PM, Nathan Valentine wrote: > Out of curiosity, your Puppet master was spun

[Puppet Users] Custom Fact undefined in manifests

2013-09-10 Thread David Thompson
I'm working with custom facts with facter 1.7.2. I've created a fact file with an ntp configuration fact in it: # grep ntp_conf /etc/facter/facts.d/myfacts.txt v_ntp__ntp_conf=puppet:///modules/ntp/DEFAULT/ntp_conf facter knows the fact is there: # facter -p v_ntp__ntp_conf puppet:///modules/

Re: [Puppet Users] Where does the puppet master get its hostname

2013-09-10 Thread Nathan Valentine
Out of curiosity, your Puppet master was spun up how? As a Vagrant VM? On Tue, Sep 10, 2013 at 3:23 PM, Greg Coit wrote: > Man, I could have swear i tested this... > > /etc/sysconfig/network was correct. > > /ets/hosts had: > > ip grover grover.example.com > > I switched that to: > > ip grover.

Re: [Puppet Users] Where does the puppet master get its hostname

2013-09-10 Thread Greg Coit
Man, I could have swear i tested this... /etc/sysconfig/network was correct. /ets/hosts had: ip grover grover.example.com I switched that to: ip grover.example.com grover and the cert is now named grover.example.com. :) Thank you!!! Greg On Tuesday, September 10, 2013 12:16:12 PM UTC-7,

Re: [Puppet Users] Where does the puppet master get its hostname

2013-09-10 Thread Cory Stoker
Puppet uses Facter to determine the FQDN. I believe Facter uses a few methods to try and figure out the domain part, namely: hostname -f dnsdomainname parse out /etc/resolv.conf for the domain or search lines. HTH, Cory On Tue, Sep 10, 2013 at 1:16 PM, Nathan Valentine wrote: > Check both of t

[Puppet Users] Where does the puppet master get its hostname

2013-09-10 Thread Greg Coit
Hi all, I have a new puppet server named grover.example.com. I've set both the server and certname to grover.example.com in /etc/puppet/puppet.conf (this is CentOS 6.4). I've also verified the hostname: hostname: grover.example.com However, when I start puppetmaster, it always created a cert

Re: [Puppet Users] Where does the puppet master get its hostname

2013-09-10 Thread Nathan Valentine
Check both of the following: /etc/hosts and /etc/sysconfig/network. -- --- Nathan Valentine - nat...@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscrib

[Puppet Users] Re: Use of defined()

2013-09-10 Thread jcbollinger
On Monday, September 9, 2013 10:44:30 AM UTC-5, blalor wrote: > > As my previous email this morning probably indicated, I'm struggling with > the use of the defined( ) function. The > documentation > says > its operation is

Re: [Puppet Users] Re: Incorrect return code for failed exec

2013-09-10 Thread Igor Berger
Should log an issue about this someplace? On Tuesday, September 3, 2013 10:56:01 AM UTC-4, Igor Berger wrote: > > It returns 1053. The "sc start" command prints: > > [SC] StartService FAILED 1053: The service did not respond to the > start or control request in a timely fashion. > > You can

[Puppet Users] Regarding puppet server + foreman + passenger + Mcollective + RabbitQ setup guide with latesh centos OS

2013-09-10 Thread shyam sundar Keshari
Hi Team, Kindly guide me to setup puppet server + foreman + passenger + Mcollective + RabbitQ on cenots Latest OS with latest version of Puppet and all other components. Does anyone has any script for this which install all at once . Thanks in Advance -- You received this message because you a

[Puppet Users] Re: Puppet calls the ENC twice for some nodes.

2013-09-10 Thread jcbollinger
On Monday, September 9, 2013 6:26:26 AM UTC-5, pierra mathieu wrote: > > Hi everyone, > > I have an issue setting up Puppet with an ENC. > For some nodes, puppet calls my ENC twice with a 2 sec interval. > > All my agents share the same configuration file. > > > Considering this very basic ENC

Re: [Puppet Users] Re: Importing declarations into node/class scope

2013-09-10 Thread jcbollinger
On Monday, September 9, 2013 2:17:48 PM UTC-5, Stepan Seycek wrote: > > Hi John, > > Am 09.09.2013 15:39, schrieb jcbollinger: > > > > On Monday, September 9, 2013 1:52:43 AM UTC-5, Stepan Seycek wrote: >> >> Hi John, >> >> thanks for your reply. Unfortunately that does not solve my actual

[Puppet Users] Re: Puppet Master fails when dashboard is unreachable

2013-09-10 Thread Chris Lee
Hi Marcus We aren't running PuppetDB, so hoping that shouldn't effect anything? Chris -- 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...@

[Puppet Users] Re: Ordering and templates question/issue

2013-09-10 Thread sjr
Hi John, thanks for your answer, first of all I must say I just wanted to experiment and learn, it's not like I'm going to put such "awful hacks" :-) in productionmostly because I guess it's easy they can be changed over the time as they are not part of puppet DSL and so, it can be harder t

[Puppet Users] Re: Ordering and templates question/issue

2013-09-10 Thread jcbollinger
On Monday, September 9, 2013 6:13:46 PM UTC-5, sjr wrote: > > Hi, > > I've been doing some tests with some internal methods just to mess a > little and learn a bit about puppet internals but found myself in a > situation which I don't really understand and I was hoping someone around > could h

[Puppet Users] Setting up PE from scratch with PuppetDB/Postgres on separate box

2013-09-10 Thread Steven James
Hi All, I'm trying to setup a new Pupp Ent instance from scratch with PuppetDB/Postgres on a sep box. I think I have it working, but it took a bit of doing. I just wanted to check that there's not a more straight forward way. I'm aiming for an HA proxy load balanced pair of PuppetMasters, CA a

[Puppet Users] puppetdb query not working as expected

2013-09-10 Thread hai wu
Running puppet only at around 4am once a day here. And I noticed that puppetdb query not working as expected, if using it to query nodes based on some custom fact value. During the days, things are working fine. But if I ran the same query at around say 3am (searching nodes based on some custom fa

Re: [Puppet Users] Puppet Master fails when dashboard is unreachable

2013-09-10 Thread Marcus Franke
Hi, I guess the puppetdb is running on the dashboard server aswell? I think the storeconfigs/exported ressources will fail with the database unavailable. Marcus -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and

[Puppet Users] vcsrepo: "Error 400 on Server: Invalid parameter provider"

2013-09-10 Thread milesnpeebles
With custom type 'vcsrepo', I've been getting this error ever since I restarted my master box: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter provider at /etc/puppet/environments/local/modules/user_mpeebles/manifests/init.pp:56 on node 1001.milespe

[Puppet Users] Puppet Master fails when dashboard is unreachable

2013-09-10 Thread Chris Lee
I would like to know if anyone has seen this before or has any suggestions. After a power cut recently we were bringing our farm back on line, and our dashboard server (separate to our puppet master) was not online yet as reporting at this point was not considered critical. However, we noticed

[Puppet Users] template + sign and storedconfig = mysql -> Error 400

2013-09-10 Thread Johan De Wit
Hi, Anyone experienced a simular issue ? We have a template which is in fact a patch file, thus containing mutliple lines where the first character is a + We use storedconfigs, at the moment mysql, Thin_storeconfigs = false (default) whenever we use this template in a file resource, we get fo