[Puppet Users] Re: mysql or postgresql

2012-06-05 Thread akaroot
I do not use puppet dashboard, I use my own software for store reports and generating hosts config. The database used to store inventory data (Facter facts). It create the most load on the database (insert many requests). -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Re: Configuring Puppet for OnApp Cloud

2012-06-05 Thread Jeff McCune
On Mon, Jun 4, 2012 at 10:17 PM, ankush grover ankushcen...@gmail.com wrote: On Mon, Jun 4, 2012 at 10:56 PM, Jeff McCune j...@puppetlabs.com wrote: On Sun, Jun 3, 2012 at 11:48 PM, ankush grover ankushcen...@gmail.com wrote: My approach will be like this generate uuid through uuidgen

[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

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

[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`,

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

[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

[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

[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;

[Puppet Users] Re: Configuring Puppet for OnApp Cloud

2012-06-05 Thread jcbollinger
On Jun 5, 3:37 am, ankush grover ankushcen...@gmail.com 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 Users] Re: Why or who disabled client?

2012-06-05 Thread jcbollinger
On Jun 5, 2:13 am, Pavel Drobushevich p.drobushev...@gmail.com 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.

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,

[Puppet Users] Re: mysql or postgresql

2012-06-05 Thread akaroot
On 5 Чер, 17:51, Kewin kewin2...@gmail.com 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

[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}: ensure

[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] Re: Need help resolving bad Puppet module entries for STIG

2012-06-05 Thread jcbollinger
On Jun 4, 9:41 am, Swampcritter mawors...@gmail.com 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. [...]        

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 (=FQDN)

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 functionality

Re: [Puppet Users] mysql or postgresql

2012-06-05 Thread Deepak Giridharagopal
On Mon, Jun 4, 2012 at 7:54 PM, Denmat tu2bg...@gmail.com 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 ;) )

[Puppet Users] Re: mysql or postgresql

2012-06-05 Thread akaroot
On 5 Чер, 22:16, Deepak Giridharagopal dee...@puppetlabs.com 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

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 shivaraman.ramad...@gmail.com 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

[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

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

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, x64,

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 servertype

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 markus.f...@fasel.at 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].