[Puppet Users] Re: Certificate validation failing

2008-10-13 Thread schickb
On Oct 13, 11:07 pm, schickb <[EMAIL PROTECTED]> wrote: > I am trying to use puppet to configure Amazon EC2 instances. The > server is my own box at home. Both server and clients are Ubuntu 8.04 > running puppet 0.24.5. > > On the client when I run: > puppetd --server myserver.com --waitforcert 60

[Puppet Users] Certificate validation failing

2008-10-13 Thread schickb
I am trying to use puppet to configure Amazon EC2 instances. The server is my own box at home. Both server and clients are Ubuntu 8.04 running puppet 0.24.5. On the client when I run: puppetd --server myserver.com --waitforcert 60 --test I get a cert to sign on the server. I sign it and run the

[Puppet Users] Re: puppet fails to install packages

2008-10-13 Thread Dan O'Brien
On Mon, Oct 13, 2008 at 8:30 PM, David Lutterkort <[EMAIL PROTECTED]> wrote: > > On Mon, 2008-10-13 at 13:01 -0700, Dan wrote: > > After banging my head against my desk for a few hours, I'm posting > > here (after being told this isn't a bug). > > What version of puppet is this ? > > # rpm -qa

[Puppet Users] Re: puppet fails to install packages

2008-10-13 Thread David Lutterkort
On Mon, 2008-10-13 at 13:01 -0700, Dan wrote: > After banging my head against my desk for a few hours, I'm posting > here (after being told this isn't a bug). What version of puppet is this ? > I'm trying to use puppet to install some packages on my fedora > clients, som on my puppet master i c

[Puppet Users] Re: puppet fails to install packages

2008-10-13 Thread Peter Meier
Hi > class fedora-ws { > include atrpms-repo > >$packages = ["subversion"] >package { $packages: > ensure => installed > } > > } # cat foo.pp $packages = ["subversion"] package { $packages: ensure => installed

[Puppet Users] puppet fails to install packages

2008-10-13 Thread Dan
Hello all, After banging my head against my desk for a few hours, I'm posting here (after being told this isn't a bug). I'm trying to use puppet to install some packages on my fedora clients, som on my puppet master i created a class with the following contents: class fedora-ws { inclu

[Puppet Users] Re: User provider on RHEL4 and RHEL5 breaks with latest fastrack update

2008-10-13 Thread Matthew Hyclak
Yes, I realized after doing some research and turning on debug mode that it happened when running with sudo, not as root. It is the issue indicated in #1631. Sorry about the noise. Matt On Mon, Oct 13, 2008 at 11:13 AM, Luke Kanies <[EMAIL PROTECTED]> wrote: > > On Oct 10, 2008, at 12:56 PM, Ma

[Puppet Users] Re: host management database/webinterface

2008-10-13 Thread Brian Gupta
On Mon, Oct 13, 2008 at 12:58 PM, Phillip Scholz <[EMAIL PROTECTED]> wrote: > hi $puppet-users, > > a while ago someone on this list wrote about a webinterface implementing > a database for nodes. > it had a very simple design if a recall correctly and has been based on > a sql rdbms afaik. > ther

[Puppet Users] Re: Force backup of files modified outside of puppet's File Type

2008-10-13 Thread David Lutterkort
On Mon, 2008-10-13 at 12:19 -0400, Joel Nimety wrote: > > The augeas type could do this itself, of course -- automatically back > > up any files it should be notifying -- without adding a new subsystem. > > Are you suggesting I can add a backup call in the augeas plugin? I > hadn't considered th

[Puppet Users] host management database/webinterface

2008-10-13 Thread Phillip Scholz
hi $puppet-users, a while ago someone on this list wrote about a webinterface implementing a database for nodes. it had a very simple design if a recall correctly and has been based on a sql rdbms afaik. there was a demo of it, I think. does anyone remember the name of this tool? I only found co

[Puppet Users] Re: Force backup of files modified outside of puppet's File Type

2008-10-13 Thread Joel Nimety
Luke Kanies wrote: > On Oct 13, 2008, at 10:24 AM, Joel Nimety wrote: > > > That would be a completely new subsystem to transactions -- instant > action. The 'notify' and 'subscribe' mechanisms all just involve > queues. > > I'm not entirely convinced that's the right solution, since it's no

[Puppet Users] Re: Force backup of files modified outside of puppet's File Type

2008-10-13 Thread Luke Kanies
On Oct 13, 2008, at 10:24 AM, Joel Nimety wrote: > > > > Luke Kanies wrote: >> On Oct 11, 2008, at 11:46 AM, Joel Nimety wrote: >> >> >> >> The problem with this is that by the time the 'file' resource has >> gotten the 'notify' message, the file's already been changed so it's >> too late to back

[Puppet Users] Re: The puppet equivalent of mkdir -p

2008-10-13 Thread Luke Kanies
On Oct 8, 2008, at 1:00 PM, Jeff wrote: > > Thanks all. > > One question: How do I reference the last directory in the array in a > require statement? > > If I do this: > > file {["$basedir", "$basedir/src", "$basedir/src/my", > "$basedir/src/my/dir", "$basedir/src/my/dir/path" ]: > > Can I do th

[Puppet Users] Re: Force backup of files modified outside of puppet's File Type

2008-10-13 Thread Joel Nimety
Luke Kanies wrote: > On Oct 11, 2008, at 11:46 AM, Joel Nimety wrote: > > > > The problem with this is that by the time the 'file' resource has > gotten the 'notify' message, the file's already been changed so it's > too late to back it up. > > You'd either need your type to somehow track th

[Puppet Users] Re: Calling a define multiple times

2008-10-13 Thread Luke Kanies
On Oct 13, 2008, at 6:21 AM, Matt wrote: > Hi folks, > > I think i'm missing something obvious here. I'm trying to search/ > replace multiple times in n files but I keep hitting a > 'ArgumentError: Duplicate definition' or similar in any method I try > and do it in. > > I guess this is beca

[Puppet Users] Re: Force backup of files modified outside of puppet's File Type

2008-10-13 Thread Luke Kanies
On Oct 11, 2008, at 11:46 AM, Joel Nimety wrote: > > I'm using the SimpleText recipe and Augeas plugin to modify files in > place. I'd like to notify the appropriate File resource that a > modification is about to take place so puppet can backup the file. > Maybe > this is already possible but

[Puppet Users] Re: User provider on RHEL4 and RHEL5 breaks with latest fastrack update

2008-10-13 Thread Luke Kanies
On Oct 10, 2008, at 12:56 PM, Matt Hyclak wrote: > > I just wanted to throw this out there to see if it's a known issue or > not. We have a manifest that looks like: > > class auth-OIT-Security { > group { >'OIT-Security' : > ensure => present, > gid => 5003; > } > > user { >

[Puppet Users] Re: autosign issues

2008-10-13 Thread Luke Kanies
On Oct 10, 2008, at 4:05 PM, zoniguana wrote: > > Is there a way that I can simply use the hostname, without the domain, > to get an autosigned cert? > Alternatively, can I grant access to a block of IPs and have those > certs autosigned? > Do I need to add IP/name relations to the hosts file on t

[Puppet Users] Re: Inheritance syntax question

2008-10-13 Thread Luke Kanies
On Oct 8, 2008, at 1:56 PM, dd-b wrote: > > On Oct 8, 3:31 am, Peter Meier <[EMAIL PROTECTED]> wrote: >> Hi >> >>> Foo::bar["default"] { >>> [...] >>> The only way I can get this syntax to work is to move the 'bar' >>> definition outside of the foo class and refer to it by a name >>> without

[Puppet Users] Re: puppetmaster hostname sniffing on startup

2008-10-13 Thread Luke Kanies
On Oct 10, 2008, at 9:10 AM, Rob McBroom wrote: > Hello. I'm using the standard puppetmaster package under Debian etch > (which seems to be 0.20.1). I'm wondering if the behavior I'm seeing > is standard for puppetmaster, or if it's specific to the Debian > package (so I know who to complain to).

[Puppet Users] Re: puppet, facter and using non-scalar values

2008-10-13 Thread Luke Kanies
On Oct 10, 2008, at 11:56 AM, Simon J Mudd wrote: > > Hello all, > > I've been using puppet for a while now and have an issue I've not > seen clearly answered. One of the issues I want to address in puppet > is to manage LVM, the volume groups and logical volumes on a series > of servers. > > St

[Puppet Users] Re: Help with type development (was Re: Creating a bunch of types to manage cobbler)

2008-10-13 Thread Luke Kanies
On Oct 7, 2008, at 8:18 AM, Sven Mueller wrote: > > I tried writing a type to handle a cobbler repository (because it is > the > first thing cobbler wants to see if you start to define a system). > However, I have two problems: > > 1) (this is a theoretical question for now) > > If I understand

[Puppet Users] Re: Puppet/mongrel: Apache is already running on the puppetmaster

2008-10-13 Thread Kenneth Holter
Thanks, then I'll go for using Mongrel. I don't seem to find a RHEL 4 package for Mongrel, but I found one for RHEL 5 64-bit. Does there exist a Mongrel package for RHEL 4? On 10/13/08, Peter Meier <[EMAIL PROTECTED]> wrote: > > > Hi > > > We've been running puppetmaster on a server on which Apa

[Puppet Users] Re: Proposed refactoring of ssh_authorized_keys

2008-10-13 Thread Ryan Steele
Hey folks, Before responding to the ticket below, I think I should provide a little bit more qualifying information. I had a discussion with Luke Kanies regarding the design of the ssh_authorized_keys type, and the agreement we came to was that the key itself would be a good identifier becaus

[Puppet Users] Re: freebsd service provider on Solaris?!

2008-10-13 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ohad Levy wrote: > Freebsd is defined as default only for Services, as the binaries for the > packages do not exists. > Anyone knows why does it thinks it freebsd? I've double checked the > values in facter and could not find any reference to FreeBSD

[Puppet Users] Re: Calling a define multiple times - full

2008-10-13 Thread Matt
Hi Pete, I tried that with $myfiles as an array, but as I said, that just executed the sed command with all of the filenames concatanated. I've got a fix at the moment. I've just prefixed multiple execs in the define method with something unique. Its working, but just feels like there would be

[Puppet Users] Re: Puppet/mongrel: Apache is already running on the puppetmaster

2008-10-13 Thread Peter Meier
Hi > We've been running puppetmaster on a server on which Apache is already > configured and active. Is it possible to configure apache for use with > puppet/mongrel without causing problems for the current apache setup? http://reductivelabs.com/trac/puppet/wiki/UsingMongrel puppet connectors a

[Puppet Users] Re: Calling a define multiple times - full

2008-10-13 Thread Peter Meier
Hi > But that executed the sed command with all of the files as input. > > I also tried with a general define searchreplace method but i'm only able to > call it once in a class with the $name due to the $name method again. > > Is it possible to get puppet to iterate a definition other than usi

[Puppet Users] Puppet/mongrel: Apache is already running on the puppetmaster

2008-10-13 Thread Kenneth Holter
Hello list. We've been running puppetmaster on a server on which Apache is already configured and active. Is it possible to configure apache for use with puppet/mongrel without causing problems for the current apache setup? Regards, Kenneth Holter --~--~-~--~~~---~-

[Puppet Users] Calling a define multiple times - full

2008-10-13 Thread Matt
Sorry about that, google hotkeys (Grrr) Hi folks, I think i'm missing something obvious here. I'm trying to search/replace multiple times for n files but I keep hitting a 'ArgumentError: Duplicate definition' or similar. I guess this is because i'm using ${name} to for the multiple files, but a

[Puppet Users] Re: Variable substitution problem

2008-10-13 Thread Sébastien Prud'homme
It's fine now thanks to Mike's advice. 2008/10/10 Sébastien Prud'homme <[EMAIL PROTECTED]>: > Ok i'll try that next monday. > > Thanks > > 2008/10/10 Mike Pountney <[EMAIL PROTECTED]>: >> >> >> Try "${myprefix}_group" >> >> On 10 Oct 2008, at 13:40, Sébastien Prud'homme wrote: >> >>> >>> Hi, >>>

[Puppet Users] Calling a define multiple times

2008-10-13 Thread Matt
Hi folks, I think i'm missing something obvious here. I'm trying to search/replace multiple times in n files but I keep hitting a 'ArgumentError: Duplicate definition' or similar in any method I try and do it in. I guess this is because i'm using ${name} to edit the multiple files, but as far as

[Puppet Users] freebsd service provider on Solaris?!

2008-10-13 Thread Ohad Levy
Hi, using puppetdoc -r providers ... :Ruby version: 1.8.6 :Puppet version: 0.24.4 :Operating system: Solaris :Operating system release: 5.8 ... service_ .. _service: http://reductivelabs.com/trac/puppet/wiki/TypeReference#service :Default provider: freebsd = ==