similar to: Modules, modules, everywhere

Displaying 20 results from an estimated 20000 matches similar to: "Modules, modules, everywhere"

2007 Apr 10
16
Import all modules?
Is there a way to tell the puppetmaster that I want to import all modules rather than listing each one individually?
2007 Aug 23
4
Questions about modules and namespaces
Hello >From my understanding, modules are not autosearched. So, if I have: include ssh ... then puppet will look for a module names ssh and class named ssh defined in /modules/ssh/init.pp Moreover, if I have: include ssh::global ... then Puppet will for class global defined in /modules/ssh/init.pp or /modules/ssh/global.ss. Is that correct? Or am I leaving out some imports
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 Dec 14
15
Not so complex CompleteConfiguration example of a Complete Configuration?
I am new to Puppet and very eager to apply it to a project. But I am somewhat stymied by the learning curve. So far I''ve found many very simple examples of how to modify a file or add a user and a very complex example http://reductivelabs.com/trac/puppet/wiki/CompleteConfiguration . I have not been able to find any other examples of a total configuration tree (ie /etc/puppet/*)
2007 Oct 16
30
Template Nodes considered harmful
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Russ, Digant, *! Several times on the IRC channel I noticed people having problems getting to grips with the interaction of scopes when using template nodes[1]. Typically this looks thus: | node genericwebserver { stuff } | | node ''web01.example.com'' inherits genericwebserver { | $influence_genericwebserver =
2007 Feb 12
8
How to validate puppet manifests without actually executing puppet?
Hi, I want to validate my puppet manifests before I check them into source control. I just want to make sure that the manifest syntaxes are legal, not to do any more complex testing - the checkin may be on my laptop and not on the system that the manifests may be intended to run on. Ideally I''d be able to do this from ruby code - and I did try to instantiate some classes and override
2007 Apr 30
3
Best Practice: how to organize puppetmaster directories?
Hi, While puppet creates its own directories for internal stuff (puppetca, state, etc.), there''s a fair bit of latitude given to where things like manifests and uploaded files live. I didn''t get much guidance from the docs when I first set things up so I mostly poked at things until the worked. Take a look at the following and let me know if this looks reasonable; if so, it
2006 Dec 05
3
RPMs must specify a package source
This is a new one for me. What does it mean? I don''t recall these configs giving me this problem before: RPMs must specify a package source in file /var/lib/puppet/manifests/modules/ssh.pp at line 18
2007 May 08
13
Override to unspecify
In the normal override method, you can change the value of a parameter, but can you unset a parameter? file { "/etc/somefile": mode => 644, owner => "dude" } File ["/etc/somefile"] { mode => unset } ??
2006 Sep 14
12
Specify and respecify
Hello Puppet users, I had talked with Luke about this scenario and was wondering how others would/are handling something like this. Imagine a scenario where all servers will have a specific postfix configuration except for a server or two or three. So, you want to define a file "/etc/postfix/main.cf" and specify the source from your dist tree. But for those exceptional servers,
2006 Sep 15
8
file: target generates error
file { "/var/log/syslog": target => "/var/log/messages" } generates the following error: err: //henson/stanford/syslog/file=/var/log/syslog: Failed to retrieve current state: undefined method `should'' for false:FalseClass
2007 Mar 16
19
Terminology
Hello folks, I''ve blended/updated the Glossary of Terms (<http://reductivelabs.com/trac/puppet/wiki/GlossaryOfTerms>). It seems the definition of "manifests" is a bit different amongst members. Some people consider a "manifest" to be a configuration file written in puppet, e.g. any .pp file. But at my organization, we''ve considered the totality
2007 Mar 29
7
rrdgraphs?
Anyone using the rrdgraph report on the puppetmaster on Debian stable? I''m trying to get this working and not getting far. I even took rrdtool and librrd0-dev from backports and I still get the same problem. It seems that the rrdfiles are being somewhat created, but nevertheless, the puppetmaster isn''t happy and keeps spewing: err: Report rrdgraph failed: Could not create
2007 Dec 11
12
puppet seems to be restarting itself very often
I turned on reporting the other day and I''m seeing alot of these when puppet runs. Especially during times when nothing is going on (middle of the night etc) Tue Dec 11 12:34:48 -0500 2007 //base/puppet/puppet::client/Service[puppet]/ensure (notice): ensure changed ''stopped'' to ''running'' It''s also quite odd that puppet when it runs it thinks
2007 Jul 03
7
CA migration
Anyone ever migrated the puppetca to a different host? What are the steps that are involved?
2007 May 11
14
Trailing commas [best practice survey]
I''m sure everyone has read and committed the Puppet Best Practice to memory by now (I joke). One of the things I''ve written in there deals with trailing commas, which I adopted from the way I used to do multiline in Perl, but I''ve noticed that most people don''t tend to do that in Puppet. Should I revise this or should we all start using the trailing commas?
2007 May 11
6
Quote me on that [puppet best practice]
Another point of disparity between how I see others write Puppet manifests and the Best Practice that I''ve adopted at my institution is the use of quoting. In Puppet, you can get away with not quoting values or references if there isn''t a special character or a keyword being used (e.g. package { openssh: ...} or User[agirl]). However, even though that is possible, to make
2007 Jul 13
7
new puppet providers
I might have the terminology wrong, but how to a give new puppet providers to the puppet clients? I''m thinking a provider is the thing the puppet client uses to implement a task that the master has given it. Am I way off here? Mike B. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
2007 Feb 07
5
exec on purge
Is there a way to exec something on purge?
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.