Re: [Puppet Users] Puppet and Passenger.. configprint

2012-06-05 Thread Jo Rhett
If you read the docs for that parameter, it only takes webrick or nginx. It determines that it's running under passenger from it's environment while running. On Jun 5, 2012, at 7:53 PM, JA wrote: > Hello everyone... > > I have configured the puppetmaster to use Apache/Passenger. However, > exe

Re: [Puppet Users] Windows architecture fact

2012-06-05 Thread Josh Cooper
Hi Marcus, On Tue, Jun 5, 2012 at 6:26 PM, Markus Falb wrote: > On 4.6.2012 18:42, Josh Cooper wrote: >> We recently fixed the hardwaremodel and architecture facts on Windows >> as they were always returning i386[1]. The change will be in the >> upcoming 1.6.10 release of Facter[2]. The new behav

Re: [Puppet Users] Puppet and Passenger.. configprint

2012-06-05 Thread Gary Larizza
On Tuesday, June 5, 2012 at 7:53 PM, JA wrote: > Hello everyone... > > I have configured the puppetmaster to use Apache/Passenger. However, > executing a configprint (puppet --configprint all) from either the > puppetmaster or an agent shows > > What does puppet master --configprint servert

[Puppet Users] Puppet and Passenger.. configprint

2012-06-05 Thread JA
Hello everyone... I have configured the puppetmaster to use Apache/Passenger. However, executing a configprint (puppet --configprint all) from either the puppetmaster or an agent shows servertype = Webbrick Has anyone else seen this? What do I need to do to correct this? Thanks! JA -- You r

Re: [Puppet Users] Windows architecture fact

2012-06-05 Thread Markus Falb
On 4.6.2012 18:42, Josh Cooper wrote: > We recently fixed the hardwaremodel and architecture facts on Windows > as they were always returning i386[1]. The change will be in the > upcoming 1.6.10 release of Facter[2]. The new behavior is that > hardwaremodel will return something like i686, ia64, x6

Re: [Puppet Users] Not using expired node for targethost from cache; expired

2012-06-05 Thread Jo Rhett
Or the class is failing to compile for some reason. You have to check the logs on the master to find out why. It only tells you once. On Jun 5, 2012, at 4:43 PM, Berry Sizemore wrote: > When I execute puppet agent --test --debug --verbose on the target host, I > receive the following error messa

[Puppet Users] Not using expired node for targethost from cache; expired

2012-06-05 Thread Berry Sizemore
Hi, When I execute *puppet agent --test --debug --verbose* on the target host, I receive the following error message: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class pe_accounts for targethost on node targethost warning: Not using cache on failed ca

Re: [Puppet Users] Puppet First Run after Install failing in module pe_mcollective

2012-06-05 Thread Jeff McCune
On Tue, May 22, 2012 at 6:58 AM, Shiva wrote: > I am installing puppet enterprise manager (master) on a RHEL box. > Though the install itself succeeds without any issues, the first run > of puppet when it tries to deploy the pe_mcollective module fails with > the following error. > > Message: > ch

[Puppet Users] Re: mysql or postgresql

2012-06-05 Thread akaroot
On 5 Чер, 22:16, Deepak Giridharagopal wrote: > Roughly how many facts per node are we talking about, here? I could try > running some simulations and see what happens. On average 80-90 facts per host, it's about 1500 inserts per second. Will mysql cope with the load? I plan migrate to MariaD

Re: [Puppet Users] mysql or postgresql

2012-06-05 Thread Deepak Giridharagopal
On Mon, Jun 4, 2012 at 7:54 PM, Denmat wrote: > You should checkout puppetdb which currently locks you into PostgreSQL. > > Docs here: > http://docs.puppetlabs.com/#puppetdbpuppetdb09 > > It's new so may be buggy - though I haven't seen any reports on this > (haven't looked ;) ) > > Indeed, it's

Re: [Puppet Users] how to avoid ssh_authorized_key duplicates ?

2012-06-05 Thread Jo Rhett
Hi, you should check this out: http://lmgtfy.com/?q=puppet+custom+facts On Jun 5, 2012, at 8:17 AM, eduardo wrote: > The fact is while I'm looking for solution I found a reference to > file_line customs facts into https://github.com/puppetlabs/puppetlabs-stdlib, > it's amazing functionalit

Re: [Puppet Users] Re: Autoscaling with Puppet

2012-06-05 Thread Lorenzo Salvadorini
> What are other users doing with autoscale to define their nodes.pp? A > wildcard match? Basing replies off a custom > fact like this? I'm already looking at using a non-fqdn based certname via > user-data... but that general part in > autoscale is a bit obscured for me. I use the certname (=FQ

[Puppet Users] Re: Need help resolving bad Puppet module entries for STIG

2012-06-05 Thread jcbollinger
On Jun 4, 9:41 am, Swampcritter wrote: > I discovered that a number of our STIG Puppet modules are failing. I am > thinking its because the code is wrong because when I make a quick chance > to the actual code being used, then the code actually works as intended. [...] >         exec { "/bin/b

[Puppet Users] Re: mysql or postgresql

2012-06-05 Thread akaroot
I suspect that the deadlock caused by insert trigger (for a log of changes some of the facts) DELIMITER $ $ DROP TRIGGER IF EXISTS `facts_insert`; CREATE TRIGGER facts_insert BEFORE INSERT ON `fact_values` FOR EACH ROW BEGIN IF (SELECT `name` FROM `fact_names` where `id` = NEW.fact_name_id) in

[Puppet Users] how to avoid ssh_authorized_key duplicates ?

2012-06-05 Thread eduardo
Hi all, I appreciate any help about 2 questions. First one is about how to avoid duplicate lines in authorized_keys, having something like : define add_ssh_key( $key, $type ) { $username = $title ssh_authorized_key{ "${username}_${key}": ensur

[Puppet Users] Re: mysql or postgresql

2012-06-05 Thread akaroot
On 5 Чер, 17:51, Kewin wrote: > now we use mysql (manage about 1000 nodes) ,the pressure is not the > mysql , but from the puppetmaster .always occur timeout for nodes to > get the infomation > I recommand the percona if U prefer the mysql > > On 6月5日, 上午4时05分, akaroot wrote: I plan migrate

[Puppet Users] Re: mysql or postgresql

2012-06-05 Thread Kewin
now we use mysql (manage about 1000 nodes) ,the pressure is not the mysql , but from the puppetmaster .always occur timeout for nodes to get the infomation I recommand the percona if U prefer the mysql On 6月5日, 上午4时05分, akaroot wrote: > Hi! > Which database would you recommend to use mysql or p

Re: [Puppet Users] Re: Autoscaling with Puppet

2012-06-05 Thread Matthew Boeckman
Thanks, that's very helpful. What are other users doing with autoscale to define their nodes.pp? A wildcard match? Basing replies off a custom fact like this? I'm already looking at using a non-fqdn based certname via user-data... but that general part in autoscale is a bit obscured for me. Or, p

[Puppet Users] Re: Why or who disabled client?

2012-06-05 Thread jcbollinger
On Jun 5, 2:13 am, Pavel Drobushevich wrote: > Hi all, > > Sometimes one of agent prints message "Skipping run of Puppet configuration > client; administratively disabled; use 'puppet Puppet configuration client > --enable' to re-enable." and stops working. No one  disables it. Any reason > why

[Puppet Users] Re: Configuring Puppet for OnApp Cloud

2012-06-05 Thread jcbollinger
On Jun 5, 3:37 am, ankush grover wrote: > Thanks Kevin and Jeff. > > As of now I want to keep the implementation simple > > * Use Hostname/ipaddress+uuid for certificates > * Enabled Autosigning on the Puppet Master > > Is there any variable something like this(posted on the puppet list an hour

[Puppet Users] Re: Nginx + passenger + puppetmaster

2012-06-05 Thread Rémi
Ok. No problem for me with Nginx. So this is configuration, if you want to compare with yours : *nginx.conf :* worker_processes 4; events { worker_connections 1024; } http { passenger_root /usr/lib/ruby/gems/1.8/gems/passenger-3.0.11; passenger_ruby /usr/bin/ruby; passenger_use

[Puppet Users] Re: Nginx + passenger + puppetmaster

2012-06-05 Thread vulzscht
Thanks, Rémi But this is already this way # ls -l /etc/puppet/rack/config.ru -rw-r--r-- 1 puppet puppet 432 2012-06-01 13:25 /etc/puppet/rack/ config.ru for me it solved with adding auth no allow * to every record in /etc/puppet/auth.conf but i'm sure this is not good idea. I still can't underst

[Puppet Users] Re: mysql or postgresql

2012-06-05 Thread akaroot
In mysql error log: 120605 12:50:50 [ERROR] /usr/sbin/mysqld: Deadlock found when trying to get lock; try restarting transaction 120605 12:50:50 [ERROR] /usr/sbin/mysqld: Sort aborted: Deadlock found when trying to get lock; try restarting transaction -- You received this message because you

Re: [Puppet Users] Configuring Puppet for OnApp Cloud

2012-06-05 Thread ankush grover
Thanks Kevin and Jeff. As of now I want to keep the implementation simple * Use Hostname/ipaddress+uuid for certificates * Enabled Autosigning on the Puppet Master Is there any variable something like this(posted on the puppet list an hour ago) export FACTER_FACT_AUTOSCALE_GROUP=webgroup-b wh

[Puppet Users] Re: mysql or postgresql

2012-06-05 Thread akaroot
Now I have about 1 000 hosts and I received deadlock errors: Puppet: Could not retrieve catalog from remote server: Error 400 on SERVER: Mysql::Error: Deadlock found when trying to get lock; try restarting transaction: INSERT INTO `fact_values` (`fact_name_id`, `updated_at`, `host_id`, `value`,

Re: [Puppet Users] Configuring Puppet for OnApp Cloud

2012-06-05 Thread Kevin
Have you considered an mcollective based puppet provisioner such as https://github.com/ripienaar/mcollective-server-provisioner ( http://www.youtube.com/watch?v=lxeYYOhI0S0 ) This would handle the certificate creation and signing and should expand to manage certname\hostname with ease. (though i wo

[Puppet Users] Why or who disabled client?

2012-06-05 Thread Pavel Drobushevich
Hi all, Sometimes one of agent prints message "Skipping run of Puppet configuration client; administratively disabled; use 'puppet Puppet configuration client --enable' to re-enable." and stops working. No one disables it. Any reason why it happens? Thanks in advance. -- You received this m