similar to: If and variable

Displaying 20 results from an estimated 1000 matches similar to: "If and variable"

2008 Mar 22
6
pass Resources to a define or unsetting notify
Hi i''m trying to pass Resources (single or in an array) to a resource, so I can pass this to a notify or require. However I have some problems, when no resource should be passed. Maybe somebody can help me? thanks define gentoo::etcconfd ( $require = '''', $notify = '''' ){ file { "/etc/conf.d/${name}": owner =>
2007 Apr 25
12
Facter repository
Is there a repository of Facter plugins that people have made? I''m working on a few that i wouldn''t mind sharing when complete.
2008 Apr 12
8
Question: Do all puppetd run at the same time?
(I know more questions... :-)) I know the default for puppetd is to check puppetmasterd every half hour, but my question does each puppetd check at the same time? Or does it depend when puppetd is started or like a cronjob does it run at the 1/2 hour and hour mark? Is there some randomness to the times they run? My point is if they all run at the same time then if you have a large amount of
2007 Jul 12
15
Ruby Gems and Rails
Hi, I think this has been discussed previously on the list, so apologies if I''m covering old ground but I''ve been using puppet to manage a few Rails applications which have dependencies on quite a few gems, so it''s getting to be a bit of an onerous task to manage them. It looks like the command line interface to gems doesn''t really support automated
2007 Apr 18
14
puppet does not speak french ;)
i got a little idea there, should not puppet use environement LANG=C when managing facts or packages etc... ? i have LANG=fr_FR.UTF-8 and puppet choke on quite a few facts (erors messages with uname for exemple: Pour en savoir davantage, faites: « uname --help ». ) and also with packages updates : /usr/bin/apt-cache policy mysql-client-4.1 => err:
2007 May 07
68
Puppet Best Practice
Hello everyone, A long time ago, I posted the Stanford Best Practices and I''ve gone through and updated it today. I''d like to have people go through it and see if we can strip out some Stanford specific stuff and tag this as an official best practice. I think an official best practice will be important as more and more people consider making shareable modules, etc (mostly
2007 Jan 13
3
duplicate definition when inheriting classes
I thought the purpose of classes was that you could redefine types in the subclasses. However I get "Duplicate definition" errors whenever I attempt this. On a whim I tried the code from the documentation: http://reductivelabs.com/projects/puppet/documentation/structures.html --- Subclassing The primary benefit of using subclasses instead of just including the parent class is that
2007 May 30
16
Shorewall recipe BETA, need comments !!
Hello community ! I have posted here my shorewall recipe: http://reductivelabs.com/trac/puppet/wiki/AqueosShorewall If anyone is interested please test and comment to see if we can improve it ! :) I also updated my facter recipe for VERIO vps servers if anyone interested... :) http://reductivelabs.com/trac/puppet/wiki/AqueosFacterVps Hope that helps ! -- Cordialement, Ghislain
2007 Jun 13
3
trigger configuration run remotely
I was wondering how to trigger a configration run remotely. Is this possible? Looking through the docs, I see mention that puppet can listen on port 8139, but I don''t see that this is the case on my servers. Can someone please enlighten me as to the proper method of doing this, if it can indeed be done? Thanks!
2007 Oct 04
2
Selector syntax error on Debian Etch
Hi all, I''m having problems making some manifest work, and it''s so simple that I don''t know where the issue is: I get this error message when trying to load this vhost.pp file: "Could not retrieve configuration: Syntax error at ''}'' in file /etc/puppet/manifests/classes/vhost.pp at line 9" define vhost ( $domain, $admin, $docroot, $enable )
2006 Dec 12
2
OpenSSL 0.9.7e-p1 25 Oct 2004
Hello, As i still have issue i wonder if anyone using this version of openssl ? OpenSSL 0.9.7e-p1 I still cannot make puppet accept Certificate on freeBSD6 with this openssl version. I got the famous error 7 at 1 depth lookup:certificate signature failure and i havent find a way to get around that :( -- Cordialement, Ghislain _______________________________________________
2007 Jan 25
3
overriding file in a class
Hello, i use a file type to manage sysctl.conf. For some work i override this file by doign File[''/etc/sysctl.conf''] and i have an exec refresh only to run sysctl -p so it reread the sysctl.conf file if changed. My issue is that at each run i got, i start in state when i see the overriden one on the server: 1st run, i have the basic sysctl.conf not the ovveriden one
2007 Feb 08
16
exported ressources
Hello, i wanted to know if we can use exported ressrouces to do things like this: - for all nodes tagged as xxx create on the node yyy a file which content is a template where we can have each hostname , or create one file per nodes matching exemple /etc/hosts.allow sshd: host1 sshd: host2 ... or /etc/backuppc/host1 /etc/backuppc/host2 ... from the docs it seems i can collect only ALL
2007 May 10
0
Rewritten Language Tutorial
The language docs have been languishing for ages, so out of disgust I consolidated the LanguageStructures and LanguageTutorial pages into a new, rewritten LanguageTutorial[1] page. Let''s consider this page the single page for all language explanation, and let''s do what we can to enhance and correct this page over time. I think the existence of two pages confused
2007 Feb 14
1
newbie: logical AND, OR in selectors ?
Hello Is it possible to construct selectors that can take into account two or more variables or conditions, by ANDing or ORing them together? Eg, I am trying to write a cvsserve component which can optionally take a username (or connect anonymously) and can also optionally take a cvs tag name to export. So there would be four different combinations of cvs command to exec, eg: cvs -d
2007 Mar 13
11
N00B questions: How to dynamically set hostname in a config file . . .
Greetings - I''ve just started testing Puppet and have a couple of questions: 1. Is there a way to dynamically change a configuraion file that is sent to nodes? For example, I want to modify /etc/hosts to have the hostname and ip address set dynamically - the hosts file shoule look like: 12.34.56.78 node1.example.com 22.35.66.99 server1.example.com But I don''t want to
2004 Jan 03
2
one more thing i forgot...
there is one more thing that you should probably see: this is the error message that cygrunsrv.exe gave me: Eric at ballistic ~ $ cygrunsrv --start sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. this is the error message that "net" gave to me: Eric at ballistic ~ $ net start sshd The CYGWIN sshd service is starting.
2007 Feb 14
4
cvs export on puppetmaster box
Hello I am thinking that it is better to do a cvs export of a project once, on the puppetmaster box, rather than do the same cvs export on all puppet clients, yes? If so, how does one do this? Do you run puppetd on the same box as puppetmasterd and set up the cvs export as an exec for only the node with the same hostname as the puppetmaster? Thanks Jesse Jesse Reynolds Virtual
2007 Feb 14
9
managing multiple files
How can I express the following in puppet? $http_conf = "/etc/http/conf/httpd.conf" $vhosts_conf = "/etc/http/conf/vhosts.conf" @files = ("$httpd_conf", "$vhosts_conf") foreach f (@files) { file { "$f": owner => root, group => root, mode => 664, source => "puppet://$server/apache/$f", }
2007 Sep 19
12
server provisionning
Hello puppet users, I know this is not really a puppet thing but i wanted to know what tools do you use for server provisionning ? I have to build quite a lot of servers for a prject and i need to instal them. Of course puppet take care of the configuration but i wondered if some of you use things like FAI . It seems that i could use puppet to script FAI to install machines. What do you