David Lutterkort | 1 Mar 02:30 2007
Picon

Modules redux

I updated http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
to reflect how I intend to implement modules, and what that will look
like from a user's point of view. Comments/flames etc. welcome.

David
Brendan Beveridge | 1 Mar 03:08 2007
Picon

Re: Is there a limit on the size of a template?

I can also confirm that this occurs on ubuntu edgy with puppet-0.22.1 but no issues with 0.20.1
Has there been any light on this issue?

I get pretty random segfaults

/usr/lib/ruby/1.8/puppet/type.rb:1616: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i486-linux]
/usr/local/lib/site_ruby/1.8/puppet/provider/package/darwinport.rb:40: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i486-linux]
/usr/local/lib/site_ruby/1.8/puppet/metatype/providers.rb:236: [BUG] rb_gc_mark(): unknown
data type 0x1d(0x8082170) non object
ruby 1.8.4 (2005-12-24) [i486-linux]
/usr/local/lib/site_ruby/1.8/puppet/metatype/providers.rb:235: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i486-linux]

________________________________

From: puppet-users-bounces <at> madstop.com on behalf of Matthew Palmer
Sent: Wed 14/02/2007 9:03 AM
To: puppet-users <at> madstop.com
Subject: Re: [Puppet-users] Is there a limit on the size of a template?

On Tue, Feb 13, 2007 at 10:30:37AM -0800, Robert Mombro wrote:
> I have recently run across the following error:
>
> /usr/lib/ruby/1.8/yaml/rubytypes.rb:315: [BUG] Segmentation fault

There is no explicit size limit on templates (otherwise you'd get a much
more helpful bug report than this).

(Continue reading)

Luke Kanies | 1 Mar 05:06 2007

Re: Is there a limit on the size of a template?

On Feb 28, 2007, at 8:08 PM, Brendan Beveridge wrote:

> I can also confirm that this occurs on ubuntu edgy with  
> puppet-0.22.1 but no issues with 0.20.1
> Has there been any light on this issue?
>
> I get pretty random segfaults
>
> /usr/lib/ruby/1.8/puppet/type.rb:1616: [BUG] Segmentation fault
> ruby 1.8.4 (2005-12-24) [i486-linux]
> /usr/local/lib/site_ruby/1.8/puppet/provider/package/darwinport.rb: 
> 40: [BUG] Segmentation fault
> ruby 1.8.4 (2005-12-24) [i486-linux]
> /usr/local/lib/site_ruby/1.8/puppet/metatype/providers.rb:236:  
> [BUG] rb_gc_mark(): unknown data type 0x1d(0x8082170) non object
> ruby 1.8.4 (2005-12-24) [i486-linux]
> /usr/local/lib/site_ruby/1.8/puppet/metatype/providers.rb:235:  
> [BUG] Segmentation fault
> ruby 1.8.4 (2005-12-24) [i486-linux]

The segfaults are a ruby problem and there's nothing I can do about  
them.  You're not guaranteed to get them, and there sometimes seems  
to be something that can be done to get rid of them in certain  
releases and with certain segaults, but it's always inconsistent and  
always annoying.

Please make sure you're not running the broken version of ruby, as  
that's likely the problem.

  --
(Continue reading)

Charlie Schluting | 1 Mar 05:55 2007
Picon

Re: Is there a limit on the size of a template?

> On Feb 28, 2007, at 8:08 PM, Brendan Beveridge wrote:
>
> > I can also confirm that this occurs on ubuntu edgy with
> > puppet-0.22.1 but no issues with 0.20.1
> > Has there been any light on this issue?

FWIW, we ended up installing the fiesty rubygems package on all our
boxes, then gem install'd puppet. It (0.22.1) hasn't segfaulted since.

 -Charlie
Charlie Schluting | 1 Mar 06:01 2007
Picon

Re: Platforms supported by Puppets?

On 2/28/07, Trevor Vaughan <peiriannydd <at> gmail.com> wrote:
> Guillaume,
>
> Look here:
> http://www.reductivelabs.com/projects/puppet/reference/typedocs.html#package
> under provider for a list of places that have direct package support.
>
> As far as I can tell, it should run anywhere that ruby runs, but I'm not an
> expert.

Well now I can't find the page.. but I know I read it somewhere.

Anyway, no, it doesn't run on AIX. It also can't just run anywhere
ruby runs, because of the need to understand various aspects of the
system (adding users, etc, etc). Puppet needs to be "ported" to each
OS, i.e. providers need to be extended for each OS.

As far as I know: Linux, Solaris, FreeBSD, OS X.

 -Charlie
Luke Kanies | 1 Mar 06:54 2007

Re: Platforms supported by Puppets?

On Feb 28, 2007, at 11:01 PM, Charlie Schluting wrote:
>
> Well now I can't find the page.. but I know I read it somewhere.
>
> Anyway, no, it doesn't run on AIX. It also can't just run anywhere
> ruby runs, because of the need to understand various aspects of the
> system (adding users, etc, etc). Puppet needs to be "ported" to each
> OS, i.e. providers need to be extended for each OS.
>
> As far as I know: Linux, Solaris, FreeBSD, OS X.

That's basically correct, although it's only the per-platform  
providers that need to be ported.  That is, you can't do packaging on  
AIX (although I expect it'd be very easy to make it work, and I've  
heard that current versions of AIX use rpm), but you can manage files  
and probably users and maybe services and, um, I don't really know,  
because I've never used AIX.

Most of the system will work fine, but you'll likely have to port the  
providers that change per platform.  And AIX is really different in  
general, so I've no idea how complicated it will really be.

  --
  Do not think of knocking out another person's brains because he  
differs
  in opinion from you. It would be as rational to knock yourself on the
  head because you differ from yourself ten years ago.    -- Horace Mann
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com
(Continue reading)

Luke Kanies | 1 Mar 06:57 2007

Re: Platforms supported by Puppets?

On Feb 28, 2007, at 1:47 PM, Guillaume Pratte wrote:

> Hello,
>
> I would like to know on what platforms Puppet runs. I cannot seem to
> find the information on Puppet's web site. Bcfg2 has it on it's front
> page :-)
>
> I know there are .debs and .rpms, but are, for instance, Solaris,
> FreeBSD and AIX supported?

Puppet's definition of "supported" isn't quite so hard as bcfg2's,  
from what I understand.  You can use Puppet to manage files on  
basically any platform that can run ruby, but package, user, and  
service support might take some porting.

I've been meaning to find a way to catalog all of this, I just  
haven't had the opportunity.

I know that people are using Puppet on RHEL, Fedora, Ubuntu, Debian,  
Gentoo, FreeBSD, OpenBSD, Solaris, OS X, and SuSE.  AFAIK, no one is  
using it on AIX or HP-UX yet, but I'm guessing it's less than a day's  
work to get essentially everything working on those platforms, too,  
which just about covers everything, I think.

  --
  Life is like playing a violin in public and learning the instrument as
  one goes on.         -- Samuel Butler
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com
(Continue reading)

Luke Kanies | 1 Mar 15:31 2007

Re: Modules redux

On Feb 28, 2007, at 7:30 PM, David Lutterkort wrote:

> I updated http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
> to reflect how I intend to implement modules, and what that will look
> like from a user's point of view. Comments/flames etc. welcome.

I made a couple of small changes (module names should match \w+, and  
should not be tagged with local info like the company name), but  
otherwise, it looks great.

  --
  I have learned to use the word 'impossible' with the greatest caution.
          -- Wernher von Braun
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com
Gary Law | 1 Mar 11:45 2007
Picon

Re: Platforms supported by Puppets?


On 28 Feb 2007, at 20:12, Trevor Vaughan wrote:


Look here: http://www.reductivelabs.com/projects/puppet/reference/typedocs.html#package under provider for a list of places that have direct package support. 

There are experimental Solaris packages here, which are intended to work with blastwave’s Ruby etc.:


First you will need blastwave’s pkg-get: 


Put /opt/csw/bin into your path, and install the ruby:

pkg-get install ruby

Then install the facter and puppet packages. In future we hope to get these packages integrated into the Blastwave archive, which will make installing puppet and its dependencies as simple as:

pkg-get install puppet

but I’ve yet to get the packages accepted by blastwave. Please let me know if you have any problems with these packages.

AFAIK there is no support for AIX or HP-UX.

Gary



_______________________________________________
Puppet-users mailing list
Puppet-users <at> madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
Kevin Fox | 1 Mar 19:12 2007

Local puppet

I'm trying to scale up Puppet and am wondering if I can use Puppet in an
odd way.

I'm looking to use Puppet as an authoritative source for all the
configuration done to a cluster. That includes fstab's, modprobe.conf,
etc. This reduces duplication.

I'm using SystemImager on a cluster and would like to run Puppet during
the install, so when the node reboots, it will have all its config
files. I've found examples for doing this with a central server, and
they seem to work.

We are currently storing all of our puppet config data in an SVN
repository so we can track changes.

My question is this. I can pull a copy of that data into the image,
chroot into the image, then... Can I point the puppet client directly at
the local copy of the servers data rather then running a full blown copy
of the puppet server locally?

Thanks,
Kevin

Gmane