[Puppet Users] Setting txqueuelen in Puppet

2010-12-09 Thread Sid
Hi, We would like to set the txqueuelen on an ethernet interface in a Linux box using Puppet. Has anyone done this before? Sid -- 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...@google

[Puppet Users] Augeas not saving changes

2010-12-02 Thread Sid
ruby: 1.8.7.302-4 ruby-augeas: 0.3.0-1.el5 (EPEL) augeas-libs: 0.7.3-1.el5 (EPEL) puppet: 2.6.4 I am unable to get Puppet/Augeas to update the sysctl.conf file when using the following configuration. I have tested changing the file with augtool and that works. Puppet fails silently though. Sugges

[Puppet Users] Re: Error in using custom providers - can't recognize custom provider

2010-09-15 Thread SiD
Hey Mark, I've recently asked for a similar question as yours. So be careful, the correct directory for a custom provider is : /lib/puppet/provider/package/ Then Puppet will copy it into /var/lib/puppet/lib/puppet/provider/ package/. Hope it helps On Sep 14, 2:00 pm, mark ardiente wrote: > Hi

[Puppet Users] Re: Custom provider

2010-09-15 Thread SiD
t; > Notice the provider/TYPE subfolder > > > Hope this does the trick > > > -Stefan > > > On Mon, Sep 13, 2010 at 07:52:48AM -0700, SiD wrote: > > > Hi all, > > > > I've recently created a new custom provider. I put it into /etc/puppet/ > >

[Puppet Users] Custom provider

2010-09-13 Thread SiD
Hi all, I've recently created a new custom provider. I put it into /etc/puppet/ modules/mymodule/lib/puppet/provider/myprovider.rb So it works fine, at least at the first. puppet-agent[8329]: (/File[/var/lib/puppet/lib/puppet]/ensure) created puppet-agent[8329]: (/File[/var/lib/puppet/lib/puppet

[Puppet Users] Re: Redefine package type

2010-09-10 Thread SiD
x27;, >       provider => rpm_plus, >       source = "", >       vendor => "--prefix=/home/ads", >    } > > The key bits are the provider => rpm_plus attribute, which tells > Puppet to override its default yum provider, and the vendor attribute, &g

[Puppet Users] Re: Redefine package type

2010-09-10 Thread SiD
ormation athttp://docs.puppetlabs.com/#extending_puppet > > On Sep 9, 1:27 pm, SiD wrote: > > > Thanks for your quick answer. > > I've already analysed the code, but it does not really help me. Do I > > need to write a new provider in Ruby, or can I override the original &g

[Puppet Users] Re: Redefine package type

2010-09-09 Thread SiD
various > types/providers under puppet's code directory. On Debian, for eg., the code > for rpm package provider is under > /usr/lib/ruby/1.8/puppet/provider/package/rpm.rb . > > On Wed, Sep 8, 2010 at 1:40 PM, SiD wrote: > > Hello, > > > I would like to go in dept

[Puppet Users] Redefine package type

2010-09-08 Thread SiD
Hello, I would like to go in depth with Puppet, but I haven't found any good documentation about my issue (I've just ordered the official Puppet book, hope it helps). I need to install RPM packages with specified install-options, like -- prefix. But the package type does not support this kind of o