Re: [Puppet Users] Can a require use an OR ?

2010-09-22 Thread Patrick
never understood what you wanted puppet to do. You told it to copy two different files to the same place. Did you want it to concatenate them together? On Wed, Sep 22, 2010 at 6:36 PM, Patrick kc7...@gmail.com wrote: On Sep 22, 2010, at 6:14 PM, Luc Suryo wrote: Hi Jeff well the thing

Re: [Puppet Users] Exported resource Host[fqdn] cannot override local resource

2010-09-21 Thread Patrick
On Sep 21, 2010, at 7:04 AM, CraftyTech wrote: Hello All, So, I realize this is a common issue, but still can't identify the problem here. Even after reading similar posts... Essentially, I'm exporting / collecting hosts via stored configs.. Here's my export class: class

Re: [Puppet Users] A question about synchronization

2010-09-21 Thread Patrick Mohr
On Tue, Sep 21, 2010 at 12:49 PM, 2ead3bcd leoche...@hotmail.com wrote: Hi, Suppose I have 3 nodes, and I want puppet to perform a set of steps on them in a different order: Apply step A on each of them, then step B on each of them, then step C on each of them, and so on. I'm wondering if

Re: [Puppet Users] a little help with definitions in nodes

2010-09-20 Thread Patrick
On Sep 20, 2010, at 8:01 PM, denmat wrote: Hi List, I have two questions. Firstly I want to be able to ensure a default package is installed across all hosts unless I specifically require them to be absent. To do this I have created a module(httpd) and class(php_mod) and

Re: [Puppet Users] 'sslv3 alert handshake failure' when using puppet load-balanced through Apache

2010-09-16 Thread Patrick
I've found that there are three major pieces that can be going wrong in this case: 1) Getting the ca.pem file to the client. 2) Getting the Certificate sign request to the server. 3) Getting the signed certificate to the client. Test them like this: To test 1) Grab /var/lib/puppet/ssl/ca.pem

Re: [Puppet Users] Chained puppet servers

2010-09-16 Thread Patrick
On Sep 16, 2010, at 10:56 AM, Jewels wrote: I think this should work - but I don't want to break production - so.. There are several firewalls involved, but I can open 8140 as needed. So if I have a master server in one subnet and a client/master in another net - here is what I am

Re: [Puppet Users] SSL Chaining puppet 2.6.1 passenger and apache

2010-09-16 Thread Patrick
On Sep 16, 2010, at 9:11 PM, denmat wrote: Hi list, have an issue which I haven't been able to find a definitive answer for after searching list. I have upgraded from 2.5 to 2.6 and problem I have existed with 2.5 so this is not related to the new release. (running on F12/Centos5.5).

Re: [Puppet Users] Re: SSL Chaining puppet 2.6.1 passenger and apache

2010-09-16 Thread Patrick
On Sep 16, 2010, at 10:37 PM, denmat wrote: You are correct. Many thanks Patrick. You're welcome. I'd advise you so trim down your config file right after you get it working. Yours is really unmanageable. Here's mine: [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib

Re: [Puppet Users] Accumulating values

2010-09-15 Thread Patrick
On Sep 15, 2010, at 7:35 PM, タイ シー wrote: Greetings I'm searching for an elegant way to contribute lines to an SNMP configuration file from resources scattered throughout a given system's catalog, such that from anywhere, the SNMP configuration file can be arbitrarily extended like

Re: [Puppet Users] puppet and git

2010-09-10 Thread Patrick
On Sep 10, 2010, at 3:16 AM, Matt Wallace wrote: 2) I'm struggling to find a way for puppet 0.25 to perform a git pull on all the master branches _before_ it runs to ensure that the latest configs are being distributed. So you want the puppetmaster to run a git pull every time it tries

[Puppet Users] Resources on Windows

2010-09-09 Thread Patrick
I was going to try puppet on Windows and was wondering if anyone has advice before I start. I found http://projects.reductivelabs.com/projects/puppet/wiki/Puppet_Windows I mostly wondering if these work/exist: *) file *) exec *) package (msi) *) The registry provider that people were talking

Re: [Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-09 Thread Patrick
On Sep 9, 2010, at 10:58 AM, FreddieB wrote: Hi Stefan and Mathias! I'll definitely try this out. If that doesn't work for some reason I'll probably wait for the package in experimental to move up the ladder (performance is not critical yet). One warning, Webrick's bad performance can

Re: [Puppet Users] Resources on Windows

2010-09-09 Thread Patrick
On Sep 9, 2010, at 1:02 AM, William Van Hevelingen wrote: Hi Patrick, On Wed, Sep 8, 2010 at 11:10 PM, Patrick kc7...@gmail.com wrote: I was going to try puppet on Windows and was wondering if anyone has advice before I start. I found http://projects.reductivelabs.com/projects/puppet

Re: [Puppet Users] Puppet use with OLPC's XS

2010-09-08 Thread Patrick
On Sep 8, 2010, at 7:20 AM, Martin Langhoff wrote: Hi Puppet Users, Hi Luke, Happy to find myself here. I am an old ISConf user -- Luke might remember my random questions back in the infrastructures / isconf list -- and have been developing the School Server (XS) for OLPC for a while (and

Re: [Puppet Users] Re: Puppet use with OLPC's XS

2010-09-08 Thread Patrick
On Sep 8, 2010, at 11:00 AM, Martin Langhoff wrote: 3 - Can I hook up a trigger so when a new conffile for a service is installed the service is restarted? IE: I provide a new /etc/named.conf, I want to add a trigger that says that everytime it changes, services named restart should be

Re: [Puppet Users] Re: puppet.conf = client = false; Puppet 0.25.5

2010-09-08 Thread Patrick
Have you tried to set the interval to something very long and set the --noop flag? (or what ever it's called) That should do something lose enough to what you want that it won't matter. On Sep 7, 2010, at 1:54 PM, CraftyTech wrote: Has anyone found a workaround for this? It appears that the

Re: [Puppet Users] Puppet + APT, I am lost...

2010-09-07 Thread Patrick
On Sep 7, 2010, at 1:22 AM, Martijn Grendelman wrote: Hi, But for this to work, the Puppet run needs to run aptitude update to pick up the new package name. Running the update periodically isn't enough, but running an update on every catalog run is just overkill. I understand your

Re: [Puppet Users] [puppet-server] - /var/lib/puppet while installing 0.25.5 puppet-server

2010-09-02 Thread Patrick
I would assume that the package maintainer moved the default directory location. Try this: puppetmaster --genconfig | grep libdir = On Sep 2, 2010, at 8:37 AM, kid17 wrote: just installed puppet-server using yum. but when i ran /etc/init.d/puppetmaster start, file directory /var/lib/

Re: [Puppet Users] Puppet Scalability - Centralised Puppet SSL Cert Issues

2010-09-01 Thread Patrick
On Aug 31, 2010, at 10:47 PM, John Warburton wrote: Hi All I am trying to use the section on Centralised Puppet Infrastructure on the Scaling Puppet page - http://projects.puppetlabs.com/projects/1/wiki/Puppet_Scalability No matter what I do, I always end up with the client

Re: [Puppet Users] How report errors and random errors in clients

2010-09-01 Thread Patrick
On Sep 1, 2010, at 5:28 AM, Héctor Rivas Gándara wrote: I still have random Segmentation Faults with ruby on AIX. I will ignore them for the moment until I will compile last ruby source (may be 1.9.x) and test it. I remember reading somewhere that puppet isn't compatible with 1.9.x versions

Re: [Puppet Users] Executing check times out

2010-08-31 Thread Patrick
On Aug 31, 2010, at 1:49 AM, Tore wrote: Hi, Just recently two nodes begun to hang, I cant see that there have been any changes in our manifest. Debug output: [...] debug: //Node[X]/X[X]/Exec[create dir]: Executing check 'test \! -d / dir' debug: Executing 'test \! -d /dir' [...]

Re: [Puppet Users] Re: Dynamically generate array of system accounts

2010-08-29 Thread Patrick
I was under the impression that generate is run on the puppetmaster, but I'm not sure. You might want to check to see if your user list is coming from the server. On Aug 29, 2010, at 12:27 PM, bonobo wrote: I may have answered by own question, but it still seems like there might be a better

Re: [Puppet Users] can checksum be set to none on a file if content is defined?

2010-08-27 Thread Patrick
On Aug 27, 2010, at 7:07 AM, John Lyman wrote: On a file resource, if the content parameter is set and checksum is set to none, I am getting Parameter content failed: Munging failed... This appears to be a bug, but maybe I missed something in the documentation and it isn't supposed to

Re: [Puppet Users] Is a puppet server essential?

2010-08-27 Thread Patrick
On Aug 27, 2010, at 11:33 AM, Dan Bode wrote: On Fri, Aug 27, 2010 at 9:21 AM, Mike Devlin mdev...@aisle10.net wrote: you lose all the reporting functionality, but as long as you get all your puppet manifests and files accessible by the servers you want to run puppet on (rsync,

Re: [Puppet Users] quoting special characters in puppet.conf

2010-08-25 Thread Patrick
On Aug 24, 2010, at 11:52 PM, Amos Shapira wrote: Hello, I'd like to pass the following flags to diff through puppet: -urbB -I $Id -I $HeadURL -I $URL But when I try to set diff_args in /etc/puppet/puppet.conf like this: diff_args = -ubB -I \$Id -I \$HeadURL -I \$URL Puppet

Re: [Puppet Users] Re: How to start using Puppet

2010-08-25 Thread Patrick
On Aug 25, 2010, at 2:25 PM, sumarc wrote: Thx James, I've checked out those pages, but to be honest I'm still a bit confused. One of the pages mentions to test Puppet locally (without server and client), how do I do this? Is there a doc for this too? I find that not using a server

Re: [Puppet Users] Language Feature by Release table

2010-08-24 Thread Patrick
On Aug 23, 2010, at 11:36 PM, James Turnbull wrote: Hi all We've added a Language Feature by Release table to the Language Tutorial. http://docs.puppetlabs.com/guides/language_tutorial.html Please feel free to suggest additions to this or other suggestions. Thanks James Turnbull

Re: [Puppet Users] Re: puppetrun failing with Error 403?

2010-08-23 Thread Patrick
. Still getting the same error(s)! On Aug 20, 4:07 pm, Patrick kc7...@gmail.com wrote: On Aug 20, 2010, at 6:05 AM, matonb wrote: I'm trying to push client configurations from the puppetmaster instead of having scheduled runs on each client. I think puppetrun is what I'm after but I can't get

Re: [Puppet Users] Re: puppetrun failing with Error 403?

2010-08-23 Thread Patrick
On Aug 23, 2010, at 2:10 AM, matonb wrote: Hi Patrick, The client and server are both version 2.6.0 I am running puppetrun as root on the puppet master server. And yes, a test run completes successfully Thanks for your help, Brett Puppet.conf had it's section names changed

Re: [Puppet Users] User_Password

2010-08-23 Thread Patrick
Check what is actually being set in /etc/shadow (or wherever). I'm guessing the function takes an encrypted password and you're giving it a decrypted password. On Aug 23, 2010, at 10:38 PM, parag(PK) wrote: Hi, My code snippet looks like this: user{xyz : password =

[Puppet Users] Trouble making a pure ruby puppet type

2010-08-22 Thread Patrick
I'm making a cups manager type and I'm having trouble figuring out where I should parameters and where I should use properties. The file is at http://github.com/kc7zzv/puppet-cups_printer/blob/master/lib/puppet/type/cups_printer.rb . I was accidentally using newproperty and newparameter

Re: [Puppet Users] Trouble making a pure ruby puppet type

2010-08-22 Thread Patrick
On Aug 22, 2010, at 9:26 PM, Dan Bode wrote: Hi Patrick, On Sun, Aug 22, 2010 at 9:01 PM, Patrick kc7...@gmail.com wrote: I'm making a cups manager type and I'm having trouble figuring out where I should parameters and where I should use properties. The file is at http://github.com

Re: [Puppet Users] Trouble making a pure ruby puppet type

2010-08-22 Thread Patrick
On Aug 22, 2010, at 9:33 PM, Dan Bode wrote: On Sun, Aug 22, 2010 at 9:30 PM, Patrick kc7...@gmail.com wrote: On Aug 22, 2010, at 9:26 PM, Dan Bode wrote: Hi Patrick, Which is right? if you just need absent/present ensure states, then use the ensurable method (expects create

Re: [Puppet Users] Re: puppet dashboard gui looks odd from apache2

2010-08-21 Thread Patrick
On Aug 21, 2010, at 10:37 AM, Rustler wrote: One thing I found when trying to get both working in apache is that the passenger and rails setting in both files were stomping on each other. Dashboard needed RailsAutoDetect On which was getting turned off by the other vhost file. I

Re: [Puppet Users] puppetrun failing with Error 403?

2010-08-20 Thread Patrick
On Aug 20, 2010, at 6:05 AM, matonb wrote: I'm trying to push client configurations from the puppetmaster instead of having scheduled runs on each client. I think puppetrun is what I'm after but I can't get it to work! Try replacing the line in puppetrunner with allow * and work back from

Re: [Puppet Users] Downloading files to Puppet clients from HTTP Server

2010-08-19 Thread Patrick
On Aug 19, 2010, at 2:38 AM, Craig Dunn wrote: By any chance, does the source parameter supports HTTP URLs, if not then how can i do that in Puppet ? Source currently only supports the file and puppet URI types, you could accomplish a few ways, one is with a simple exec exec

Re: [Puppet Users] auth.conf in puppet 2.6 with Apache + Passenger

2010-08-17 Thread Patrick Mohr
I think you might have missed this bit: *Setup your puppet.conf* *Make sure you have the following set in your puppetmaster’s puppet.conf:* *[puppetmasterd]* *ssl_client_header = SSL_CLIENT_S_DN* *ssl_client_verify_header = SSL_CLIENT_VERIFY* On Tue, Aug 17, 2010 at 5:59 PM, Sven Schott

Re: [Puppet Users] Re: Push changes to clients

2010-08-13 Thread Patrick Mohr
On Aug 13, 2010, at 7:21 AM, Christopher Johnston wrote: ignoreschedules = true This will cause puppet to ignore schedule resources. It won't do what you want. Cant you just use those two options to allow puppetruns to work and not have the client attempt to do updates? On

Re: [Puppet Users] Re: Forbidden request: HOSTNAME(IP_ADDRESSE) access to / certificate_revocation_list/ca

2010-08-13 Thread Patrick Mohr
On Aug 13, 2010, at 7:22 AM, Christian wrote: When i run in the webbrowser https://SERVER_NAME:8140 I'm getting following message: The environment mus be purely alphanumeric, ''. Is it an problem not to have an environment defined? My working puppetmaster gives the same error. -- You

Re: [Puppet Users] Parsing key/value pairs in ruby

2010-08-12 Thread Patrick Mohr
On Aug 12, 2010, at 10:55 AM, Rein Henrichs wrote: Excerpts from Paul Nasrat's message of Thu Aug 12 06:45:52 -0700 2010: You might use shellwords to handle the quoting. require 'shellwords' l = %q(printer-make-and-model='Brother HL-2060 Foomatic/hpijs-pcl5e (recommended)'

Re: [Puppet Users] puppetrun with --class argument not working, ver. 0.25.5

2010-08-11 Thread Patrick Mohr
I think I've seen a similar error before. If I remember right, the problem is that puppetrun or is looking in the main/puppetrun sections for information about ldap. You have you ldap stuff in puppetmasterd. Try temporarily putting all the ldap stuff in [main]. On Tue, Aug 10, 2010 at 9:14 PM,

Re: [Puppet Users] Optionally ensuring a service is running

2010-08-11 Thread Patrick Mohr
On Aug 11, 2010, at 9:31 AM, Joe McDonagh wrote: On 08/11/2010 12:27 PM, Marc Zampetti wrote: I want puppet to normally manage the running state of a service, so that if the service stops, it is restarted, etc. But during maintenance windows, I want puppet to leave the service in whatever

[Puppet Users] Parsing key/value pairs in ruby

2010-08-11 Thread Patrick Mohr
I'm making a provider for cups and I need to parse a string into arbitrary key/value pairs. The string looks like this: printer-make-and-model='Brother HL-2060 Foomatic/hpijs-pcl5e (recommended)' printer-state=3 printer-state-change-time=1266621145 printer-state-reasons=none

Re: [Puppet Users] variable confusion

2010-08-09 Thread Patrick Mohr
Why not just move everything to a class in a diffierent file? Then put the variables directly in that class? On Mon, Aug 9, 2010 at 9:23 AM, Christopher Johnston chjoh...@gmail.comwrote: Why can't variables be reassigned with a setup like this? node /.*mydomain.com/ { import mydomain.pp

Re: [Puppet Users] generating catalog files

2010-08-02 Thread Patrick Mohr
On Aug 2, 2010, at 5:50 PM, Jon Wilson wrote: Hiya, Is there a way I can easily generate the catalog for a particular puppet client, without actually running Puppet on that client? I'd like to write some unit tests for my Puppet master, which generate catalogs for a set of clients, and

Re: [Puppet Users] Bootstrap

2010-07-30 Thread Patrick Mohr
Do you want to run it off the server or install it on the client? What OS? On Jul 29, 2010, at 9:02 PM, parag(PK) wrote: Can it be possible to boot up a bare metal client ,by downloding the whole OS from server .when the client is powered on . -- You received this message because

Re: [Puppet Users] Re: Newbie question - package installation

2010-07-30 Thread Patrick Mohr
other choices seem to be an nfs mount, or a local repo server. Thanks On Jul 29, 11:23 am, Patrick Mohr kc7...@gmail.com wrote: On Jul 29, 2010, at 9:45 AM, Rustler wrote: This code is working - but due to the file declaration it keeps downloading the rpm even after the package gets

Re: [Puppet Users] Newbie question - package installation

2010-07-29 Thread Patrick Mohr
On Jul 29, 2010, at 9:45 AM, Rustler wrote: This code is working - but due to the file declaration it keeps downloading the rpm even after the package gets installed. 1. How do I stop the rpm from downloading after the package is installed? Best method: *) If at all possible you should

Re: [Puppet Users] Installing Puppet

2010-07-23 Thread Patrick Mohr
On Jul 22, 2010, at 9:16 PM, parag(PK) wrote: Can anyone describe the exact puppet installation procedure I am using a Ubuntu 7.04 system Upgrade to Lucid? Really, that's a very old version. Install ruby, facter, augeas, and puppet from source. It's going to be an adventure, and

Re: [Puppet Users] fileserver issues - getaddr info

2010-07-22 Thread Patrick Mohr
Try using a path of puppet://server/sshd/files/that.txt (I removed the word modules). On Jul 22, 2010, at 6:03 AM, denmat wrote: Hi all, Haven't set puppet up for awhile and have an issue with getting files served. I'm running 2.6 gem on fedora12. class sshd { package info file {

Re: [Puppet Users] Failing to connect new client to master

2010-07-22 Thread Patrick Mohr
The hostname the client connects to, must match the name on the server's certificate. More info at: http://groups.google.com/group/puppet-users/browse_thread/thread/8bcc83b7f52214db On Jul 22, 2010, at 10:02 AM, WEB PAGE: http://www.dyarstraights.com (08/14/04) WEB PAGE:

Re: [Puppet Users] Failing to connect new client to master

2010-07-22 Thread Patrick Mohr
On Jul 22, 2010, at 12:20 PM, David Dyer-Bennet wrote: On Thu, July 22, 2010 12:27, Patrick Mohr wrote: The hostname the client connects to, must match the name on the server's certificate. I believe I have that right. On the server, [r...@wrkapp00 ddb]# hostname wrkapp00

Re: [Puppet Users] checking if a user exists

2010-07-22 Thread Patrick Mohr
What about just not setting the uid? It sounds like that's what you are trying to do. On Jul 22, 2010, at 12:30 PM, Don Harden wrote: Hi Folks, Ive been trying to figure this out on Puppet 2.5.5 but just upgraded to 2.6 I have this in a module to make sure zabbix is installed,

Re: [Puppet Users] fileserver issues - getaddr info

2010-07-22 Thread Patrick Mohr
On , Patrick Mohr kc7...@gmail.com wrote: Try using a path of puppet://server/sshd/files/that.txt (I removed the word modules). On Jul 22, 2010, at 6:03 AM, denmat wrote: Hi all, Haven't set puppet up for awhile and have an issue with getting files served

Re: [Puppet Users] Re: Installping puppet with kickstart -- Cannot find local fact /proc/cpuinfo

2010-07-21 Thread Patrick Mohr
puppet successfully finishes the first run. On Jul 20, 10:28 pm, Patrick Mohr kc7...@gmail.com wrote: On Tue, Jul 20, 2010 at 5:23 AM, Tore tore.lo...@gmail.com wrote: We use Satellite to kickstart our nodes. Have you tried to do this after %post? kickstart-file, I've removed a few lines

Re: [Puppet Users] Installing a module FIRST

2010-07-21 Thread Patrick Mohr
On Jul 21, 2010, at 4:29 PM, Douglas Garstang wrote: Anyone, How can I guarantee that all components of the LDAP client module get installed before ANY components of any other module? Use 2.6.x and use run stages. -OR- Use 0.25.x and make all User and Package resources depend on that

Re: [Puppet Users] Installing a module FIRST

2010-07-21 Thread Patrick Mohr
On Jul 21, 2010, at 5:16 PM, Douglas Garstang wrote: On Wed, Jul 21, 2010 at 4:44 PM, Patrick Mohr kc7...@gmail.com wrote: On Jul 21, 2010, at 4:29 PM, Douglas Garstang wrote: Anyone, How can I guarantee that all components of the LDAP client module get installed before ANY components

Re: [Puppet Users] 2.6, parameterized classes, external nodes

2010-07-21 Thread Patrick Mohr
On Jul 21, 2010, at 5:44 PM, Alan Sparks wrote: Many of us have the problem of needing to simulate the instantiation of definitions via external nodes (e.g., the multiple Apache vhosts situation, or multiple service instantiations with unique configurations). Since these are singletons, I'm

Re: [Puppet Users] Re: Installping puppet with kickstart -- Cannot find local fact /proc/cpuinfo

2010-07-20 Thread Patrick Mohr
On Tue, Jul 20, 2010 at 5:23 AM, Tore tore.lo...@gmail.com wrote: We use Satellite to kickstart our nodes. Have you tried to do this after %post? kickstart-file, I've removed a few lines: install text [] %packages @ Base %pre $kickstart_start

Re: [Puppet Users] Collecting _all_ ssh keys

2010-07-19 Thread Patrick Mohr
On Jul 19, 2010, at 7:52 AM, Klaus Ethgen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Am Sa den 12. Jun 2010 um 10:03 schrieb David Schmitt: You'll need to set a properly unique title, and set the namevar explicitely: @@sshkey { ${fqdn}dsa: name =

Re: [Puppet Users] Distributing passwd/group/shadow

2010-07-19 Thread Patrick Mohr
On Jul 19, 2010, at 6:11 PM, noob-puppeteer wrote: Hi, I am trying to figure out a good puppet way to do this. In our old configuration, we were using cfengine and distributing passwd, group and shadow files by first running a command on the server that would filter these files to have just

Re: [Puppet Users] What is the best practices way to install puppet

2010-07-18 Thread Patrick Mohr
On Jul 18, 2010, at 12:19 PM, kevin wrote: Damn it, is there no acronym for best practices yet? ;) Ok, I am installing puppet, and wondering which version and from where should I install. Gems? OS packages? Version? What OS are you using? You might get better answers if we know. --

Re: [Puppet Users] How can I know if puppetd --no-daemonize --debug --onetime is success

2010-07-16 Thread Patrick Mohr
You could also test to see if post-command is run. On Jul 16, 2010, at 12:47 PM, R.I.Pienaar wrote: - Yushu yao.yu...@gmail.com wrote: Hi Experts, I'm running puppetd --no-daemonize --debug --onetime. Is there a way to figure out if the one time run is success? I couldn't do it by

Re: [Puppet Users] Re: How can I know if puppetd --no-daemonize --debug --onetime is success

2010-07-16 Thread Patrick Mohr
Run puppetd --genconfig for commented documentation about puppetd's parameters. Take a look at puppetd --genconfig | grep _command if you don't want 5-15 pages of text to wade through. On Jul 16, 2010, at 2:55 PM, Yushu wrote: Thanks Patrick, But where is the post-command? Couldn't find

Re: [Puppet Users] Creating a directory fails

2010-07-15 Thread Patrick Mohr
: They exist for sure.. # ls -ld /var/named/ drwxr-x--- 6 root named 4096 2010-07-15 06:20 /var/named/ # ls -ld /var/named/chroot/ drwxr-xr-x 5 named named 4096 2010-07-15 06:20 /var/named/chroot/ On Thu, Jul 15, 2010 at 12:09 AM, Patrick Mohr kc7...@gmail.com wrote: I'd check to see

Re: [Puppet Users] Puppet DDNS and Preseed -- Any easier alternative

2010-07-14 Thread Patrick Mohr
On Jul 14, 2010, at 7:27 AM, Joe McDonagh wrote: On 07/14/2010 10:15 AM, Harihara Vinayakaram wrote: Hi I have a set up that runs puppetmasterd, DDNS , DHCP etc on one server . I have managed to PXE boot Ubuntu 10.04 clients and setup puppet clients . The ultimate goal is to run Hadoop on

Re: [Puppet Users] Creating a directory fails

2010-07-14 Thread Patrick Mohr
I'd check to see if /var/named exists or if /var/named/chroot is a symlink. On Jul 14, 2010, at 2:24 PM, Christopher Johnston wrote: I don't see anything out of the ordinary here, seems like its not honoring the type as a directory but as a file any ideas? err:

Re: [Puppet Users] puppetmasterd screwing the SSL setup

2010-07-13 Thread Patrick Mohr
On Jul 13, 2010, at 6:54 AM, Marco Marongiu wrote: Dear puppeteers I am trying to build a tree hierarchy of puppetmasters. The architecture is aimed to distribute the load among a number of datacenters, while keeping the puppetmasters in sync by means of puppet itself. The architecture

Re: [Puppet Users] Basic Windows support in Rowlf (2.6.0 RC*) ?

2010-07-13 Thread Patrick Mohr
On Jul 13, 2010, at 3:42 PM, Steven Wagner wrote: I'm a pretty good candidate for a Puppet-fer-Windows guinea pig here as I'd be able to get a lot of mileage out of just being able to use the File, Service and Exec types on that platform (Is game server running? Has configuration been

Re: [Puppet Users] Re: puppet capistrano and repository

2010-07-12 Thread Patrick Mohr
On Jul 12, 2010, at 6:31 PM, nate wrote: On Jul 12, 9:33 am, bmort propertywholesa...@gmail.com wrote: Whew I am struggling on a puppet architecture design learning curve. I believe if i could find a good 'stand alone' example, it would clarify a lot of the questions I have and it

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.0 - Release Candidate 1 available!

2010-07-10 Thread Patrick Mohr
2010/7/10 Jesús M. Navarro jesus.nava...@andago.com Hi: On Saturday 10 July 2010 19:11:12 Patrick Mohr wrote: On Jul 10, 2010, at 7:57 AM, Peter Meier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/10/2010 04:54 PM, Patrick Mohr wrote: On Jul 9, 2010, at 11:58 PM

Re: [Puppet Users] conditional execution of package

2010-07-09 Thread Patrick Mohr
It's probably better to make a package instead. On Jul 8, 2010, at 11:49 PM, prudhvi wrote: Hi, I have been installing couchdb from source thorough make/make install using puppet's exec. The problem I am facing is when ever i run the configuration for the second time its not recognizing

Re: [Puppet Users] puppetmaster REST interface

2010-07-09 Thread Patrick Mohr
Right now puppet mostly IS the documentation. You could watch the traffic between the puppetmaster and the client, or look at the source code, but I don't recommend it. Also, it would probably be MUCH easier to enable storeconfigs and ask the MySQL server directly. That's very easy to figure

Re: [Puppet Users] Re: conditional execution of package

2010-07-09 Thread Patrick Mohr
On Jul 9, 2010, at 2:33 AM, prudhvi wrote: Hi Patrick, You're right. Actually I have a custom source which i have to install it through source is there any conditional execution like if-case to check whether the source files are already in place? Not creating a package is probably a big

Re: [Puppet Users] Using variables in regex

2010-07-06 Thread Patrick Mohr
On Jul 6, 2010, at 6:40 AM, Christian Casar wrote: Well, how do I use the content of a variable in regex? $username = user1 file { userdata.tar.bz2: source = puppet://$server/modules/$module/ userdata.tar.bz2, ensure = $users ? {

Re: [Puppet Users] Re: Splitting classes into separate files

2010-07-05 Thread Patrick Mohr
On Jul 5, 2010, at 7:11 AM, Thomas Bellman wrote: On 2010-07-03, Jeff McCune wrote: In this module, if you use the following orginization puppet will autoload everything: manifests/init.pp contains class apache { } manifests/disable.pp contains class apache::disable inherits apache {}

Re: [Puppet Users] Re: Splitting classes into separate files

2010-07-05 Thread Patrick Mohr
On Jul 5, 2010, at 8:20 AM, Dan Carley wrote: On 5 July 2010 15:11, Thomas Bellman bell...@nsc.liu.se wrote: On 2010-07-03, Jeff McCune wrote: In this module, if you use the following orginization puppet will autoload everything: manifests/init.pp contains class apache { }

Re: [Puppet Users] Package requires....

2010-07-02 Thread Patrick Mohr
On Jul 1, 2010, at 10:45 PM, Douglas Garstang wrote: On Thu, Jul 1, 2010 at 9:11 PM, Patrick Mohr kc7...@gmail.com wrote: On Jul 1, 2010, at 9:05 PM, christopher floess wrote: Hey, this is sort of hijacking the thread, so if need be, please, I can start another thread for it, but could

Re: [Puppet Users] selboolean with selinux disabled

2010-07-01 Thread Patrick Mohr
On Jul 1, 2010, at 6:31 PM, Markus Falb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, err: //cobbler::web/Selboolean[httpd_can_network_connect]: Failed to retrieve current state of resource: Execution of '/usr/sbin/getsebool httpd_can_network_connect' returned 1:

Re: [Puppet Users] Package requires....

2010-07-01 Thread Patrick Mohr
On Jul 1, 2010, at 9:05 PM, christopher floess wrote: Hey, this is sort of hijacking the thread, so if need be, please, I can start another thread for it, but could someone explain the code from the OP here. I feel like this is sort of the next step in puppet functionality that I need to

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread Patrick Mohr
On Jun 30, 2010, at 3:09 AM, R.I.Pienaar wrote: - Trevor Vaughan tvaug...@onyxpoint.com wrote: Also, I'm not entirely convinced that variables can't be overridden. I understand that the final compilation is order independent, but I believe that the initial run is file order

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread Patrick Mohr
On Jun 30, 2010, at 8:33 AM, R.I.Pienaar wrote: hey - Patrick Mohr kc7...@gmail.com wrote: On Jun 30, 2010, at 3:09 AM, R.I.Pienaar wrote: - Trevor Vaughan tvaug...@onyxpoint.com wrote: Also, I'm not entirely convinced that variables can't be overridden. I understand

Re: [Puppet Users] which is more efficient?

2010-06-30 Thread Patrick Mohr
I'd say that this way lies madness. Just do whatever gives you maintainability. The way that you source a file isn't going to make or break your server. (Unless you start embedding huge files in your manifest.) If small changes like this will break your server, your server will die the

Re: [Puppet Users] Ensuring Repo's

2010-06-29 Thread Patrick Mohr
On Jun 28, 2010, at 10:32 PM, Douglas Garstang wrote: So... somehow on a previous implementation, I was able to set everything up so that all my yum repo's where in place before any packages got installed. I'm not exactly sure how I did it due to puppet's awful scoping. This really isn't a

Re: [Puppet Users] Re: Ensuring Repo's

2010-06-29 Thread Patrick Mohr
Woops, I didn't see your message before I sent mine. On Jun 28, 2010, at 10:41 PM, Douglas Garstang wrote: I got it. I had to put require = undef in the package {} sections in yum::client. Doug. On Mon, Jun 28, 2010 at 10:32 PM, Douglas Garstang doug.garst...@gmail.com wrote: So...

Re: [Puppet Users] Error 400 : could not find template

2010-06-28 Thread Patrick Mohr
Where are your templates? /etc/puppet/templates or /etc/puppet/modules/module-name/templates (I may have a typo in the path.) Also, what's the full path to puppet.conf.erb? On Jun 28, 2010, at 1:04 AM, Pieter Baele wrote: Hello, I did make a stupid fault: not commiting

Re: [Puppet Users] onlyif for resource type file

2010-06-28 Thread Patrick Mohr
On Jun 28, 2010, at 8:33 AM, Mohamed Lrhazi wrote: Thanks a lot Daniel. However, I *strongly* urge you to tell us what you problem is Right, am newbie here, so am sure am doing a lot of things wrong, or thinking about them from a wrong way I have a bunch of files that were

Re: [Puppet Users] onlyif for resource type file

2010-06-28 Thread Patrick Mohr
On Jun 28, 2010, at 9:09 AM, David Schmitt wrote: On 6/28/2010 5:33 PM, Mohamed Lrhazi wrote: However, I *strongly* urge you to tell us what you problem is I have a bunch of files that were deployed via kickstart and manual provisioning procedures that I am translating to Puppet... My

Re: [Puppet Users] Seemingly simple question - current status?

2010-06-28 Thread Patrick Mohr
On Jun 28, 2010, at 10:31 AM, Luke Kanies wrote: On Jun 28, 2010, at 6:38 AM, dbs wrote: I have a 3 different puppetmasters running different groups of machines (dev, testing, and production). I'd like to very simply say Give me a brief summary of the status of the nodes you manage.

Re: [Puppet Users] Re: Borked Client Cert in 0.25

2010-06-27 Thread Patrick Mohr
On Jun 27, 2010, at 12:50 PM, Douglas Garstang wrote: On Sun, Jun 27, 2010 at 12:47 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Sun, Jun 27, 2010 at 12:34 PM, Douglas Garstang doug.garst...@gmail.com wrote: Here we go with puppet 0.25 certificate problems again. I had a system

Re: [Puppet Users] Ability to deploy a skeleton directory

2010-06-26 Thread Patrick Mohr
On Jun 26, 2010, at 12:32 AM, Thomas Bellman wrote: Jean-Baptiste Barth wrote: I'd like to be able to deploy a skeleton directory through puppet, i.e. puppet deploys it only if it does not exist. [...] But I have 2 problems for the moment : - if I don't set owner/group, it takes uid/gid

Re: [Puppet Users] Ability to deploy a skeleton directory

2010-06-25 Thread Patrick Mohr
On Jun 25, 2010, at 2:00 AM, Jean-Baptiste Barth wrote: - I'd like puppet to let user change some files in the skeleton as they want, i.e. skip this directory if it just exists Do you have an idea about how I could do that ? Do you mean you want the users to be able to change all the

Re: [Puppet Users] Refreshing puppetd from within puppetd

2010-06-22 Thread Patrick Mohr
On Jun 22, 2010, at 2:43 AM, David Schmitt wrote: On 6/22/2010 3:03 AM, Patrick Mohr wrote: I push out changes to puppet.conf using puppet. (I have gsh as a backup for if I really screw things up, but I've never had to use it yet.) Is there any safe and/or good way to restart puppet after

Re: [Puppet Users] bringing puppet into production

2010-06-21 Thread Patrick Mohr
On Jun 21, 2010, at 12:04 AM, christopher floess wrote: On 06/20/2010 08:47 PM, Patrick Mohr wrote: You've got some problems that are caused because the packages didn't do things you need done, and other problems that are unrelated. On the clients, puppetd will automatically look

Re: [Puppet Users] Augeas and double quotes

2010-06-21 Thread Patrick Mohr
On Jun 21, 2010, at 7:05 AM, Guus Houtzager wrote: Hi, I've got a bit of an issue with Augeas in Puppet. I'm trying to modify /etc/sysconfig/i18n (RHEL4 system). Original file: LANG=en_US.UTF-8 SUPPORTED=en_US.UTF-8:en_US:en SYSFONT=latarcyrheb-sun16 This is the code to change it:

[Puppet Users] Refreshing puppetd from within puppetd

2010-06-21 Thread Patrick Mohr
and subscribing to puppet.conf is bad because it will stop puppet in the middle of a run which might make other subscribes not work. Anyone have advice? I don't want to put puppet in cron if I can avoid it. -Patrick Mohr -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] bringing puppet into production

2010-06-20 Thread Patrick Mohr
You've got some problems that are caused because the packages didn't do things you need done, and other problems that are unrelated. On the clients, puppetd will automatically look for the server at puppet, and should use the search domain. You really want to change DNS so that the

Re: [Puppet Users] header for puppet managed files

2010-06-20 Thread Patrick Mohr
On Jun 20, 2010, at 12:37 PM, Psyber wrote: Anyone have any ideas on adding a default header to puppet managed files and templates? This might be tricky because of the different methods of adding comments for different types of files but I'm certainly open to suggestions that would enforce

Re: [Puppet Users] auth.conf and file_metadata

2010-06-20 Thread Patrick Mohr
On Jun 20, 2010, at 2:57 PM, chakkerz wrote: 2) searching for information on this i found references on auth.conf which (because i deploy an RPM) is generated for me. However it is a default file, and i'd love to know what to put in it. I can't find any documentation on the subject. Anyone

Re: [Puppet Users] Re: auth.conf and file_metadata

2010-06-20 Thread Patrick Mohr
On Jun 20, 2010, at 5:56 PM, chakkerz wrote: The example auth.conf that came with Ubuntu is 2.3k and very well commented. Would posting that help? If you've got one handy, yes :) # This is an example auth.conf file, it mimics the puppetmasterd defaults # # The ACL are checked in order

<    1   2   3   4   5   6   7   >