[Puppet Users] Re: Installing a lot of packages

2009-09-14 Thread ELTigre
On Sep 14, 1:56 pm, Peter Meier wrote: > Hi > > > I'd like to know at what level we can use puppet  to keep systems > > up2date. I appreciate if you share some experiences. > > :-) > Hi Pete, Thanks for your soon answer, We've always updated packages of principal services manually and other pac

[Puppet Users] Re: Installing a lot of packages

2009-09-14 Thread ELTigre
On Sep 14, 4:00 am, David Schmitt wrote: > Chris Blumentritt wrote: > > The spirit of puppet is to install via the package resource.  You could > > write a shell script to install using a text file as a data source then > > use the exec resource using onlyif to check to see if you need to run > >

[Puppet Users] Re: Installing a lot of packages

2009-09-12 Thread ELTigre
know. thanks a lot. regards, israel > > } > > I have no idea if the above will work and I doubt the erb is correct since > my ruby sucks. > > Chris > > On Sat, Sep 12, 2009 at 12:02 AM, ELTigre wrote: > > > How can I install a lot (more than 800) of APT packages

[Puppet Users] Installing a lot of packages

2009-09-11 Thread ELTigre
How can I install a lot (more than 800) of APT packages using an easy way in puppet? I mean, using some file.txt where I put there the packages I want to install and my package resource get the list . Is it possible? Or do I have to put all packages in the package resource? regards, Israel. --~--

[Puppet Users] Re: Error 403 on SERVER: Forbidden request:

2009-09-11 Thread ELTigre
On Sep 11, 10:58 am, Brice Figureau wrote: > On Fri, 2009-09-11 at 08:12 -0700, ELTigre wrote: > > I'm having this problem : > > > When a client vpsXXX  tries to get the catalog it returns this error: > > > vpsXXX:~# puppetd -tv > > warning: peer cer

[Puppet Users] Error 403 on SERVER: Forbidden request:

2009-09-11 Thread ELTigre
I'm having this problem : When a client vpsXXX tries to get the catalog it returns this error: vpsXXX:~# puppetd -tv warning: peer certificate won't be verified in this SSL session info: Caching certificate for ca warning: peer certificate won't be verified in this SSL session err: Could not re

[Puppet Users] Re: Errors after upgrade to 0.25.0

2009-09-10 Thread ELTigre
On Sep 10, 3:12 am, Brice Figureau wrote: > On Wed, 2009-09-09 at 07:31 -0700, Martin Englund wrote: > > After upgrading one of our puppetmasters to 0.25.0 we get the > > following errors on the client (also running 0.25.0): > > err: /File[/var/puppet/lib]: Failed to generate additional resourc

[Puppet Users] variables on files

2009-09-07 Thread ELTigre
I have this configuration: class monit { # Installing packages. package { "monit": ensure => latest; } file { "/etc/default/monit": owner => "root", group => "root", mode => "0644", source => "puppet:///monit/etc/default/monit", } file {

[Puppet Users] Re: Host type usage

2009-09-02 Thread ELTigre
ue} > > HOWEVER! this will delete any non manged resource in your /etc/hosts! handle > with care. > > Ohad > > On Thu, Sep 3, 2009 at 10:07 AM, ELTigre wrote: > > > Umm...thanks  joseph, but I see things begins to complicate because I > > don't know h

[Puppet Users] Re: restart puppetmaster when files change

2009-09-02 Thread ELTigre
l > > On Sun, Aug 30, 2009 at 11:34 AM, ELTigre wrote: > > > I create this class pmaster in order to restart puppetmaster daemon > > after /etc/puppet/puppet.conf  file change. > > > class pmaster  { > > >                file { "/etc/puppet/

[Puppet Users] Re: Host type usage

2009-09-02 Thread ELTigre
file resource with the content > parameter set to a template. In the template you can access the variables to > set up that line properly. Of course if you need to add more hosts to a > system it will be sort of a pita. > Sent from my Verizon Wireless BlackBerry > > -O

[Puppet Users] Re: Host type usage

2009-09-02 Thread ELTigre
A question: I want to make a class to delete all lines (if any) in /etc/hosts and add this two new lines: class hosts { host { "$hostname": ensure => present, ip => "$ipaddress", alias => ["$hostname"], name => ["$fqdn"], } host { "localhost": ensure =>

[Puppet Users] restart puppetmaster when files change

2009-08-30 Thread ELTigre
I create this class pmaster in order to restart puppetmaster daemon after /etc/puppet/puppet.conf file change. class pmaster { file { "/etc/puppet/puppet.conf": ensure => "file"; } service { "puppetmaster":

[Puppet Users] Re: installing different versions of packages (APT)

2009-08-29 Thread ELTigre
> for details. > > -Eric > > On Fri, 28 Aug 2009, ELTigre wrote: > > > I have debian lenny  puppet clients who use two repositories of > > packages, the main from debian OS, and another with some new deb > > files. > > > The problem? > > > I have

[Puppet Users] installing different versions of packages (APT)

2009-08-28 Thread ELTigre
I have debian lenny puppet clients who use two repositories of packages, the main from debian OS, and another with some new deb files. The problem? I have two versions of the same package, for example: collectd-4.4.2 from debian formally repository and collectd-4-7.2 from the other repository (

[Puppet Users] clients connect but file server get a cert error

2009-08-26 Thread ELTigre
I'm running puppetmasterd (0.24.8) with apache2 and mongrel on a debian host. Apache2, mongrel instances and puppetmaster runs in the same server. For example, a puppet client sign in puppetmaster and catch his catalog, it creaste files, folders, change permissions, start/stop services BUT can no

[Puppet Users] Re: proxy: No protocol handler was valid for the URL /RPC2 (SOLVED)

2009-08-25 Thread ELTigre
now! regards, Israel. On Aug 25, 2:38 pm, ELTigre wrote: > I'm running puppetmasterd (0.24.8) with apache2 and mongrel on a > debian host. Apache2, mongrel instances and puppetmaster runs in the > same server. My apache2 puppetmaster.conf file  is: > > PidFile /var/run/apac

[Puppet Users] [warn] proxy: No protocol handler was valid for the URL /RPC2

2009-08-25 Thread ELTigre
I'm running puppetmasterd (0.24.8) with apache2 and mongrel on a debian host. Apache2, mongrel instances and puppetmaster runs in the same server. My apache2 puppetmaster.conf file is: PidFile /var/run/apache2-puppetmaster.pid # Include module configuration: Include /etc/apache2/mods-enabled/*

[Puppet Users] Re: Alerts in puppet and puppetmaster

2009-08-15 Thread ELTigre
15, 8:44 pm, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > ELTigre wrote: > > thanks for your soon answers, :-) BUT, I'm just looking for a way to > > get some alerts immediately if there was some errors in a transaction > > on a puppet

[Puppet Users] Re: Alerts in puppet and puppetmaster

2009-08-15 Thread ELTigre
14 août, 20:39, ELTigre wrote: > >> Suppose I have 50 puppet client and a single puppetmaster. How can set > >> some alerts when some catalog applied to a client fail? Is this > >> possible? Does puppet brings some alerts of that kind? > > The logcheck configuratio

[Puppet Users] Alerts in puppet and puppetmaster

2009-08-15 Thread ELTigre
Suppose I have 50 puppet client and a single puppetmaster. How can set some alerts when some catalog applied to a client fail? Is this possible? Does puppet brings some alerts of that kind? regards, israel. --~--~-~--~~~---~--~~ You received this message because y