similar to: An option to test what will be done by the puppet client?

Displaying 20 results from an estimated 2000 matches similar to: "An option to test what will be done by the puppet client?"

2007 Nov 08
1
Parity between native types and defined types
I want to create native types (despite that fact that apparently nobody wants to) to manage a variety of resources under a common namespace. However, I can''t seem to get the namespacing going right. With a defined type, I can do this: define backup_ninja::config(blah, baz) { ... } But that''s not much use to me, as a defined type just isn''t going to cut the mustard
2007 Mar 19
7
Monitoring puppet
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi *! How do you monitor when the last puppet transaction was successful on a node? I''m searching for something easy like a timestamp, so I can put a nagios watch on this. Regards, David - -- - - hallo... wie gehts heute? - - *hust* gut *rotz* *keuch* - - gott sei dank kommunizieren wir über ein septisches medium ;) -- Matthias Leeb,
2008 Mar 19
10
Network interfaces (and deleting them)
I''m in a bit of a pickle and I can''t work out a safe way to do something. I currently have a define called ip that I use to define network interfaces. The built in method didn''t seem to work, so I designed this to write out the /etc/sysconfig/network-scripts/ifcfg- ethX file. However, I started thinking about what if I decide to define an eth0:0 for some purpose, and
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
2007 Feb 14
2
Problem with a template file
Hi, I''ve got a problem when using templates in Puppet. In my node declarations, i set (or not) some special variables to activate (or not) some part of my configuration. When i don''t need the configuration part, i don''t declare the variable. I then use something like this in my templates: ... <% if defined? myvar %> ... myvalue = <%= myvar %> ... <%
2007 Jan 01
5
File configuration difficulty
Hi, I''ve been using puppet to manage a small Linux network fairly successfully for a while now - thanks. I''ve hit a spot of bother in managing some files, though. There are a number of folders in /usr/local that I want to manage efficiently using puppet - for example /usr/local/share/templates. I want to copy the contents of a number of source folders on the puppet fileserver
2007 Jan 24
4
Installing YUM with Puppet
Hi, I have this small problem with my servers managed by Puppet (i have a workaround so the problem is not so important): 1) These servers are installed with Red Hat Linux Enterprise and i use Puppet in client-server mode. 2) I''ve made a Puppet class called "yum" to install (by the RPM package provider) and configure YUM on my servers. I don''t use the YUM package
2006 Oct 14
4
How do I manage manifests most efficiently...?
Hi As I''m more familiar with cfengine and it''s way to split updates (in update.conf) from the actual grunt work (in cfagent.conf), I''m wondering how to best manage puppet and my manifests with puppet...? Should I define a puppet class that copy the puppet package (in .tgz format) and all the manifests to the client, and then have all my other classes depend on
2007 Jul 16
9
DRBD facts
Hi, I can''t find a way to add a page on the wiki (i''m logged in but there is no edit button on the facter recipes page), so here is a recipe for DRBD. It has been tested on version 0.8.4. Can someone publish it on the web site? if FileTest.exists?("/proc/drbd") result = {} Thread::exclusive do File.readlines("/proc/drbd").each do |l| if l =~
2006 Oct 18
1
Dynamic groups for a user
Hi, I try to find a way to do this in Puppet: - i have a web server with Apache installed - on this web server i got user accounts (and there is a group for each user with the same name as the user name, in my case a group called "sebastien.prudhomme". This group is the initial group of the user) - i want to set up UserDir in Apache so that my users can have their own website. - on my
2006 Dec 13
3
Bug status for next release
Hi all, I''ve now finished all of the functionality I plan to add in the next release, so all that remains is closing as many open bugs as possible. I''ve gone through and marked all of the bugs I specifically plan on fixing with the ''minor'' milestone. If you have a bug in the db[1] that you think needs to be fixed in the next release but is not
2007 Jul 09
3
how to make a package depend on 2 or more other packages
Hi, when using puppet to install extra rpm packages on centos: how can I make a package depend on 2 or more other packages. e.g. this works: class centos4_extra_packages { package { "test1" : ensure => installed, require => package["prereq"] } } but I can''t figure out how to make test1 require
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
2006 Sep 02
2
very new user having problems
I just loaded CentOS and want to connect to the internet using a radio and wireless internet. I got some numbers from the internet provider. He walked me through some of the changes in the networking area. But it did not work. I have read three books on Unix and I am determined to do this. but I think I need lots of help. Where could I look this up on a windows machine?? when I get
2005 May 16
1
graphic
Hi, poids taille fumeur sexe sport etat 85 184 oui homme 1 malade 65 175 oui homme 1 malade 74 180 oui homme 2 gueri 79 175 oui homme 2 malade 71 165 non homme 3 gueri 80 185 non homme 3 gueri 75 180 non homme 4 malade 69 155 non homme 4 malade 74 168 oui
2007 Jun 04
3
Method of specifying tags in the puppetd.conf
Hi, From looking at the puppetd --help, there is not currently (at 0.22.4) a method of specifying tags in the puppetd.conf. I was hoping to use this for the following reason: Currently, I use ''noop = true'' in my puppetd.conf, and run ''puppetd --no-noop {tags}'' to install the configurations that I am happy with. This is because I''m currently
2009 Aug 12
1
[Announce] Samba 3.2.14 Maintenance Release Available
================================================================ "I think there is a world market for maybe five computers." Thomas Watson ================================================================ Release Announcements ===================== This is the last maintenance release of the Samba 3.2 series. Please note that this is the last bugfix release of the
2009 Aug 12
1
[Announce] Samba 3.2.14 Maintenance Release Available
================================================================ "I think there is a world market for maybe five computers." Thomas Watson ================================================================ Release Announcements ===================== This is the last maintenance release of the Samba 3.2 series. Please note that this is the last bugfix release of the
2007 Mar 09
3
Prayer, Maildir and Folders whose names begin with "."
Greetings - I think I've just had one of my fears confirmed: not Dovecot-specific exactly, but it affects how we will use of Prayer (Webmail Software) with Dovecot... Currently our production service uses MBX-format mailboxes with the UW IMAP server; we also use the University of Cambridge "Prayer" software for Webmail. By default Prayer saves its preference settings,
2007 Jan 29
3
WXRuby Documentation
Hi, I am very new to Ruby, but I know I can express myself in writing pretty well. If it''s OK to contribute to the documentation of WXRuby, How do I do that? I signed up for a membership on Sourceforge, but was not sure what to do after that. Thanks. Jim James D Homme, Usability Engineering Highmark Inc. james.homme@highmark.com 412-544-8177 "If you think you can, or if you think