On Tue, Feb 03, 2009 at 08:14:57PM -0800, chakkerz wrote:
>
> G'day
>
> my module's init.pp:
>
> class mailaliases
> {
> if ($skip_mailaliases != "true")
> {
> mailalias
> { "root":
> #ensure => absent,
>
Everything on here is good and like Paul said it is probably just as
important to figure out what pains you are trying to solve, but I'd like to
add a point.
Once you have Puppetized the infrastructure, you can reliably rebuild it.
This has a huge impact on scenarios where you want/need to move d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A new Facter release candidate is available - 1.5.4RC1. This is a
maintenance release combining a number of fixes including:
* Fixed #1927 - Failing facts don't kill Facter
* Fixed #1850 - Facter updates for Ruby 1.9
* Fixed #1926 - IPAddr to_s iss
My file section that does this looks like:
file
{ "/var/bb/$bbVersion":
path => "/var/bb/$bbVersion",
owner => bb,
group => bb,
mode => 775,
G'day
my module's init.pp:
class mailaliases
{
if ($skip_mailaliases != "true")
{
mailalias
{ "root":
#ensure => absent,
ensure => present,
target => "/etc/aliases",
Hello,
I've also had the same issues. One possible way is changing nsswitch
to lookup group info from LDAP. I've tried that but haven't gotten it
working quite right.
The other way I'm using for now is to specify groups by number.
Gary
On Feb 4, 1:50 am, Brian wrote:
> I'm having a problem th
Ian,
When you say they die, do they hang somewhere or the process exits?
What is in the logs on the dead reloaded puppets? (also what log level are
they running at)
Andrew
On Tue, Feb 3, 2009 at 12:01 PM, Ian Burrell wrote:
>
> We are having a problem with some of the puppet clients dying du
paul matthews wrote:
> but bringing it all together is causing some brain problems. If anyone has
> done something similar already I'd be pleased to hear from them
The approach I've taken is to have a wrapper around the zone type
that looks like this:
define myzone($zoneif, $zoneip, $znetmask =
Hi
>> The problem is that puppet copies all of the .svn subdirectories
>> too. Does anyone know of a way to exclude these from the copy?
>
> I was curious about this too. I was just doing an "svn export" but I'd
> love to see a real fix.
you can do a general exclude on top of your manifests.
> The problem is that puppet copies all of the .svn subdirectories
> too. Does anyone know of a way to exclude these from the copy?
I was curious about this too. I was just doing an "svn export" but I'd
love to see a real fix.
Scott
--~--~-~--~~~---~--~~
You re
Zach,
(Sorry in advance if this is a re-post and for not replying to the
original message. I replied, deleted and it never went through. On top
of that, the link to this message on Google Groups goes to another!)
Anyway... my original reply:
Chris Moates did an interesting presentation on Pupp
Hello,
I have a directory with subdirectories and files managed by puppet
and keep all contents in subversion. I use a subversion tag to check
these files out as my source on the puppet master. I then have a class
set up to manage the base directory using the recusive option.
The problem i
I'm having a problem that's very similar to
http://projects.reductivelabs.com/issues/791
I'm setting up a node as a ldap client, and creating a couple of files
with group owners that are groups that exist in LDAP. Puppet can't
find the group on the first run (when it also configures /etc/
ldap.
Zach,
Chris Moates did an interesting presentation on Puppet during CPOSC a
few months back. I was actually looking at his slides for a refresher
the other day. You might find something useful in there as far as
reasons to use Puppet. He lists quite a few and why its beneficial.
You can grab a P
Zach,
Some thoughts inline:
On Mon, Feb 2, 2009 at 12:53 PM, Zach Buckholz
wrote:
>
> This may sound like a confusing / trick question, so please bare with me.
>
> What problem(s) will puppet solve? Why would I use it?
What problems do you want to solve?
Seriously, if you don't have a solid a
Xavier,
It *is* a wiki. That means you should feel free to make these kind of
changes: "A wiki is a page or collection of Web pages designed to
enable anyone who accesses it to contribute or modify content"
(http://en.wikipedia.org/wiki/Wiki). The more community members who
choose to do this, the
David Lutterkort wrote:
> On Tue, 2009-02-03 at 08:05 -0500, Larry Ludwig wrote:
>
>> Then I'm not sure what's the issue.
>>
>
> What happens if you run this through plain ruby:
>
> require 'augeas'
>
> aug = Augeas::open(nil, nil, 0)
>
> puts aug.
Arnau Bria wrote:
> On Tue, 03 Feb 2009 09:22:20 -0500
> Frank Sweetser wrote:
>
>>> So the file changes after first start.
>>> If I keep the first line (createUser one), everytime puppet runs
>>> will notice that file has changed and will redo this step.
>>> If I keep the end-state file, snmp
Hi all,
This "Gepetto" is the irc bot of #puppet. This Gepetto is a tool to make
easier puppet development ;)
In fact, nothing very special. I'm a rails developper and a puppet user.
I created several pieces of code to puppet development easier or
"rails-like".
I'm trying to extract and regroup
We are having a problem with some of the puppet clients dying during
the weekly log rotation reload. We are using Centos 4 with puppet
0.24.6. It seems to be a race condition with clients that reload when
the puppetmaster is restarting exit. The redhat logrotate script does
"/etc/init.d/puppetm
On Tue, 2009-02-03 at 08:05 -0500, Larry Ludwig wrote:
> Then I'm not sure what's the issue.
What happens if you run this through plain ruby:
require 'augeas'
aug = Augeas::open(nil, nil, 0)
puts aug.match("/files/etc/hosts/*").join("\n")
If tha
Hi,
I'm struggling to know the best method of definining multiple solaris zones
in nodes.pp. I can get it working with one zone but scaling is a problem.
Below is a summary of my problem if you don't mind reading on but in short
it's a request to see how anyone else has defined zones (or virtualis
On Tue, 03 Feb 2009 09:22:20 -0500
Frank Sweetser wrote:
> > So the file changes after first start.
> > If I keep the first line (createUser one), everytime puppet runs
> > will notice that file has changed and will redo this step.
> > If I keep the end-state file, snmp does not work... I'm not
Arnau Bria wrote:
> On Tue, 03 Feb 2009 07:25:38 -0500
> Frank Sweetser wrote:
>
>
>> It's hard to say for certain, since you didn't actually post what the
>> errors are, but I see a couple issues here.
>
> Ups, sorry, the error is that the file sometimes is created sometimes
> not.
>
>> Firs
On Tue, 03 Feb 2009 07:25:38 -0500
Frank Sweetser wrote:
> It's hard to say for certain, since you didn't actually post what the
> errors are, but I see a couple issues here.
Ups, sorry, the error is that the file sometimes is created sometimes
not.
> First, based on the command line you're u
On Feb 2, 9:06 pm, David Lutterkort wrote:
> On Mon, 2009-02-02 at 13:08 -0800, Jeff wrote:
> > Hello puppeteers. I discovered a problem with newer versions of yum.
> > When puppet checks the repository for later versions it uses the
> > following command:
>
> > /usr/bin/yum -d 0 -e 0 list availa
That did the trick. I thought you can have multiple versions of the
same gem installed and if it's locked in the RoR app it shouldn't
matter.
-L
On Feb 3, 5:56 am, Rodney Quillo wrote:
> Hi Larry,
>
> Install the older gems I've listed above using the command:
>
> $ sudo gem install rails --ve
David Lutterkort wrote:
> On Mon, 2009-02-02 at 12:51 -0800, Larry Ludwig wrote:
>
>> Hi all I'm getting this same error with the Puppet RPMs from EPEL.
>>
>> I have installed:
>> puppet-0.24.7-4.el4
>> ruby-augeas-0.2.0-3.el4
>> augeas-0.3.5-2.el4
>> augeas-libs-0.3.5-2.el4
>> facter-1.5.2-1.e
Arnau Bria wrote:
> Hi all,
>
> I have a little problem when configuring snmp.
> I have to create the user, and for so I must add a line in :
> /var/net-snmp/snmpd.conf
> like:
> createUser nagios MD5 DES XXXx
>
> and tehn restart snmp.
>
> I'm doing it like:
>
> class
Hi all,
I have a little problem when configuring snmp.
I have to create the user, and for so I must add a line in :
/var/net-snmp/snmpd.conf
like:
createUser nagios MD5 DES XXXx
and tehn restart snmp.
I'm doing it like:
class snmp {
package { "net-snmp": }
Hi,
sorry, you can not browse the repository.
you need to check it out (or export) it directly like so:
svn co https://svn.ikw.uni-osnabrueck.de/dav/ikwadmin/public/puppet/facts/
or
svn export
https://svn.ikw.uni-osnabrueck.de/dav/ikwadmin/public/puppet/facts/
if you do not want to have the me
Steve Traugott (http://www.infrastructures.org/) compares the problem
to building cars by hand, vs the production line. It's a nice
metaphor to use when you're trying to demonstrate what a significant
change it can be.
We still do stuff by hand in IT even though you can demonstrate that
the erro
udo waechter schrieb:
> I have set up a public svn repository with some facts that we have
> written over time:
>
> https://svn.ikw.uni-osnabrueck.de/dav/ikwadmin/public/puppet/facts/
>
> (yes, it is svn).
I only get this as a result:
(Firefox)
Fehler beim Laden des Stylesheets: Beim Laden e
Hi Larry,
Install the older gems I've listed above using the command:
$ sudo gem install rails --version='2.0.2'
$ sudo gem install hobofields --version='0.7.5'
$ sudo gem install hobosupport
etc
Also remove the newer version of rails 2.2.x and other dependency.
See man page for gems. Let u
2009/2/2 Zach Buckholz
>
> This may sound like a confusing / trick question, so please bare with me.
>
> What problem(s) will puppet solve? Why would I use it?
>
> I am trying to pitch the use of puppet in our environment and need to
> follow a formal proposal model. Which means I need to start w
Hi.
I'm using sqlite to store configs. Now I have 5 identical nodes (the
node stanzas only differ in the content of some fqdn-dependent
variables), named db-ecl[1-5].our.local.domain
The odd thing is: db-ecl[2-4] successfully store their (exported)
resources in the sqlite DB, but db-ecl1 and db-e
1.
I will have a look at having puppet manage version. It just seems strange to
write a program that says
"while I am running, remove all of the script files that were interpreted
and replace them with other ones." (yum upgrade)
I need to do some reading on ruby to understand what is happening w
Hi
> Which version of puppet are you using ? We switched the yum provider
> quite some time ago to using a separate 'yumhelper' script for listing
> available packages.
hmm yeah forgot that. :-/
cheers pete
--~--~-~--~~~---~--~~
You received this message because
38 matches
Mail list logo