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

2010-06-08 Thread Héctor Rivas
Hello, First I want to point that I am completely new in puppet, and I am playing a little bit around with it. I am still learning the language. In our site, we have AIX and Linux systems. I find that puppet has some lacks on AIX, and probably we will code some providers and recipes. Is there an

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

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

2010-08-30 Thread Héctor Rivas Gándara
2 patchlevel 174) [rs6000-aix] /srv/scripts/puppet/puppet.ctl.sh: line 117: 319712 IOT/Abort trap (core dumped) $PUPPETD ${PUPPET_OPTS} ${PUPPET_EXTRA_OPTS} --onetime --no-daemonize --verbose Is this normal? How is the best way to monitor all the puppet network? -- Atentamente Héctor Rivas -- Yo

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
known why this problem happens? Any sugestion do debug it? Thank you. -- Atentamente Héctor Rivas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from

[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
caught exception of type NoMethodError: undefined method `merge' for false:FalseClass Wed Sep 01 14:00:22 +0200 2010 //aix1.myhost.com//Stage[main]/Cgx_unixserver::Srv_tree/File[/srv] (err): Failed to generate additional resources using 'eval_generate': Invalid parameter 0(0) at /cg

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

2010-09-03 Thread Héctor Rivas Gándara
Now I am not getting Segmentation Faults or random ruby syntax errors on AIX. But I still have the "Mysql::Error: MySQL server has gone away" error, both on AIX and ZLinux. Somebody opened a new ticket in the traker: http://projects.reductivelabs.com/issues/4694 -- Atentamente Héctor Ri

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

2010-09-03 Thread Héctor Rivas Gándara
921 socket ruby26100 puppet 20u unix 0x81003c53a140 1691003 socket ruby26100 puppet 21u unix 0x81003c53a400 1693685 socket ruby26100 puppet 22u unix 0x81002f412f40 1731935 socket ... etc... -- Atentamente Héctor Rivas On Thu, Sep 2

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
== "\n", not "\r\n" like in Windows files. Check ALL the .pp files, not only the one that reports failure. Using Windows end of lines will cause completely random errors in random files. If you have a Windows formated .pp file somewhere it could make it fail, even if you don&#

[Puppet Users] SSLVerifyClient required with Apache+Mongrel

2010-09-06 Thread Héctor Rivas Gándara
e configuration: SSLVerifyClient optional client is able to establish SSL connection and the certificate request can be signed from puppetmaster. How is the correct setting? Is "SSLVerifyClient optional" correct or should be "requiered"? -- Atentamente Héctor Rivas -- Yo

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

2010-09-06 Thread Héctor Rivas Gándara
). So using "optional" will simulate the behaviour of an default standalone puppetmaster (without apache). Don't it? -- Atentamente Héctor Rivas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

Re: [Puppet Users] Errors in 2.6.1

2010-09-06 Thread Héctor Rivas Gándara
EOL problem :) I noticed the same behavior than you: when you have a syntax error, second runs report missing definitions. I always thought that it was how puppet cached the code. But it is a harmless problem, once you are used to it you known that you just need to relaunch puppetd. -- Aten

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

2010-09-07 Thread Héctor Rivas Gándara
is thread :) (authenticated users can edit pages). -- Atentamente Héctor Rivas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, se

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

2010-09-07 Thread Héctor Rivas Gándara
only when needed. * Only one node (puppetmaster) will check if there are new updates. * You can easily force apt-get update if needed -- Atentamente Héctor Rivas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

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

2010-09-29 Thread Héctor Rivas Gándara
/common/extdata/hosts/node2.mydomain.com.csv connect_allowed_groups,group1,group3 But I do not like too much the extlookup solution because: * I can not define a common subset of groups that all host will inheret (except the ones that overwrite this value). May be using again the "def

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

2010-09-29 Thread Héctor Rivas Gándara
uppet-users/browse_thread/thread/39f73655629d6705?fwc=1&pli=1 Wiki of Mongrel http://projects.puppetlabs.com/projects/puppet/wiki/Using_Mongrel refer to this at the end. -- Atentamente Héctor Rivas -- You received this message because you are subscribed to the Google Groups "Puppet Us

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
uot; since it is a attribute, not a dictionary. > 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 to. > Th

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

2010-09-30 Thread Héctor Rivas Gándara
e plain YAML files for a time. I think that is easy to manage and convenient to have all this configuration in a yaml file. And I can add it to a CVS repository. Later import it to other system (like dashboard) would be easy. In fact, I recomend all new users to start working with plain YAML fi

[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

[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
be used due to the order limitation. Well, I suppose that the assert function that I propose is just "syntax sugar", since it can be always expressed as an 'if' sentence. But it could be useful to check the parameters needed in a module, for instance. -- Atentamente Héctor

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

2010-12-02 Thread Héctor Rivas Gándara
es will be very useful in this case, for instance: 1. Create a "alias" device for a disk based on its unique_id: data_dist = AixDiskDevice< unique_id == 1234 > MkNod("/dev/data_disk", charather, data_disk.mayor, data_disk.minor). 2. Configure a network based on its

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
proposes which I can access via SSH, I will find some time in my free time to work on it. If not, I will try to help anybody as far as possible. Thank you a lot! -- Atentamente Héctor Rivas -- You received this message because you are subscribed to the Google Groups "Puppet Users"

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: >>