Re: [Puppet Users] Re: Puppet AIX contributions and small AIX nfs mountpoint snippet

2010-06-09 Thread Héctor Rivas Gándara
On Tue, Jun 8, 2010 at 8:31 PM, donavan wrote: > > On Jun 8, 2:39 am, Héctor Rivas wrote: > > Is there anybody working extending puppet for AIX? > > How is the best way to share our improvements and colaborate? > > I believe Andrew Forgue did a lot (all?) of the existing AIX work. You > can see a

[Puppet Users] How report errors and random errors in clients

2010-08-30 Thread Héctor Rivas Gándara
Hello, I am using puppet 2.6.1rc3 in a test environment with AIX, Suse, Debians. Right now there are 5 clients...  I am running puppet from cron each 30m (using random minute per host).  I have prepared a configuration ready to deploy puppet in all our infrastructure. If I deploy and use it every

Re: [Puppet Users] How report errors and random errors in clients

2010-08-30 Thread Héctor Rivas Gándara
> We monitor the logs the same way we monitor for any other failures in our > system.  I would generally suggest you take the same approach, since it means > you don't have two distinct processes for detecting problems. > (In my case, that involves both 'logcheck' as per the Debian package, and >  

[Puppet Users] Error reporting to dashboard clients : "err: Could not send report: end of file reached"

2010-09-01 Thread Héctor Rivas Gándara
Hello, I am using puppet 2.6.1rc3 and puppet-dashboard-1.0.3 I set up online reporting setting in puppetmaster configuration: reports = store,log,tagmail,http reporturl = http://localhost:3000/reports It is working, new reports are loaded in puppet-dashboard, but whenever I execute the cl

[Puppet Users] Re: Error reporting to dashboard clients : "err: Could not send report: end of file reached"

2010-09-01 Thread Héctor Rivas Gándara
2010/9/1 Héctor Rivas Gándara : > I am using puppet 2.6.1rc3 and puppet-dashboard-1.0.3 > > It is working, new reports are loaded in puppet-dashboard, but > whenever I execute the client I get this error: > err: Could not send report: end of file reached > Do you known why th

Re: [Puppet Users] How report errors and random errors in clients

2010-09-01 Thread Héctor Rivas Gándara
2010/8/30 Héctor Rivas Gándara : >>> The errors appear once or two times, randomly, and if I execute the >>> client again it works properly. They are usually these kind of errors: >> You will probably find life improved by deploying >> another mode of operation fo

Re: [Puppet Users] How report errors and random errors in clients

2010-09-01 Thread Héctor Rivas Gándara
On Wed, Sep 1, 2010 at 4:55 PM, Patrick wrote: > > On Sep 1, 2010, at 5:28 AM, Héctor Rivas Gándara wrote: >> I still have random "Segmentation Faults" with ruby on AIX. I will >> ignore them for the moment until I will compile last ruby source (may >> be 1.9.x)

[Puppet Users] Random errors in AIX-Zlinux clients

2010-09-02 Thread Héctor Rivas Gándara
The errors appear once or two times, randomly, and if I execute the client again it works properly. They are usually these kind of errors: >>>  You will probably find life improved by deploying >>> another mode of operation for the puppetmaster daemon, and using a real >>> database (I use

Re: [Puppet Users] Random errors in AIX-Zlinux clients

2010-09-03 Thread Héctor Rivas Gándara
> Bad luck, it is still failing with random errors, but more related to > the platform: > > On a Suse ZLinux (s390x) installation (and a pair of times on AIX > servers) I get this error related to MySQL: "MySQL server has gone > away". > And I still get these random errors on AIX. I think that it m

Re: [Puppet Users] err: Too many open files - /var/lib/puppet/state/state.yaml.tmp

2010-09-03 Thread Héctor Rivas Gándara
>> I keep on getting this message: >> err: Too many open files - /var/lib/puppet/state/state.yaml.tmp >> Does anybody know what might be causing it? >> I am having the same problem. I think that it is a socket leak in puppetmaster (it does not properly closes sockets). To workaround the problem y

Re: [Puppet Users] err: Too many open files - /var/lib/puppet/state/state.yaml.tmp

2010-09-03 Thread Héctor Rivas Gándara
2010/9/3 Héctor Rivas Gándara : > To workaround the problem you can increase the ulimit for open files > (/etc/security/limits.conf) and restart puppetmaster periodically > (¿each 6h?). About this solution, I think that I found another bug in puppetmasterd: http://projects.reductiv

Re: [Puppet Users] Errors in 2.6.1

2010-09-06 Thread Héctor Rivas Gándara
On Sat, Sep 4, 2010 at 10:44 PM, Douglas Garstang wrote: > Can someone tell me why, when I restart puppet on the client, I get this: > > Sep  4 20:41:49 s_...@db01.pax.livegamer.com puppet-agent[26756]: > Could not retrieve catalog from remote server: Error 400 on SERVER: > Syntax error at ';'; e

[Puppet Users] SSLVerifyClient required with Apache+Mongrel

2010-09-06 Thread Héctor Rivas Gándara
Hello, In the wiki "Using_Mongrel" http://projects.reductivelabs.com/projects/puppet/wiki/Using_Mongrel it proposes a configuration with the option: SSLVerifyClient require But with this option set I am not able to register new clients. When I run a new puppet client, I get the error: warning:

Re: [Puppet Users] SSLVerifyClient required with Apache+Mongrel

2010-09-06 Thread Héctor Rivas Gándara
On Mon, Sep 6, 2010 at 12:52 PM, Ohad Levy wrote: >> But if I set in apache configuration: >> >> SSLVerifyClient optional >> >> client is able to establish SSL connection and the certificate request >> can be signed from puppetmaster. > by enabling require, you basically say - the client is alre

Re: [Puppet Users] Errors in 2.6.1

2010-09-06 Thread Héctor Rivas Gándara
> Can someone tell me why, when I restart puppet on the client, I get this: > > Sep  4 20:41:49 s_...@db01.pax.livegamer.com puppet-agent[26756]: > Could not retrieve catalog from remote server: Error 400 on SERVER: > Syntax error at ';'; expected '}' at > /etc/puppet/module

Re: [Puppet Users] SSLVerifyClient required with Apache+Mongrel

2010-09-07 Thread Héctor Rivas Gándara
> So whoever can modify the wiki pages, do it. You will be seen as a hero for > all the future puppet users coming ;) And thanks Héctor for asking, I wanted > to send an email about that but I forgot, your email acted as a reminder ;) Actually I changed the wiki adding the comments of this thread

Re: [Puppet Users] Puppet + APT, I am lost...

2010-09-07 Thread Héctor Rivas Gándara
> For the past week, I have been trying to figure out the best way to do > package management with Puppet on an Ubuntu system. I have studied many > solutons I found on the web, but none of them seem to do exactly what I want. I am not sure if somebody proposed this already, but may be you can us

[Puppet Users] Overwrite default settings in nodes using external nodes.

2010-09-29 Thread Héctor Rivas Gándara
In my puppet environment I tryed to implement default configuration that can be extended in child node definition. For instance: * All the linux SSH servers must allow connect two groups: group1 and group2 * Each node (or classnode) should can have more groups allowed to connect. * Som

Re: [Puppet Users] err: Could not request certificate: sslv3 alert handshake failure error

2010-09-29 Thread Héctor Rivas Gándara
On Wed, Sep 29, 2010 at 5:01 PM, Tim wrote: > > Hi, > > I've setup the puppetmaster to start 5 processes each listening on a > different port, with an Apache server in front. This works fine for > existing clients, however when I try to add a new client (ie. a newly > installed machine with no pre

Re: [Puppet Users] Overwrite default settings in nodes using external nodes.

2010-09-29 Thread Héctor Rivas Gándara
On Wed, Sep 29, 2010 at 3:46 PM, Bruce Richardson wrote: > On Wed, Sep 29, 2010 at 02:59:28PM +0200, Héctor Rivas Gándara wrote: >> Also, from my tests I checked that the parameters (please correct me if I am >> wrong): >>  - Are stored in global scope: All classes has acces

Re: [Puppet Users] Overwrite default settings in nodes using external nodes.

2010-09-30 Thread Héctor Rivas Gándara
> We have simple inheritance in our external node classifier like this: Actually, yaml itself allows the definition of Relational Trees (http://en.wikipedia.org/wiki/YAML#Relational_trees) that allow you to do something like: - &linux name: linux parameters: one_parameter: "value1" ot

Re: [Puppet Users] Overwrite default settings in nodes using external nodes.

2010-09-30 Thread Héctor Rivas Gándara
>> We have simple inheritance in our external node classifier like this: >> We only allow one level, and includes cannot include other includes. >> Parameters specified in a node yaml override the same parameter in an >> include yaml. >> Oh, and we have a default node that all of this is appended t

[Puppet Users] How to check if a parameter is defined

2010-10-01 Thread Héctor Rivas Gándara
Fast question: How can I check wether a parameter is defined or not. For instance a function that would fail (with a parser error) if the variable is not defined: check_defined($avar) or check_defined("$avar") -- Atentamente Héctor Rivas -- You received this message because you are subscribed

[Puppet Users] Re: How to check if a parameter is defined

2010-10-01 Thread Héctor Rivas Gándara
y proposal about this? -- Atentamente Héctor Rivas 2010/10/1 Héctor Rivas Gándara : > Fast question: > > How can I check wether a parameter is defined or not. For instance a > function that would fail (with a parser error) if the variable is not > defined: > > check_defined($a

Re: [Puppet Users] Re: How to check if a parameter is defined

2010-10-01 Thread Héctor Rivas Gándara
>> I think that add assertions would be a good idea. They could check >> True/False conditions, if variables are defined or not, if objects are >> defined... Is there any proposal about this? > > I think the problem with such things is that they are dependent on the > order puppet evaluates the cat

[Puppet Users] Access to resource attributes (or parameters) and complex queries in collections

2010-12-02 Thread Héctor Rivas Gándara
Hello, I have been searching in the puppet documentation for the these functionalities (see below for examples):  - Access to resource attributes or parameters to use in the recipes. I say attributtes because may the types and providers can be extended to get read-only resource attributes that ca

Re: [Puppet Users] Access to resource attributes (or parameters) and complex queries in collections

2010-12-03 Thread Héctor Rivas Gándara
On Fri, Dec 3, 2010 at 3:55 AM, Daniel Pittman wrote: > Héctor Rivas Gándara writes: > >> I have been searching in the puppet documentation for the these >> functionalities (see below for examples): >> >>  - Access to resource attributes or parameters to use in the

[Puppet Users] Access to an AIX box shell to continue developing AIX providers

2011-02-08 Thread Héctor Rivas Gándara
Hello, I have developed a pair of small providers for AIX: user, group and mount. They should be polished and tested before merge them in main puppet branch. My problem is that I have just changed jobs, and now I do not have access to any AIX box. So I can not continue properly supporting such pa

Re: [Puppet Users] Re: [Puppet-dev] Access to an AIX box shell to continue developing AIX providers

2011-02-13 Thread Héctor Rivas Gándara
pretty easy create an LPAR or a WPAR with a restricted virtualized network. For an LPAR, 1GB memory would be enough, and 0.5 procs or shared procs with the lowest priority. -- Atentamente Héctor Rivas On Wed, Feb 9, 2011 at 7:24 PM, James Turnbull wrote: > Héctor Rivas Gándara wrote: >>