similar to: ''Considered Harmful'' Considered Harmful

Displaying 20 results from an estimated 80000 matches similar to: "''Considered Harmful'' Considered Harmful"

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 Dec 20
9
Puppet Reports
Hello All, We are investigating writing a custom puppet report that would be a web app to show a change log for each host. The issue we are running into stems from how we run puppet. We run a daily cronjob in noop and report mode and fix inconsistency''s either by hand or by puppet depending on the host. This should change some what in the future as our puppet environment matures
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
2008 Nov 14
11
External_nodes definition not working. Client states "could not find node"
Hello folks, Im trying to migrate from static nodes-definition to external nodes definition. My script looks like this stolen from http://reductivelabs.com/trac/puppet/wiki/ExternalNodes: {{{ #!/usr/bin/perl -w use warnings; use YAML qw( Dump ); use Switch; #initialize vars our @classes; our %parameters; Function to fill @classes and %parameters with correct values .... print Dump( {
2007 Jun 14
19
Please test export/collect from svn
For those of you out there using export/collect (which we really need to come up with a better name for...), can you test the current SVN code? I''m mostly wondering if the performance is any better. To use it, you''ll have to remove your current database, since the database schema is significantly changed. I''m getting what looks like an additional 25% reduction
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 Sep 25
4
"Have I included class X" function?
Anyone know if it would be straightforward to extract this information from Puppet, probably in a custom function: The classes included as a result of the client''s parsed configuration - or - Am I in class X as a result of my parsed configuration? I''m thinking it would result in a more elegant manifest if classes X and Y behaved differently if they were both included compared
2007 Sep 08
19
Group changes made over and over?
Hi, I have several Debian servers with puppet 0.23.2. Part of my manifest looks like this: class virt_all_users { @group { "andy": ensure => "present", gid => "1000" } @user { "andy": ensure => "present", uid => "1000",
2007 May 28
12
Anyone using storeconfigs with a DB other than sqlite?
Just wondering if anyone is using a backend database other than sqlite, and if so, how easy/hard it was to configure. I''m constantly receiving "SQLite3::BusyException: database is locked..." which I presume is due to sqlite''s relatively coarse locking method. Cheers, James -- Senior Linux Platform Engineer Midrange Services AXA Technology Services - Asia Pacific
2007 Oct 30
4
append to static array (was: Re: Why External Node Classification is my future)
On 10/29/07, Luke Kanies <luke@madstop.com> wrote: > On Oct 29, 2007, at 2:35 PM, Brian Finney wrote: > > Although iteration would be really cool if we could also append to an > > array in a global fashion, but thats a completely different dream. > > What do you mean? Thinking some thing like: # define for simple firewall control define port($port, $status){ push
2007 Jun 12
6
facts from ldap
Does any one have a recipe for getting facter facts from ldap?
2007 Apr 18
20
dependency and communication between defined classes
Hi, i wanted to know how you handle case when classes or define need to communicate between them. For exemple i got an ftpd define and a apachevhost define. Both need to know the path where the vhost is set and this path is defined by the ftpuser home''s directory. How can i ask information from other define or other classes ? we allready seen that tag are not reliable as they
2007 Aug 24
7
Problem restarting client service ssh in client
Hello, I want a simple operation in a puppet node like restarting the ssh service if it was stopped. My site.pp is simple as this: import "services/*" node default { include ssh } The services directory as a ssh.pp : class ssh { service { ssh: ensure => running, subscribe => File["/etc/ssh/sshd_config"] } } I''ve stopped the ssh service in the
2007 Nov 23
7
Modules design patterns ?
Hi, I''m writing puppet modules since a couple of weeks now, so I''m still considering myself as a new comer in this field. It seems that modules I can find on the web or the recipe page on the wiki almost all use a design pattern where the module is shipped in one or several class(es) whose configuration are determined by "global" or nodes variables ala: module: class
2007 Aug 21
9
Seattle Meetup?
Hi all, It looks like I''ll be in Seattle on Sunday, September 16th through Tuesday the 18th, and I''d like to have Puppet Meetup either Sunday or Monday night. On Adam''s recommendation, I''ll be staying at the Queen Anne Inn, so something near there would be best. Hopefully Adam or Blake can do the actual organization. :) Any takers? -- What is
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 Apr 03
11
RFC: Building a Development Process
Hi all, I''m trying to work more on the development page[1], and I''m having some trouble. It''s not really with the page per se, but rather with trying to get a handle on Puppet''s development process. Currently, my development work has focused on generally short-term goals: Fixing known bugs, providing features that clients have paid for, or providing
2007 Sep 25
2
Runnels development
Looks like there''s enough interest in runnels that it''s time to create a list: https://mail.madstop.com/mailman/listinfo/runnels-dev -- Risk! Risk anything! Care no more for the opinions of others, for those voices. Do the hardest thing on earth for you. Act for yourself. Face the truth. -- Katherine Mansfield
2008 Jun 06
8
useradd provider not working?
I have this config: # BL00070 - Disable NFS service {["nfs","nfslock","netfs","portmap"]: ensure => stopped, enable => false, } user {"rpc": ensure => absent, provider => "useradd" } user {"rpcuser": ensure => absent, provider => "useradd" } file
2007 Jul 12
11
Problem with "defined" keyword
Hi, I''m running Puppet 0.23.0 on my servers, and i got something like this: In a classa.pp file (included in site.pp): class A { file { "test1": ... } } In a classb.pp file (included in site.pp): class B { file { "test2": ... } if defined(File["test1"]) { ... do things ... } if