[Puppet Users] condition to test if fact contains ..

2008-11-24 Thread gary
Hello, I'm trying to build a module to install Dell OpenManage. I see there's a fact that productname: productname => PowerEdge R200 I think there's no way to have a condtion that says if productname starts with PowerEdge? Would I need a custom fact? Anyone write one yet? :) --~--~-~

[Puppet Users] Re: Puppetrun with parameters

2008-11-24 Thread RijilV
2008/11/24 Alan Sparks <[EMAIL PROTECTED]> > > Are there any examples of how something like this would work? Can't > seem to grasp it from documentation, how I could creat a tag like > "apache_broken" and apply that to something that would force a restart > of the service. The issue is, "ensure"

[Puppet Users] Re: Puppetrun with parameters

2008-11-24 Thread Alan Sparks
Are there any examples of how something like this would work? Can't seem to grasp it from documentation, how I could creat a tag like "apache_broken" and apply that to something that would force a restart of the service. The issue is, "ensure" is not adequate, since the service could appear to b

[Puppet Users] Re: Understanding the docs

2008-11-24 Thread kevin
On Nov 24, 1:37 pm, RijilV <[EMAIL PROTECTED]> wrote: > Anyone else feel free to step in and correct me, but here's how I see it... > > 2008/11/24 kevin <[EMAIL PROTECTED]> > > > > > Ok, I've been reading and I have some questions about best practices: > > > I understand that modules are to be s

[Puppet Users] Re: Puppetrun with parameters

2008-11-24 Thread RijilV
2008/11/24 Alan Sparks <[EMAIL PROTECTED]> > > This is a sort of open-ended question, to find out if the concept is > possible or has been done... > > I have used cfengine in the past to do assisted autorecovery of systems, > by integrating Hobbit paging with cfrun. In those cases, I've added > c

[Puppet Users] Subversion Module

2008-11-24 Thread Paul Lathrop
Puppet Folks, We've decided to share some of our Puppet modules. Here's the first one I've cleaned up for general release: http://github.com/plathrop/puppet-subversion/ Comments and patches welcome! Regards, Paul --~--~-~--~~~---~--~~ You received this message

[Puppet Users] cron type with UID conflicts

2008-11-24 Thread Erik
Hi All, I'm very happily using puppet in a large environment, but I ran into a problem: In our environment, we create multiple root accounts (via NIS), so that each UNIX admin can have a root-priveledge account, but with their own password. This is presenting a problem in using puppet to manage

[Puppet Users] Puppetrun with parameters

2008-11-24 Thread Alan Sparks
This is a sort of open-ended question, to find out if the concept is possible or has been done... I have used cfengine in the past to do assisted autorecovery of systems, by integrating Hobbit paging with cfrun. In those cases, I've added classes to cfengine rules to use dynamically-defined clas

[Puppet Users] Re: Understanding the docs

2008-11-24 Thread RijilV
Anyone else feel free to step in and correct me, but here's how I see it... 2008/11/24 kevin <[EMAIL PROTECTED]> > > Ok, I've been reading and I have some questions about best practices: > > I understand that modules are to be self contained blocks that i can > just drop in. Using best practices

[Puppet Users] Understanding the docs

2008-11-24 Thread kevin
Ok, I've been reading and I have some questions about best practices: I understand that modules are to be self contained blocks that i can just drop in. Using best practices, how does this fit into the naming scheme? Classes are singletons. I think i understand this. I've been defining classe

[Puppet Users] Re: question regarding erb-templates

2008-11-24 Thread Stefan Wiederoder
> As far as I understood is the mapping file deployed by puppet as well? yes, that´s true. > So how do you generate the mapping file? Wouldn't it be possible to > generate the config file with these values directly? Or how is the > mapping file created? > > cheers pete the mapping is file creat

[Puppet Users] Two files with no change trying to be modified

2008-11-24 Thread Arnau Bria
Hi all, I have a couple of files that puppet is trying to copy each time it runs. The first one is a plain text file with a "1" inside: client: # cat /opt/localconf/gLite3.1/yaim/pic/configure 1 # md5sum /opt/localconf/gLite3.1/yaim/pic/configure b026324c6904b2a9cb4b88d6d61c81d1 /opt/localcon

[Puppet Users] logdest on client

2008-11-24 Thread Arnau Bria
Hi, I'm running client with --logdest=/var/log/puppet.log just to get a clean puppet log and don't mix it with messages. # grep . /etc/sysconfig/puppet |grep -v "^#" PUPPET_SERVER=gridinstall01.pic.es PUPPET_LOG=/var/log/puppet.log But I only get this message in new log: # cat /var/log/puppet

[Puppet Users] Re: question regarding erb-templates

2008-11-24 Thread Peter Meier
Hi > my task is to deploy a client software, which includes generating a > configuration file > using a text-file which maps the clients to the server. > > I´ve create custom facts, which parse the mapping file and these > values are > used within an erb-template. > > problem is that facter is

[Puppet Users] question regarding erb-templates

2008-11-24 Thread Stefan Wiederoder
Hi all, I need advice about the right puppet way of doing things. my task is to deploy a client software, which includes generating a configuration file using a text-file which maps the clients to the server. I´ve create custom facts, which parse the mapping file and these values are used withi