Re: [Puppet Users] Could not intern from pson after server upgrade (again)

2014-06-03 Thread Andrei-Florian Staicu
On Tue, Jun 3, 2014 at 11:48 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Uhm, tricky. Can you make sure that agent and master use the same Ruby version for Puppet? It may be worthwile to try running both on Ruby 1.9.3. HTH, Felix On 06/03/2014 10:34 AM, Andrei-Florian

Re: [Puppet Users] Could not intern from pson after server upgrade (again)

2014-06-03 Thread Andrei-Florian Staicu
On Tue, Jun 3, 2014 at 12:15 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: OK, next try then. Can you do a puppet master --configprint all | grep serialization and a puppet agent --configprint all | grep serialization respectively? Are there differences? Again, they look

Re: [Puppet Users] Could not intern from pson after server upgrade (again)

2014-06-03 Thread Andrei-Florian Staicu
On Tue, Jun 3, 2014 at 12:59 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Ah, would have been too simple anyway. Another weird thought - what is your facter version. Is that perhaps too old? On 06/03/2014 11:56 AM, Andrei-Florian Staicu wrote: This is the output. Also full

Re: [Puppet Users] Could not intern from pson after server upgrade (again)

2014-06-03 Thread Andrei-Florian Staicu
On Tue, Jun 3, 2014 at 1:18 PM, Andrei-Florian Staicu andrei.sta...@gmail.com wrote: On Tue, Jun 3, 2014 at 12:59 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Ah, would have been too simple anyway. Another weird thought - what is your facter version. Is that perhaps too old

Re: [Puppet Users] Could not intern from pson after server upgrade (again)

2014-06-03 Thread Andrei-Florian Staicu
On Tue, Jun 3, 2014 at 2:40 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 06/03/2014 12:18 PM, Andrei-Florian Staicu wrote: More bad news: facter-2.0.1-1.el6 on both of them. Ummm... did I already say thanks for your help :) Well that would have been premature because I'm

Re: [Puppet Users] Could not intern from pson after server upgrade (again)

2014-06-03 Thread Andrei-Florian Staicu
On Tue, Jun 3, 2014 at 3:04 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 06/03/2014 01:53 PM, Andrei-Florian Staicu wrote: However, I don't understand if that has any effect on the puppet master, or who/what installed it. As I said, puppet was happily running at version

Re: [Puppet Users] Could not intern from pson after server upgrade (again)

2014-06-03 Thread Andrei-Florian Staicu
On Tue, Jun 3, 2014 at 3:45 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 06/03/2014 02:35 PM, Andrei-Florian Staicu wrote: What do you think of the output below? Should I try manually updating the gems that don't come from an rpm? Yeah, I'd try and get rid of at least

[Puppet Users] mysql value lookup from manifest

2013-11-13 Thread Andrei-Florian Staicu
Hi, What would be the best way to get a something from mysql? I was looking at hira-mysql, but it doesn't seem to be able to run arbitrary commands. For example, I want to get part of the motd from mysql, depending on the hostname. Up until now, i was using a script, calling it with generate the

Re: [Puppet Users] Re: mysql value lookup from manifest

2013-11-13 Thread Andrei-Florian Staicu
Thanks, I will continue like that. On Thu, Nov 14, 2013 at 1:17 AM, jcbollinger john.bollin...@stjude.orgwrote: On Wednesday, November 13, 2013 2:32:36 PM UTC-6, SAF wrote: Hi, What would be the best way to get a something from mysql? I was looking at hira-mysql, but it doesn't seem to

[Puppet Users] Networker module

2013-11-06 Thread Andrei-Florian Staicu
Hi all, I've been trying to build a module for the networker backup software, however I don't feel confident enought to release it on the forge. While it does the job for my needs, it lacks even the basic spec-ing. I've been trying to get the hang of rspec-puppet, but from all the tutorials i've

[Puppet Users] Managing conflicting forge dependencies

2013-10-28 Thread Andrei-Florian Staicu
Hi all, How do you manage different forge modules that require conflicting versions for the same module? The most common example is ripienaar/concat vs puppetlabs/concat: puppetlabs/puppetdb requires puppetlabs/postgreql 2.x, which requires ripienaar/concat puppetlabs/apache requires

[Puppet Users] Re: Managing conflicting forge dependencies

2013-10-28 Thread Andrei-Florian Staicu
Yes, that dependency is solved with the puppetdb module upgrade to 3.0 Unfortunately, there are other interesting modules that still depend on ripienaar, such as example42/sudo. I guess I'll just have to wait for updates. Thanks for your time. On an unrelated issue (and since I'm still starting

[Puppet Users] using rubygems from epel

2013-10-23 Thread Andrei-Florian Staicu
Hi, I'm trying to install a new puppet master. The passenger documentation says that I should gem install rack passenger Would it be possible (version-wise) to use instead the epel packages? yum install rubygem-rack rubygem-passenger mod_passenger installs the following versions: rubygem-rack

Re: [Puppet Users] b64_zlib_yaml errros after server upgrade to

2013-09-19 Thread Andrei-Florian Staicu
, Sep 19, 2013 at 4:02 PM, Henrik Nicolaisen h...@esoftsystems.comwrote: On Thursday, September 19, 2013 12:45:43 AM UTC+2, Patrick Carlisle wrote: On Tue, Sep 17, 2013 at 1:14 AM, Andrei-Florian Staicu andrei...@gmail.com wrote: Any idea if this is a recognized bug? I don't think

[Puppet Users] b64_zlib_yaml errros after server upgrade to

2013-09-17 Thread Andrei-Florian Staicu
Hi, After upgrading the puppet server to puppet-server-3.3.0-1.el6.noarch, I get the following on a puppet-3.2.2-1.el6.noarch client: puppet agent --test --noop Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not intern from b64_zlib_yaml: invalid bit length

[Puppet Users] Re: b64_zlib_yaml errros after server upgrade to

2013-09-17 Thread Andrei-Florian Staicu
Sorry, I pasted the wrong message. These are the errors: puppet agent --test --noop Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not intern from b64_zlib_yaml: invalid code lengths set puppet agent --test --noop --debug Error: Could not retrieve catalog from

[Puppet Users] Re: b64_zlib_yaml errros after server upgrade to

2013-09-17 Thread Andrei-Florian Staicu
%22%3A%7' not in PSON! After some searching around, i found this: cd /usr/share/puppet-dashboard/config/ ; rake db:migrate , but did not help (and it shouldn't do anything, since the puppetdb was not upgraded). Thanks for any pointers. On Tue, Sep 17, 2013 at 3:29 PM, Andrei-Florian Staicu

[Puppet Users] Re: b64_zlib_yaml errros after server upgrade to

2013-09-17 Thread Andrei-Florian Staicu
Well, In case anyone is interested, after a rollback with yum to puppet-server-3.2.4-1.el6.noarch, it works again, with no errors. It also seems to work well with 3.3.0 clients. Thanks. On Tue, Sep 17, 2013 at 4:20 PM, Andrei-Florian Staicu andrei.sta...@gmail.com wrote: Again, sorry

Re: [Puppet Users] passwordless ssh

2013-04-27 Thread Andrei-Florian Staicu
Isn't this somewhat described here? http://docs.puppetlabs.com/guides/exported_resources.html On Fri, Apr 26, 2013 at 9:12 PM, Jerald Sheets que...@gmail.com wrote: Not here. I'm in one of those environments. :) On Apr 26, 2013, at 2:04 PM, Bert Cauwelier bertber...@hotmail.com wrote:

[Puppet Users] Get class members

2013-04-26 Thread Andrei-Florian Staicu
Hi, For clusters, we use a script called allnodes, that let's us easily execute stuff on (surprise) all cluster nodes. The script is easily deployed by puppet, but uses a config file, which is just the list of hostnames. We cannot get this list dynamically from the cluster (for example via hasys

[Puppet Users] Manifest changes not applied

2013-04-11 Thread Andrei-Florian Staicu
Hi, I have right now puppet 3.1.1, with the server on apache. From time tot time, I have the following problem: on an agent, i do puppet agent --test, the manifest gets applied, with configuration version (let's say) 1365671863. After that, I modify the manifest for that node, try again puppet

[Puppet Users] Can't convert Puppet::Util::Log into Integer

2013-03-26 Thread Andrei-Florian Staicu
Hi all, Could anyone help me at least start debugging this issue? All agents have the same error, but i can't find anything on the master-side logs. And the agent-side logs are non-existent (/var/log/puppet is empty). Thanks. Versions: Master: Red Hat Enterprise Linux Server release 6.3

Solved: [Puppet Users] Can't convert Puppet::Util::Log into Integer

2013-03-26 Thread Andrei-Florian Staicu
your puppet.conf. - Keith - Keith On 26 March 2013 09:04, Andrei-Florian Staicu andrei.sta...@gmail.comwrote: Hi all, Could anyone help me at least start debugging this issue? All agents have the same error, but i can't find anything on the master-side logs. And the agent-side logs

[Puppet Users] (offtopic) Viewing dependency graphs

2013-01-27 Thread Andrei-Florian Staicu
Hi all, I know it's offtopic but, after 12 hours of digging and testing, maybe you can help me: I have all the graphs from the agents downloaded to a central server, and I'd like to be able to view them there. Converting them to png's is useless, singe the resulting images are huge. Anyone of

[Puppet Users] user resource, get password from command on master

2012-12-10 Thread Andrei-Florian Staicu
Hi all, I started managing users with puppet (3). Right now it works ok, but I have to change the hash manually in the manifest files. I would like users to login to the puppet master and change the password for themselves. Could I do something like this? password = `grep $user /etc/shadow | awk

Re: [Puppet Users] user resource, get password from command on master

2012-12-10 Thread Andrei-Florian Staicu
On Mon, Dec 10, 2012 at 10:28 AM, Martin Alfke tux...@gmail.com wrote: Hi Andrei, On 10.12.2012, at 09:22, Andrei-Florian Staicu wrote: Hi all, I started managing users with puppet (3). Right now it works ok, but I have to change the hash manually in the manifest files. I would like

Re: [Puppet Users] how to trigger puppet run on agents remotely

2012-10-31 Thread Andrei-Florian Staicu
On Wed, Oct 31, 2012 at 8:57 PM, Nishant Jain nishant.cit...@gmail.com wrote: Hello Everybody, I am looking for a way to trigger puppet rum remotely. so that i don't need to login into individual nodes and perform the puppet agent --test from there. Is there any

[Puppet Users] ERB template, both client and master data

2012-10-16 Thread Andrei-Florian Staicu
Hi all, I'm trying to build a motd template for all my linux machines. This should contain two type of variables: - client side (from facter), like operatingsystem and architecture - supplied by the master, after parsing a text file (or querying a mysql db), like description and location. So.

[Puppet Users] mcollective tcp port

2012-10-09 Thread Andrei-Florian Staicu
Hi all, I'm trying to prepare a common config for the DMZ hosts, and also to account for future infrastructure upgrades. Right now, I'm using only the puppet agent, triggered via SSH. This mean an open port 8140, from the client to the puppetmaster (is it required also the other way around?). I

Re: [Puppet Users] mcollective tcp port

2012-10-09 Thread Andrei-Florian Staicu
On Tue, Oct 9, 2012 at 10:21 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - From: Andrei-Florian Staicu andrei.sta...@gmail.com To: puppet-users@googlegroups.com Sent: Tuesday, October 9, 2012 7:28:25 AM Subject: [Puppet Users] mcollective tcp port Hi all, I'm trying

Re: [Puppet Users] mcollective tcp port

2012-10-09 Thread Andrei-Florian Staicu
On Tue, Oct 9, 2012 at 10:36 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - From: Andrei-Florian Staicu andrei.sta...@gmail.com To: puppet-users@googlegroups.com Sent: Tuesday, October 9, 2012 8:29:41 AM Subject: Re: [Puppet Users] mcollective tcp port On Tue, Oct 9

[Puppet Users] upgrade to 3.0, ruby and rhel 5

2012-10-09 Thread Andrei-Florian Staicu
Hi all, I wanted to upgrade today the clients to 3.0 but, for RHEL 5, ruby 1.8.7 is not in the official repos. If we upgrade from the official (1.8.5) package to the puppetlabs provided one, there is a good chance that we will lose support for several applications that we are running. Is there a

Re: [Puppet Users] upgrade to 3.0, ruby and rhel 5

2012-10-09 Thread Andrei-Florian Staicu
On Tue, Oct 9, 2012 at 7:55 PM, Matthaus Owens matth...@puppetlabs.com wrote: Oh, sorry, I didn't understand what you had written before responding. Please ignore my reply :). No worries, thanks for replying. Another solution/question would be: could i function properly with puppetmaster 3.0

Re: [Puppet Users] Puppet 3.0 deprecates the kick command

2012-10-02 Thread Andrei-Florian Staicu
On Tue, Oct 2, 2012 at 9:06 PM, Corby Wilson corb...@gmail.com wrote: I use the command puppet kick to do remote triggers of a 60 node cluster. In the new release (3.0) it deprecated the command and the command fails with: Error: Host lcms-dn1.aws.tie.noklab.net failed: Error 400 on SERVER:

[Puppet Users] (again) configuration client already in progress

2012-09-21 Thread Andrei-Florian Staicu
Hi all, I know this issue was discussed ad nauseam, but I did'nt find any of the solution applicable to me. So, the situation: I have 60 clients managed by puppet. All are RHEL 5/6, almost up-to-date regarding packages. All of them have puppet 2.7.19.-1.el(5|6). I have 14 client that won't go out

[Puppet Users] dmz network configuration

2012-08-28 Thread Andrei-Florian Staicu
Hi all, I need to install puppet agent on some DMZ hosts, so I need to have all TCP ports. Can anyone tell me what the data flow is between agents and the master? Also, what would be the case when using MCollective, inseatad of puppet kick? Thanks. -- Beware of programmers who carry

[Puppet Users] certname=hostname SSL errors

2012-06-08 Thread Andrei-Florian Staicu
Hi all, I ran into the following problem: Until now, i used fqdn as certname (i.e. had no certname defined in puppet.conf, so defaults applied) and everything worked fine. However, I wanted to use tthe short hostname as certname, so I redeployed the puppet.conf file, re-generated the certificates

Re: [Puppet Users] certname=hostname SSL errors

2012-06-08 Thread Andrei-Florian Staicu
On Fri, Jun 8, 2012 at 11:54 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi, On 06/08/2012 10:50 AM, Andrei-Florian Staicu wrote: so I redeployed the puppet.conf file, re-generated the certificates and signed them, and removed the old certificates from the master. However

Re: [Puppet Users] Re: Restart service on ensure running ; class dependecies

2012-06-07 Thread Andrei-Florian Staicu
On Thu, Jun 7, 2012 at 4:03 PM, jcbollinger john.bollin...@stjude.org wrote: On Jun 6, 12:33 pm, Andrei-Florian Staicu andrei.sta...@gmail.com wrote: First, for services that have ensure=runnig and for which service bla status returns not running, can puppet be convinced to call service bla

[Puppet Users] Restart service on ensure running ; class dependecies

2012-06-06 Thread Andrei-Florian Staicu
Hi all, May i get your opinion on the following two subjects? First, for services that have ensure=runnig and for which service bla status returns not running, can puppet be convinced to call service bla restart instead of service bla start? Second question, about class dependencies. I have a

[Puppet Users] exclude puppetmaster from default

2012-05-30 Thread Andrei-Florian Staicu
Hi all, Can you tell me if the puppetmaster (which is also a puppet node) can be excluded from the default node definition? The idea is that new unclassified nodes should get the puppet.conf and auth.conf files by default, but these files are pretty different on the master. Thanks. -- You

Re: [Puppet Users] exclude puppetmaster from default

2012-05-30 Thread Andrei-Florian Staicu
On Wed, May 30, 2012 at 7:39 PM, Peter Bukowinski pmb...@gmail.com wrote: On May 30, 2012, at 12:13 PM, Andrei-Florian Staicu wrote: Hi all, Can you tell me if the puppetmaster (which is also a puppet node) can be excluded from the default node definition? The idea is that new unclassified