search for: puppetbestpractice

Displaying 14 results from an estimated 14 matches for "puppetbestpractice".

2007 Nov 18
5
modules yet again
I know this comes up periodically, and I''ve read through the wiki (including the Best Practices page) & list archives, but still can''t quite get my head around it. I see lots of references to /modules and $MODULE_PATH, but am not sure what these refer to. Here''s a basic setup I have. Let me know if this looks correct: /etc/puppet/ |-- autosign.conf |--
2007 May 11
14
Trailing commas [best practice survey]
...ere 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? <https://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice#syntax-and-formatting>
2007 May 19
7
Puppet Trac throwing errors again for documentation pages
Hi, https://reductivelabs.com/trac/puppet/wiki/DocumentationStart https://reductivelabs.com/trac/puppet/wiki/PuppetIntroduction https://reductivelabs.com/trac/puppet/wiki/PuppetMasters https://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice - Max
2007 Dec 19
0
Users module
...ql primary group set as applicable. The R&D developer is the ''web developer'' for only a few systems, but the web developer team doesn''t work on those systems, so he has a separate userid. Initially, I set out to handle this with the virt_all_users class from the wiki:PuppetBestPractice page and some bits from wiki:Authorized_keysRecipe. I encountered a bug in the realize function (bug id #787, fixed in 0.24.0), and instead rewrote with normal resources in classes only included on the systems where those users were needed. This was ''working'' until we needed to ha...
2007 Nov 01
2
Nodes and defaults question
Hi there, If I have a manifest with, say: node default { ..stuff.. } node mymachine { ..stuff.. } What would happen on mymachine: will the stuff in default be executed *as well as* the stuff in default, or only the stuff in mymachine? And, if the latter, should I move global stuff just to global scope outside of nodes? Thanks -Iwan
2007 May 08
0
Puppet Best Practice (moved)
I''ve moved it to: <http://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice>
2007 Oct 16
30
Template Nodes considered harmful
...efined variable never reaches the included resources and thus never affects the template node as intended. Since template nodes -- at least in my experience -- only contain includes anyway, not even the need for overriding can be argued. The pattern of template nodes is originally described on PuppetBestPractice[2], therefore I''d like to solicit at least one or two comments before changing the page. MY proposed solution is to change all template nodes into template classes and instead of inheritance use inclusion: | class genericwebserver { stuff } | | $influence_genericwebserver = "site...
2007 Oct 12
10
external nodes
I use a simple yaml file and and an external nodes script to express each of my nodes. What I''m trying to do is make sure that all individual data is expressed at the node level and not have anything in classes or modules that isn''t generic and shared. the example below works really well but I can''t express it via my external nodes, I have to bury it in a class (or
2007 Nov 13
6
Groups
Hello, Is it possible to group many nodes together? Suppose I have a large number of machines that I all want to have the same config - rather than specify them as individual nodes each inheriting the same config, I''d like to say that a group inherits a config, and define the group elsewhere. Does this sort of construction already exist? Could it be cobbled together from what we
2007 May 11
6
Quote me on that [puppet best practice]
...or the sake on consistency (otherwise, a reference name isn''t quoted unless it has a space or other special character, in which case it is quoted, and therefore when skimming a manifest, things don''t look consistent). Discussion? <https://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice#syntax-and-formatting>
2007 Jul 11
17
Best practise guide
Hi, I''m a new puppet user (thanks !) and I''m just looking at moving my homegrown manifest structure into something resembling the best practise guide at : http://www.reductivelabs.com/trac/puppet/wiki/PuppetBestPractice. It seems as if the structure here doesn''t map to the default puppet layout (and thus doesn''t work with the standard puppet config files), so does anybody have any tips on the best way to take this from subversion and put it ''live'' ? Thanks, Rob
2007 May 07
68
Puppet Best Practice
...ce will be important as more and more people consider making shareable modules, etc (mostly the syntax stuffs -- file hierarchy doesn''t matter except for modules, which is already defined quite well in the Module Organization page). <http://reductivelabs.com/trac/puppet/wiki/StanfordPuppetBestPractices>
2007 Oct 26
14
''Considered Harmful'' Considered Harmful
Because here in Puppet-land we''re all about self-reference and recursion, and because I actually have to give a talk at RubyConf next weekend about abusing self-reference, and because parent nodes aren''t considered harmful in my own world, I give you: http://www.codinghorror.com/blog/archives/000982.html I think it manages to somehow be both on- and off-topic at the same
2007 Aug 23
24
Type development for the rest of us
Since I had my type development epiphany a couple of days ago, I''ve decided to write down my understanding of developing simple types, at http://reductivelabs.com/trac/puppet/wiki/PracticalTypes. I''d appreciate comments from people who already know how to develop types as to correctness, and also comments from people who are new to type development about whether it''s a