[Puppet Users] Re: Controlling the order of execution of puppet code?

2009-05-29 Thread philipp Hanselmann

James Turnbull schrieb:
> Brice Figureau wrote:
>   
>> On Thu, 2009-05-28 at 11:55 +0200, Peter Meier wrote:
>> 
>>> Hi
>>>
>>>   
 Only way I know is to make individual objects depend on other objects.
 Can't do it at
 class level... I think there is a feature request somewhere in the
 system for this, because
 I'd like it as well...
 
>>> hmm did I only dream that in the upcoming release there will be a  
>>> require (or something like that) keyword to include a class and  
>>> require it. Unfortunately I'm not able to find the appropriate bug  
>>> report.
>>>   
>> I implemented it for sure, but in the end I think it was rejected:
>> http://projects.reductivelabs.com/issues/1907
>>
>> Re-reading the thread I see why we rejected the bug, but not the patch.
>> I think I'll have to resubmit it.
>> 
>
> Yes - had to go re-read myself.  As long as we provide both functions -
> include and a stronger require - I think this is an easy +1.
>
> Regards
>
> James Turnbull
>
>   
Yes, that will be great when require for classes comes in.
With this I can much more control, how puppet evaluates the configuration.

Thanks!

Philipp


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Controlling the order of execution of puppet code?

2009-05-29 Thread Brice Figureau

On Fri, 2009-05-29 at 08:18 +1000, James Turnbull wrote:
> Brice Figureau wrote:
> > On Thu, 2009-05-28 at 11:55 +0200, Peter Meier wrote:
> >> Hi
> >>
> >>> Only way I know is to make individual objects depend on other objects.
> >>> Can't do it at
> >>> class level... I think there is a feature request somewhere in the
> >>> system for this, because
> >>> I'd like it as well...
> >> hmm did I only dream that in the upcoming release there will be a  
> >> require (or something like that) keyword to include a class and  
> >> require it. Unfortunately I'm not able to find the appropriate bug  
> >> report.
> > 
> > I implemented it for sure, but in the end I think it was rejected:
> > http://projects.reductivelabs.com/issues/1907
> > 
> > Re-reading the thread I see why we rejected the bug, but not the patch.
> > I think I'll have to resubmit it.
> 
> Yes - had to go re-read myself.  As long as we provide both functions -
> include and a stronger require - I think this is an easy +1.

Yes, that's what my patch was doing.
I'll resurrect the patch and post it to puppet-dev this week-end.
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] puppetd doing noting as daemon

2009-05-29 Thread Vincent Louviaux
Hi,

I have a lot of systems where the puppetd doesn't do anything ..
When I test with puppetd -tv, it s running well, but when it is started as
deamon th process do nothing :(

How can I debug this ?

Vincent
May 29 10:07:56  puppetd[6160]: Reopening log files
May 29 10:07:56  puppetd[6160]: Starting Puppet client version 0.24.8
May 29 10:07:56  puppet: puppetd startup succeeded
May 29 10:09:13  puppetd[6160]: Caught TERM; shutting down
May 29 10:09:13  puppetd[6160]: Shutting down
May 29 10:09:17  puppet: puppetd shutdown succeeded
May 29 10:09:25  puppetd[6271]: Reopening log files
May 29 10:09:25  puppetd[6271]: Starting Puppet client version 0.24.8

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: puppetd doing noting as daemon

2009-05-29 Thread Avi Miller

Hi,

Vincent Louviaux wrote:
> I have a lot of systems where the puppetd doesn't do anything ..

Have you recently upgraded Puppet and/or Facter? If so,  you are hitting 
the same Facter bug that I did with EL4.  Essentially, Facter hangs 
trying to read /proc/uptime and /proc/virtual (on my XenU guests). You 
should try the new Facter 1.5.5RC1 which has the fixes for these to see 
if that resolves the problem.

I actually had to manually fix all my servers because Puppet had 
stopped working. Also, when upgrading Facter, make sure you restart 
Puppet (if you're running a daemon), otherwise you can also run into 
problems I've discovered.

Hope that helps,
Avi

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: puppetd doing noting as daemon

2009-05-29 Thread Vincent Louviaux
it s 1.5.4 coming from epel depots ..

I will try the 1.5.5 but I think there are no rpm available at this time, I
must compile ..

Thanks for your help

Vincent


On Fri, May 29, 2009 at 10:32 AM, Avi Miller  wrote:

>
> Hi,
>
> Vincent Louviaux wrote:
> > I have a lot of systems where the puppetd doesn't do anything ..
>
> Have you recently upgraded Puppet and/or Facter? If so,  you are hitting
> the same Facter bug that I did with EL4.  Essentially, Facter hangs
> trying to read /proc/uptime and /proc/virtual (on my XenU guests). You
> should try the new Facter 1.5.5RC1 which has the fixes for these to see
> if that resolves the problem.
>
> I actually had to manually fix all my servers because Puppet had
> stopped working. Also, when upgrading Facter, make sure you restart
> Puppet (if you're running a daemon), otherwise you can also run into
> problems I've discovered.
>
> Hope that helps,
> Avi
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: puppetd doing noting as daemon

2009-05-29 Thread Vincent Louviaux
I have try with the 1.5.2-1.el4 and it s working :-)
So yes this is coming from facter 1.5.4

Thanks

Vincent


On Fri, May 29, 2009 at 10:40 AM, Vincent Louviaux wrote:

> it s 1.5.4 coming from epel depots ..
>
> I will try the 1.5.5 but I think there are no rpm available at this time, I
> must compile ..
>
> Thanks for your help
>
> Vincent
>
>
> On Fri, May 29, 2009 at 10:32 AM, Avi Miller  wrote:
>
>>
>> Hi,
>>
>> Vincent Louviaux wrote:
>> > I have a lot of systems where the puppetd doesn't do anything ..
>>
>> Have you recently upgraded Puppet and/or Facter? If so,  you are hitting
>> the same Facter bug that I did with EL4.  Essentially, Facter hangs
>> trying to read /proc/uptime and /proc/virtual (on my XenU guests). You
>> should try the new Facter 1.5.5RC1 which has the fixes for these to see
>> if that resolves the problem.
>>
>> I actually had to manually fix all my servers because Puppet had
>> stopped working. Also, when upgrading Facter, make sure you restart
>> Puppet (if you're running a daemon), otherwise you can also run into
>> problems I've discovered.
>>
>> Hope that helps,
>> Avi
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Managing core files using coreadm (Solaris + Puppet)

2009-05-29 Thread martin

Greg,

knowing better than to mess with (readable) but unpublished
interfaces. /etc/coreadm.conf clearly states that you shouldn't edit
file directly, which means that they can introduce a new field in a
patch, which may get you into a world of hurt :)

I use option number 2) - the overhead really isn't that much, but if
you want to get it down as much as possible:
create a new type which runs "coreadm" without any options (which
outputs the contents of /etc/coreadm.conf) and parse that, and adjust
the incorrect values.

cheers,
/Martin

On May 28, 2:10 am, Greg  wrote:
> Hi all,
>
> I have an interesting one - Solaris uses a lot of commands to
> configure specific items. A simple
> example is coreadm. In this example:
>
>    # coreadm -p "/var/core/core_%n_%f_%u_%g_%t_%p"
>
> will set the directory and filename to dump core files (with some
> expansion).
>
> The question is - how to get this to run only if the config has
> changed. I have come up with 2 options, neither of which I'm that
> happy with, so I'm open to ideas...
>
> Option 1: Manage the resulting config file.
>
> file { "/etc/coreadm.conf":
>   owner => root,
>   group => other,
>   mode => 644,
>   source => "puppet:///cores/coreadm.conf"}
>
> exec { "/usr/bin/coreadm -u":
>   refreshonly => true,
>   subscribe => File["/etc/coreadm.conf"]
>
> }
>
> Option 2: Check for individual changes using coreadm:
>
> exec { "/usr/bin/coreadm -p /var/core/core_%n_%f_%u_%g_%t_%p":
>   onlyif => 'test `coreadm | grep "global core file pattern:" | awk
> '{print $5}'` -ne /var/core/core_%n_%f_%u_%g_%t_%p'
>
> }
>
> The problem with option 1 is that Sun don't recommend messing with the
> config file directly, and that it
> relies on a way to force the kernel to re-read the config from the
> file - this may not be possible with other similar commands... It is
> the neater option that I have come up with, however...
>
> The problem with option 2 is that it means that I have to run one exec
> block for every option I want to control...
>
> Has anyone else attempted to manage these kinds of resources? If so,
> what did you do?
>
> thanks,
>
> Greg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: variable scope with define and friends...

2009-05-29 Thread Ohad Levy
replying to myself...

so it seems the problem is not the varialbe scope, rather then the template
function.
the following code works:

node default {
include a
include b
}

class a {
$dirs = ""
dir{["/tmp","/tmp/a","/tmp/b"]: before => File["/tmp/dirs"]}
}
class b {
file{"/tmp/dirs": content => $a::dirs}
#file{"/tmp/dirs": content => template("/tmp/dirs.erb")}
}

define dir() {
$a::dirs += " $name"
file {$name: ensure => directory }
}


if anyone has any idea how to make this work with a template, that would be
great.

Thanks,
Ohad

On Fri, May 29, 2009 at 1:55 PM, Ohad Levy  wrote:

> Hi,
>
> in this simplified example, I'm trying to create directories, and add each 
> directory name into a variable,
> later on, generate a file which its content should be the directory names, 
> but it doesn't work
>
> any help appreciated.
>
> Thanks,
> Ohad
>
>
> node default {
> include b
> }
>
> class a {
> file{"/tmp/dirs": content => template("/tmp/dirs.erb")}
> }
>
> class b {
> $dirs = ["dummy"]
> dir{["/tmp","/tmp/a","/tmp/b"]:}
> include a
> }
>
> define dir() {
> file {$name: ensure => directory }
> $b::dirs += $name
> }
>
> -
> /tmp/dirs.erb:
> <%= scope.lookupvar("b::dirs") %>
>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Puppetshow defunct?

2009-05-29 Thread Sheldon Hearn


On May 28, 4:51 am, Evan Hisey  wrote:

>  I use puppetview for checking my logs. Not as fancy or robust as
> puppetshow, but a lot easier to setup.

I don't think puppetview will cut it for us, because we have 5
puppetmasters storing configs to a central server.

I've given up on trying to find the magic set of gem versions that
puppetshow wants, and will just hack something up myself, which I
think is the state of the art in puppet reporting. :-)

Thanks,
Sheldon.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] puppet show looks different in a slide

2009-05-29 Thread Dan Bode
Hi,

In a slide from 2008 from a presentation (from Luke) entitled

Puppet: How and Why

I found a slide with a view of puppetshow that provides tabs for
changes,failures, etc

This is quite different from the puppetshow app that I checked out from git,
which has facts, hosts, resources.

Did I miss something?

thanks,

Dan

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Puppetshow defunct?

2009-05-29 Thread James Turnbull
Sheldon Hearn wrote:
> 
> On May 28, 4:51 am, Evan Hisey  wrote:
> 
>>  I use puppetview for checking my logs. Not as fancy or robust as
>> puppetshow, but a lot easier to setup.
> 
> I don't think puppetview will cut it for us, because we have 5
> puppetmasters storing configs to a central server.
> 
> I've given up on trying to find the magic set of gem versions that
> puppetshow wants, and will just hack something up myself, which I
> think is the state of the art in puppet reporting. :-)

I know this is on Reductive's radar and some work has been done I think.

Andrew/Luke/Teyo - Any chance of an update on consoles/management
terminals/thought-powered remote control systems powered by
room-temperature superconductors?

Regards

James Turnbull

-- 
Author of:
* Pro Linux Systems Administration
(http://www.amazon.com/gp/product/1430219122/)
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/159059/)



signature.asc
Description: OpenPGP digital signature


[Puppet Users] Puppet as a pki

2009-05-29 Thread Nat

I am thinking about using puppet to manage my ssh keys,
after all puppet is connected to all my servers and has access
to them. I think it could make a good fit.

Has anyone managed to use puppet as a form of pki (public key
infrastructure)? any thoughts
you would like to share, be they good bad or indifferent.

I have looked at the authorized_keys example on the puppet wiki
and had a play around with it. It looks like a good start at
getting things going in the right direction.

Obviously we all want to automate as much as possible
and for me specifically adding in accounts to the manifest
is too much work. What I was thinking was doing something like
creating a fact that gets run on my home directory NFS server, for
example
the following are the exported homes on my nfs server

/exporthomes/
user1/
user2/
user3/
...

Could I have a fact return the list of directory names, which then
get used by the ssh manifest? is this a reasonable way to do this?

This will save having to explicitly add new people to the manifest
when we get a new starter, since by the definition of adding a user
it will create the homedir. As such on the next puppet run their
public and private key will be generated, and once the user
logs on to their workstation they will get the home directory
mounted and be able to log in to whatever their login class
is allowed.

Another issue I am grappling with is setting up the root account
for each server we provision, the way I see it we can create an
individual root key pair for each server or just push out the
same keys to all servers.

Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Puppet as a pki

2009-05-29 Thread James Turnbull
Nat wrote:
> I am thinking about using puppet to manage my ssh keys,
> after all puppet is connected to all my servers and has access
> to them. I think it could make a good fit.
> 
> Has anyone managed to use puppet as a form of pki (public key
> infrastructure)? any thoughts
> you would like to share, be they good bad or indifferent.
> 
> I have looked at the authorized_keys example on the puppet wiki
> and had a play around with it. It looks like a good start at
> getting things going in the right direction.

In addition to the recipe there is the native types:

http://reductivelabs.com/trac/puppet/wiki/TypeReference#ssh-authorized-key
http://reductivelabs.com/trac/puppet/wiki/TypeReference#sshkey

Regards

James Turnbull

-- 
Author of:
* Pro Linux Systems Administration
(http://www.amazon.com/gp/product/1430219122/)
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/159059/)



signature.asc
Description: OpenPGP digital signature


[Puppet Users] Re: Extras .... denizens of the Puppet ext directory

2009-05-29 Thread Rob McBroom

On 2009-May-28, at 9:15 PM, James Turnbull wrote:

> I've been meaning to do this for ages  In the Puppet tarball is a
> directory called "ext" that contains some extras that aren't exactly
> mainline but could be useful to people.

These are great. I was looking for a Vim syntax and something for  
logcheck.

In the LDAP schema, I noticed the note about fake OIDs. It wouldn't be  
hard at all to get a PEN for Reductive Labs so you could provide real  
OIDs. Just request it here:

   

I did it for $employer. It was quick and free.

-- 
Rob McBroom


The magnitude of a problem does not affect its ownership.






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: exec unless broken?

2009-05-29 Thread seph

>> I can't seem to get exec unless to work right, it ignores the unless and
>> always runs the exec:
>
> Is the program 'true' in your root directory?  It's in /bin on my
> desktop.  you should try setting the path to "/bin" or running puppetd
> with --debug and looking at what command it's running.

In fact... Too much cargo culting led to a bad path parameter. Thanks
for the sanity check.

seph

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] wiki problems

2009-05-29 Thread seph

Does anyone else have problems with the wiki? I feel kinda ungrateful
complaining, but I generally find it very slow and thus very hard to
use. And right now, it appears unresponsive.

seph

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: wiki problems

2009-05-29 Thread Andrew Wasilczuk

Hi Seph,

> Does anyone else have problems with the wiki? I feel kinda ungrateful
> complaining, but I generally find it very slow and thus very hard to
> use. And right now, it appears unresponsive.
>   

Yup, I often find it very slow also.


Cheers,

A.

-- 
.   __/_/_  w: http://darq.com/
.  __/_/_   t: 020 7100 1447
.   / / e: supp...@darq.com


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: wiki problems

2009-05-29 Thread Trevor Vaughan

I've had it be slow occasionally.  I would suggest the Google cached
version if you're having trouble with particular pages.  It only tends
to be a few days to a week out of date in general.

Trevor

On Fri, May 29, 2009 at 12:56, Andrew Wasilczuk  wrote:
>
> Hi Seph,
>
>> Does anyone else have problems with the wiki? I feel kinda ungrateful
>> complaining, but I generally find it very slow and thus very hard to
>> use. And right now, it appears unresponsive.
>>
>
> Yup, I often find it very slow also.
>
>
> Cheers,
>
> A.
>
> --
> .   __/_/_  w: http://darq.com/
> .  __/_/_   t: 020 7100 1447
> .   / /     e: supp...@darq.com
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Puppet deployment and upgrading itself?

2009-05-29 Thread Allan Marcus

I just got approval to deploy puppet to about 1500 Macs! Now I have to  
actually do it.

I'm considering two options. We have a security tool we use that is a  
Mac application and is already installed on all our Macs. Since it's a  
Mac app, it's basically a folder (a .app folder). I'm wondering if I  
can just install puppet into the .app directory, that way our  
configuration management and security configuration tool are together.

So, question 1: is this a good or bad idea?

Question 2: If I push out a new version of our app with Puppet, what  
will happen when puppet essentially updates itself?

---
Thanks,

Allan Marcus
505-667-5666




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Puppet deployment and upgrading itself?

2009-05-29 Thread Nigel Kersten

On Fri, May 29, 2009 at 2:56 PM, Allan Marcus  wrote:
>
> I just got approval to deploy puppet to about 1500 Macs! Now I have to
> actually do it.
>
> I'm considering two options. We have a security tool we use that is a
> Mac application and is already installed on all our Macs. Since it's a
> Mac app, it's basically a folder (a .app folder). I'm wondering if I
> can just install puppet into the .app directory, that way our
> configuration management and security configuration tool are together.
>
> So, question 1: is this a good or bad idea?

Unless you're including all the Ruby dependencies... this strikes me
as a bad idea.



>
> Question 2: If I push out a new version of our app with Puppet, what
> will happen when puppet essentially updates itself?

We install puppet to the standard location, and simply tell puppet to
ensure that versions of the puppet pkg are installed. No problems so
far.

>
> ---
> Thanks,
>
> Allan Marcus
> 505-667-5666
>
>
>
>
> >
>



-- 
Nigel Kersten
nig...@google.com
System Administrator
Google, Inc.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Extras .... denizens of the Puppet ext directory

2009-05-29 Thread Marc Fournier

Hello,

> I've been meaning to do this for ages  In the Puppet tarball is a
> directory called "ext" that contains some extras that aren't exactly
> mainline but could be useful to people.  You can see it's current
> contents at:
> 
> http://github.com/reductivelabs/puppet/tree/62534a1622c710eb52b681d96aca8687c597190c/ext
> 
> So the "ext" directory has got a number of useful tools, scripts and
> add-ons including:

Nice ! Thanks for pointing that out.

I noticed that the vim syntax highlight file defines "site" as a
keyword along with "class", "define" and "node". Any idea what language
feature this might be ? I can't find anything relevant in the wiki...

Paul Nasrat also mentions this in this blog post:
http://nasrat.livejournal.com/51482.html

I would have a couple of improvements to suggest for puppet.vim. Shall I
follow wiki:DevelopmentLifecycle or just send a patch to James
Turnbull ?

Marc



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Puppetshow defunct?

2009-05-29 Thread jrojas

I have a version of puppetshow that I threw together based off of the
original (minus the hobo and other crazy gems)
I will sanitize it tonight and try to get it on github.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: Extras .... denizens of the Puppet ext directory

2009-05-29 Thread Todd Zullinger
Marc Fournier wrote:
> Nice ! Thanks for pointing that out.
>
> I noticed that the vim syntax highlight file defines "site" as a
> keyword along with "class", "define" and "node". Any idea what
> language feature this might be ? I can't find anything relevant in
> the wiki...

I hope you don't mind, I sent off a small series of patches for very
minor issues in the vim syntax to puppet-dev just now, and included
one to remove the extraneous 'site' definition after you mentioned it
in #puppet.  Then I opened my mail and saw your message. :)

FWIW, there's an open bug to add the vim syntax (and emacs mode) files
to the Fedora/EPEL packages.  How to do that in the most clean and
maintainable way is up for debate.  If you have thoughts on that,
chime in on the bug: https://bugzilla.redhat.com/491437

-- 
ToddOpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~
Wisdom has two parts: (1) having a lot to say and (2) not saying it.



pgpXuaZTNrQAz.pgp
Description: PGP signature


[Puppet Users] How to bypass the default provider

2009-05-29 Thread MattAckerman

Howdy,

Sorry if this a dupe, I am new to the puppet list.

I am trying to override the provider for a package and simply use wget
in all cases to retrieve an rpm.

I have tried this:

class foo::bar:quiz {
package {
"fancy-package":
ensure => installed,
source => "http://yum/yum/repo/5/i386/
verycoolrpm..noarch.rpm"
}


However the node is still attempting to use apt-get (which fails)

The node in question does not support yum at all. (It 's a customized
appliance type linux)

Any ideas how I can force the provider to wget in all cases? Note that
this does work on some hosts and not on others.

Thanks in advance puppet guru's :)

-Matt

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Multiple providers issue

2009-05-29 Thread Matt Ackerman


I am having a problem with multiple package providers. I am attempting to 
install a rpm and I want the system to always use rpm as the provider. However 
on a large number of systems, the host wants to use apt instead. This doesn't 
work in my environment.

How can I force a host to only use rpm? I have tried setting the "source" and 
"provider in the package reference, however it simply ignores me.

The most frustrating part of this is, it seems to arbitrarily pick a provider. 
Sometimes it works with rpm, sometimes something else.

How does puppet handle multiple providers? Does it just flip a coin? :)

Thanks in advance.

-Matt

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---



[Puppet Users] Re: wiki problems

2009-05-29 Thread James Turnbull

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Wasilczuk wrote:
> Hi Seph,
> 
>> Does anyone else have problems with the wiki? I feel kinda ungrateful
>> complaining, but I generally find it very slow and thus very hard to
>> use. And right now, it appears unresponsive.
>>   

We are working to migrate the Trac wiki but due to Teyo's jet-setting
lifestyle and my need to work so I can eat it's a slow process.  I think
we're almost there though and if we can fiddle with the migration
process a little in the next few weeks it should be pretty much done.

Cheers

James Turnbull

- --
Author of:
* Pro Linux Systems Administration
(http://www.amazon.com/gp/product/1430219122/)
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/159059/)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKIH869hTGvAxC30ARAhjDAJ9pp41gpaEeqDHNEB9W8u+vUzBUwwCfSoX6
AAqXS/ysdjf/2EfegFjj8yo=
=qeLq
-END PGP SIGNATURE-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~--~~~~--~~--~--~---