Re: [Puppet Users] Run stage introduces dependency cycle

2011-01-28 Thread Patrick
On Jan 28, 2011, at 9:28 AM, Dan Urist wrote: Now, if /etc/init/ssh.conf exists, puppet will correctly remove it and the run will complete without error, but on the *next* and all subsequent puppet runs I get a long dependency cycle error. If /etc/init/ssh.conf does not exist, I get no

Re: [Puppet Users] puppetmasterd verbose log

2011-01-27 Thread Patrick
I think you can just add verbose=true in the master section of /etc/puppet/puppet.conf On Jan 27, 2011, at 5:14 PM, Romain Pelisse wrote: On this topic, I was searching earlier how to add the --verbose to the puppet.conf, so that when puppet is running as a service the log in

Re: [Puppet Users] Do we need a new name for --test?

2011-01-26 Thread Patrick
On Jan 26, 2011, at 8:27 AM, DEGREMONT Aurelien wrote: Nigel Kersten a écrit : On Mon, Jan 24, 2011 at 12:27 AM, DEGREMONT Aurelien aurelien.degrem...@cea.fr wrote: Please take care that, for my site, and I think other ones, puppetd -t is *the* way to run puppet. We never use

Re: [Puppet Users] Re: Do we need a new name for --test?

2011-01-24 Thread Patrick
On Jan 24, 2011, at 2:38 AM, Carles Amigó wrote: +1 El 24/01/2011 9:13, Daniel Pittman escribió: On Sun, Jan 23, 2011 at 23:36, Stig Sandbeck Mathisens...@fnord.no wrote: Jesse Reynoldsjessedreyno...@gmail.com writes: --manual Looks better than --interactive, since I don't assume

Re: [Puppet Users] Do we need a new name for --test?

2011-01-24 Thread Patrick
On Jan 24, 2011, at 3:00 AM, Adam Nielsen wrote: What would be a better name for --test? Using Gentoo's emerge as an example, how about --oneshot? It's more than that though. --onetime --no-daemonize --ignorecache --verbose --no-usecacheonfailure and I think I'm missing some

Re: [Puppet Users] Re: Do we need a new name for --test?

2011-01-24 Thread Patrick
On Jan 24, 2011, at 11:17 AM, R.I.Pienaar wrote: - Original Message - If we don't want --manual you could go with --watch as that's really what I'm doing - watching puppet run. :) I like --watch too I hope this is a joke. I really think this name is a worse fit than --test.

Re: [Puppet Users] Mirror folder with large files

2011-01-24 Thread Patrick
On Jan 24, 2011, at 9:14 AM, Daniel Piddock wrote: Dear list, I'm attempting to mirror a folder containing a few large files from an NFS location to the local drive. Subsequent runs take a lot longer than I'd have expected, after the first run. Using the following block a puppet apply

Re: [Puppet Users] Re: Do we need a new name for --test?

2011-01-24 Thread Patrick
On Jan 24, 2011, at 1:17 PM, Adam Nielsen wrote: The problem seems to be --test does so many things you can't concisely describe it. On the other hand, maybe --live-test would be good, as it makes it clear changes will be made which seems to be the biggest complaint about --test. I'd be

Re: [Puppet Users] Do we need a new name for --test?

2011-01-23 Thread Patrick
On Jan 23, 2011, at 1:50 PM, Adam Nielsen wrote: https://projects.puppetlabs.com/issues/2476 This does seem to confuse a fair few new users. What would be a better name for --test? Using Gentoo's emerge as an example, how about --oneshot? To me, this sounds too similar to --onetime

Re: [Puppet Users] Do we need a new name for --test?

2011-01-23 Thread Patrick
On Jan 23, 2011, at 4:02 PM, James Louis wrote: and what is the current functionality for the --test option? To quote Nigel: --onetime --no-daemonize --ignorecache --verbose --no-usecacheonfailure and I think I'm missing some newer additions too. -- You received this message because you

Re: [Puppet Users] Do we need a new name for --test?

2011-01-23 Thread Patrick
On Jan 23, 2011, at 4:47 PM, James Louis wrote: that tells what options are applied when --test is used but doesn't explain the functionality of --test (i.e. --test is an option to enable the puppet agent to test it's connection to the puppet master by turning on the following options...

Re: [Puppet Users] Re: Do we need a new name for --test?

2011-01-23 Thread Patrick
used when testing a real run, not a noop run. If there was a clear word that described this functionality, we probably wouldn't be having this discussion. On Sun, Jan 23, 2011 at 6:50 PM, Patrick kc7...@gmail.com wrote: On Jan 23, 2011, at 4:47 PM, James Louis wrote

Re: [Puppet Users] Do we need a new name for --test?

2011-01-23 Thread Patrick
On Jan 23, 2011, at 4:53 PM, James Louis wrote: exactly. to what purpose? On Sun, Jan 23, 2011 at 6:50 PM, Patrick kc7...@gmail.com wrote: On Jan 23, 2011, at 4:47 PM, James Louis wrote: that tells what options are applied when --test is used but doesn't explain the functionality

Re: [Puppet Users] Re: Do we need a new name for --test?

2011-01-23 Thread Patrick
On Jan 23, 2011, at 5:58 PM, eshamow wrote: I can tell you that for me, and for my group, it's a halfway step between reloading Puppet and watching the logs, and a full --debug -- no-daemonize run. So for instance, when they're troubleshooting a bug in a newly-written or modified class, I

Re: [Puppet Users] Do we need a new name for --test?

2011-01-23 Thread Patrick
that ontime or verbose have stolen the name for another concept; perhaps interactive covers the standard use-case well enough? Daniel On Jan 23, 2011 2:45 PM, Patrick kc7...@gmail.com wrote: On Jan 23, 2011, at 1:50 PM, Adam Nielsen wrote: https://projects.puppetlabs.com/issues/2476

Re: [Puppet Users] Problem with specifying server name

2011-01-19 Thread Patrick
On Jan 19, 2011, at 6:06 AM, Basil Kurian wrote: root@client ~# puppetd --test err: Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run This

Re: [Puppet Users] Re: Autosign Certificate upon rebuild

2011-01-18 Thread Patrick
On Jan 18, 2011, at 6:08 AM, Derek Tracy wrote: I think that is the workflow I am going to use, before I kick off the rebuild run puppetca --clean fqdn and keep the fqdn in the autosign.conf so when it rebuilds and kicks off the puppet service the ca just autosigns the cert. It

Re: [Puppet Users] Re: Help with Oracle Installer manifest

2011-01-14 Thread Patrick
On Jan 14, 2011, at 1:39 AM, Sven Sporer wrote: How can I tell if oracle is install or any program when its install without rpm? How can I tell when the untar command is finished? What happens when it takes a while to transfer 1.8GB file? Does the user = oracle give me the environment

Re: [Puppet Users] Help with Oracle Installer manifest

2011-01-13 Thread Patrick
On Jan 13, 2011, at 6:26 PM, Corey Osman wrote: What happens when it takes a while to transfer 1.8GB file? Just a quick warning before I leave, don't even think of copying this using puppet if you have version 0.25.x or below. Those version load the whole file into RAM before copying.

Re: [Puppet Users] Dependency resolution for packages

2011-01-12 Thread Patrick
On Jan 12, 2011, at 2:30 AM, Sven Sporer wrote: Hi, I have a simple use case, but can't get the dependency resolution to work on first run. This is not critical, but I want to understand what's going on. Here's the szenario: * puppet --version: 2.6.4 * on the bare system, I have vim 6.4

Re: [Puppet Users] Re: Could not retrieve catalog from remote server

2011-01-12 Thread Patrick
Are you using Passenger? If you don't know, the answer is probably no. If not, do this: Shutdown your puppet server. This might work: service puppetmaster stop Start it in debug: puppetmasterd --verbose --debug --no-daemonize --trace Then watch the output on the console for hints while

Re: [Puppet Users] Re: Puppetmaster 2.6.x on Ubuntu Lucid

2011-01-12 Thread Patrick
to be done before 4 (apt-get update) On Jan 11, 2:25 pm, Patrick kc7...@gmail.com wrote: On Jan 11, 2011, at 8:52 AM, Luc Suryo wrote: 1. in file /etc/apt/preferences I made several adjustment but for puppet this is the relevant lines # Backport for puppetlabs Package: puppet puppet-common

Re: [Puppet Users] Send Reports to Puppet Dashboard

2011-01-12 Thread Patrick
On Jan 12, 2011, at 11:37 AM, michael.itc...@ocfl.net wrote: Hi Daniel, I have already done the setup which you mention below. I followed the puppet-dashboard configuration guide to the tee, which is why I’m surprised that this feature is not working. I have verified that the

Re: [Puppet Users] Re: Puppetmaster 2.6.x on Ubuntu Lucid

2011-01-12 Thread Patrick
Well, your instructions also can work for upgrading puppet with a few small changes. Might even work without changes. On Jan 12, 2011, at 2:54 PM, Luc Suryo wrote: that would be a catch 22 :) the instruction was an answer to how to install puppet on a Lucid server, there is no puppet

Re: [Puppet Users] Send Reports to Puppet Dashboard

2011-01-11 Thread Patrick
On Jan 11, 2011, at 12:13 PM, Mike wrote: [main] node_terminus = exec external_nodes = /etc/puppet/bin/external_node reports = http, store reporturl = fedorahost.ocfl.net:3000/reports However, when I restart the puppet master daemon I get the errors below. Has anyone seen this problem

Re: [Puppet Users] Re: Puppetmaster 2.6.x on Ubuntu Lucid

2011-01-11 Thread Patrick
On Jan 11, 2011, at 8:52 AM, Luc Suryo wrote: 1. in file /etc/apt/preferences I made several adjustment but for puppet this is the relevant lines # Backport for puppetlabs Package: puppet puppet-common puppetmaster facter Pin: release a=lenny-backports Pin-Priority: 900 2. then

Re: [Puppet Users] upgrading

2011-01-10 Thread Patrick
On Jan 10, 2011, at 12:30 AM, Spacelee wrote: I want to upgrade from puppet 0.24.8 to the latest puppet, and do I need to modify my puppet code to fit for 0.26? and another thing, I want to have multi-puppet server node, and 1 as the master, and the others as the slave. master serves

Re: [Puppet Users] importing classes to the dashboard

2011-01-10 Thread Patrick
On Jan 10, 2011, at 8:01 AM, Adriana wrote: Hello, I would like to know if it is possible to automatically import the puppet classes to the dashboard in order to manage them from the gui. I didn't find exact instructions to make the puppet clients report directly to the dashboard instead of

Re: [Puppet Users] Exactly how do people replace include with parametrised classes?

2011-01-08 Thread Patrick
On Jan 7, 2011, at 3:35 PM, Jeff McCune wrote: OK, so what if declaring* a class always added it to the top scope? This seems like a relatively straight forward solution to a great many concerns. The language doesn't change, existing manifests continue to work and only the convention of

Re: [Puppet Users] Is there a nice syntax for calling functions?

2011-01-08 Thread Patrick
On Jan 8, 2011, at 3:52 AM, Adam Nielsen wrote: 2) Because of the exec command, /etc/timezone gets overwritten without a backup being made like with other functions. Is there a way to get the file included in the file bucket? I imagine I'd have to add an onlyif directive to make sure

Re: [Puppet Users] Re: Considerations for puppet/cluster to manage 6000 hosts.

2011-01-08 Thread Patrick
You'll need one or more mysql servers if you use storedconfigs. Storedconfigs can be useful, but will drastically increase the server CPU usage and will require a mysql backend. You can always turn it on later. There are two (working) ways to setup SSL which is used for authentication and

Re: [Puppet Users] Silence reports for one specific resource?

2011-01-07 Thread Patrick
On Jan 6, 2011, at 10:55 PM, Alan Barrett wrote: On Thu, 06 Jan 2011, Mohamed Lrhazi wrote: I added one resource to all the hosts, which dumps all environment variables to a file called: /etc/mcollective/facts.yaml This resource always reports that a change needs to be made, since that file

Re: [Puppet Users] Using puppet to fix a lot of files permissions

2011-01-07 Thread Patrick
On Jan 7, 2011, at 6:33 AM, Sébastien Barthélémy wrote: Hello again, thank you for your answers. I use puppet 2.6.4. I don't think I have a site.pp On Wed, 5 Jan 2011, Patrick wrote: I'm finding that with my version of puppet (2.6.4), the checksum line has no effect on the run time

Re: [Puppet Users] Help with simple function

2011-01-07 Thread Patrick
On Jan 7, 2011, at 9:09 AM, bg wrote: I've got a module that manages user id's, ssh-keys, and passwords. The passwords are fetched from a text file containing userid and password hashes, with the terms separated by a space. My manifest (which seems to work fine, short of the function:

Re: [Puppet Users] Exactly how do people replace include with parametrised classes?

2011-01-07 Thread Patrick
On Jan 7, 2011, at 11:22 AM, Jeff McCune wrote: On Fri, Jan 7, 2011 at 2:47 AM, luke.bigum luke.bi...@fasthosts.co.uk wrote: Hi list, Reading the thread can a class require an other class? it's been mentioned that perhaps one way forward for the Puppet language is to phase out the include

Re: [Puppet Users] Using puppet to fix a lot of files permissions

2011-01-06 Thread Patrick
On Jan 6, 2011, at 4:45 AM, Brice Figureau wrote: On Wed, 2011-01-05 at 13:25 -0800, Patrick wrote: On Jan 5, 2011, at 10:13 AM, Brice Figureau wrote: On 05/01/11 18:11, Sébastien Barthélémy wrote: Why is puppet so slow at this job? Is there any way I could improve the speed

Re: [Puppet Users] Get resource from http

2011-01-05 Thread Patrick
On Jan 4, 2011, at 10:13 PM, Dmytro Bablinyuk wrote: How can I get resource from http? Short answer: You can't. Longer answer: You need to wrap a program that can (like curl or wget) in an exec. -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] Using puppet to fix a lot of files permissions

2011-01-05 Thread Patrick
On Jan 5, 2011, at 10:13 AM, Brice Figureau wrote: On 05/01/11 18:11, Sébastien Barthélémy wrote: Hello, I store camera pictures in a git repository, which became quite big: 104 GB for the whole (non-bare) repository. I wanted to fix the files permissions, and thought puppet might be

Re: [Puppet Users] Using puppet to fix a lot of files permissions

2011-01-05 Thread Patrick
On Jan 5, 2011, at 10:13 AM, Brice Figureau wrote: On 05/01/11 18:11, Sébastien Barthélémy wrote: Hello, I store camera pictures in a git repository, which became quite big: 104 GB for the whole (non-bare) repository. I wanted to fix the files permissions, and thought puppet might be

Re: [Puppet Users] Get resource from http

2011-01-05 Thread Patrick
(and, to my surprise, there wasn't already an obvious one...) Regards, Daniel On Wed, Jan 5, 2011 at 00:57, Patrick kc7...@gmail.com wrote: On Jan 4, 2011, at 10:13 PM, Dmytro Bablinyuk wrote: How can I get resource from http? Short answer: You can't. Longer answer: You need

Re: [Puppet Users] Supporting tar.gz as file source

2011-01-05 Thread Patrick
On Jan 5, 2011, at 2:52 PM, Michael Knox wrote: It would be neat if puppet could use tar.gz's as a source, instead of just bare directory trees. So I've lodged a feature request: https://projects.puppetlabs.com/issues/5786 Many of my manifests for applications need to cover the following

Re: [Puppet Users] Supporting tar.gz as file source

2011-01-05 Thread Patrick
On Jan 5, 2011, at 5:52 PM, Nigel Kersten wrote: On Wed, Jan 5, 2011 at 2:52 PM, Michael Knox michael.knox...@gmail.com wrote: It would be neat if puppet could use tar.gz's as a source, instead of just bare directory trees. So I've lodged a feature request:

Re: [Puppet Users] race conditions in using svn update in puppetmaster's /etc/puppet directory?

2011-01-04 Thread Patrick
On Jan 4, 2011, at 9:39 AM, Daniel Pittman wrote: On Jan 4, 2011 5:22 AM, Alan Barrett a...@cequrux.com wrote: On Mon, 03 Jan 2011, James Ralston wrote: So, here's my question: if you are currently using the svn update approach to manage /etc/puppet on the puppetmaster, have you taken

Re: [Puppet Users] Allowing puppet to drop privileges for a manifest

2011-01-04 Thread Patrick
On Jan 4, 2011, at 10:42 AM, Jason Parrott wrote: Greetings, Our environment consists of about 600 Redhat Enterprise Linux 3, 4, 5, and soon 6 servers. We use cfengine 2 currently, but plan on migrating to puppet. Right now, we have our root-owned cfengine client running every 15

Re: [Puppet Users] slave-facts on puppetmaster

2011-01-01 Thread Patrick
On Jan 1, 2011, at 12:53 AM, bowlby wrote: Hi, I'm figuring out a way to build a ssh-gateway. For that to work I want access to the internal ipaddresses that are used by my slaves (which get assigned by dhcp and thus are not predictable). This way I can change the host-file on my

Re: [Puppet Users] Issues with puppet first launch

2010-12-29 Thread Patrick
On Dec 29, 2010, at 7:13 AM, Shawn wrote: err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: undefined method `closed?' for nil:NilClass Could not retrieve file metadata for puppet://puppetmaster.domainname.com/plugins: undefined method `closed?' for

Re: [Puppet Users] mod_passenger failed installation from puppetlab yum repo

2010-12-28 Thread Patrick
On Dec 28, 2010, at 11:39 AM, hai wu wrote: Just tried to install mod_passenger from puppetlabs yum repo, and it is failing with the following error: --- Package mod_passenger.i686 0:2.2.5-1 set to be updated -- Processing Dependency: rubygem-passenger = 2.2.5-1 for package:

Re: [Puppet Users] Testing Puppet Manifests?

2010-12-28 Thread Patrick
On Dec 28, 2010, at 9:45 AM, Dustin J. Mitchell wrote: Second, I'm working on refactoring our puppet configuration, and in so doing it would be best to ensure I haven't unexpectedly changed any resources. Is there any machine-parsable way of seeing the set of resources that result from a

Re: [Puppet Users] mod_passenger failed installation from puppetlab yum repo

2010-12-28 Thread Patrick
, 2010 at 2:02 PM, Patrick kc7...@gmail.com wrote: On Dec 28, 2010, at 11:39 AM, hai wu wrote: Just tried to install mod_passenger from puppetlabs yum repo, and it is failing with the following error: --- Package mod_passenger.i686 0:2.2.5-1 set to be updated -- Processing Dependency

Re: [Puppet Users] Nested Class

2010-12-27 Thread Patrick
On Dec 27, 2010, at 8:11 PM, cyrus wrote: Hi: I have something like this: class xinetd { ... some Puppet code ... class xinetd::telnet { ... some Puppet code ... } } node 'host1' { include xinetd::telnet } However, when running Puppet says it can't find

Re: [Puppet Users] Namespacing, includes and module lookup. Bug?

2010-12-24 Thread Patrick
On Dec 24, 2010, at 6:41 AM, Daniel Piddock wrote: Unfortunately it looks like puppeteers expect this unusual name resolution order, if they ever knowingly stumble upon it (e.g. 4483, 4472). Either I need to hack around this problem carefully or wait a long time for the next major

Re: [Puppet Users] Puppet on ubuntu 10.04

2010-12-23 Thread Patrick
If you want to start over, these should give you a good start at finding and removing the pieces. By design these will remove your puppet configuration. rm -Rf /etc/puppet rm -Rf /var/lib/puppet rm -Rf /usr/share/puppet This should be a good start at removing the config. On Dec 23, 2010, at

Re: [Puppet Users] Re: puppet for customised configuration

2010-12-23 Thread Patrick
On Dec 23, 2010, at 6:39 AM, sanjiv.singh wrote: This should be very easy, provided your classes do not conflict. A node can include any number of classes, so all you have to do is change this: node node1 { include tomcat_class_name } node node2 { include

Re: [Puppet Users] Puppet SSL Ciphers

2010-12-23 Thread Patrick
On Dec 23, 2010, at 10:48 AM, Douglas Garstang wrote: On Wed, Dec 22, 2010 at 8:33 PM, Nigel Kersten ni...@puppetlabs.com wrote: On Wed, Dec 22, 2010 at 4:24 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Wed, Dec 22, 2010 at 2:30 PM, Nigel Kersten ni...@puppetlabs.com wrote: On

Re: [Puppet Users] security implications of a puppet run with sensitive data in the resources

2010-12-22 Thread Patrick
On Dec 22, 2010, at 5:18 PM, Derek Yarnell wrote: So I was asked a bit about implications of distributing something sensitive through puppet. After a client talks to the puppet server (giving its local facts) and retrieves its catalog is the client allowed to fetch resources that may not be

Re: [Puppet Users] security implications of a puppet run with sensitive data in the resources

2010-12-22 Thread Patrick
On Dec 22, 2010, at 7:35 PM, Derek Yarnell wrote: On 12/22/10 8:38 PM, Patrick wrote: On Dec 22, 2010, at 5:18 PM, Derek Yarnell wrote: So I was asked a bit about implications of distributing something sensitive through puppet. After a client talks to the puppet server (giving its

Re: [Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-20 Thread Patrick
On Dec 20, 2010, at 2:43 AM, Felix Frank wrote: Sorry for the late answer, my provider had a downtime this weekend. Tough call. There is no such thing as a transparent SSL proxy afaik, because without decrypting requests, the proxy cannot make any header based decisions. This may well

Re: [Puppet Users] Re: Referencing the same package from multiple classes

2010-12-19 Thread Patrick
On Dec 19, 2010, at 1:37 AM, Ken Barber wrote: Would be terrible - because I would lose the arguments if the package was defined elsewhere earlier. That would be dumb. Also - the reverse is true ... by defining your own package you may be ruining someone else's package definition which

Re: [Puppet Users] Re: Referencing the same package from multiple classes

2010-12-18 Thread Patrick
On Dec 18, 2010, at 3:50 AM, Ken Barber wrote: For the record, an alternative that I don't believe was mentioned is to do something like: if !defined(Package[foo]) { package {foo: ensure = installed } } In general this is a bad idea though. Mostly because it can surprise you in bad

Re: [Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-16 Thread Patrick
On Dec 16, 2010, at 12:45 AM, Felix Frank wrote: On 12/15/2010 07:40 PM, Patrick wrote: On Dec 15, 2010, at 3:09 AM, Felix Frank wrote: On 12/15/2010 12:04 PM, Patrick wrote: I'm looking for a way to run more than one puppetmaster on the same server under passenger. Most

Re: [Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-16 Thread Patrick
On Dec 16, 2010, at 12:45 AM, Felix Frank wrote: On 12/15/2010 07:40 PM, Patrick wrote: In summery, both servers work, but no redirection is taking place. Hum, I'm not in the habit of using ProxyPass directives. I rather add RewriteRules that include the [P] flag. One stupid idea

Re: [Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-16 Thread Patrick
On Dec 16, 2010, at 7:55 AM, Felix Frank wrote: On 12/16/2010 10:28 AM, Patrick wrote: On Dec 16, 2010, at 1:04 AM, Brice Figureau wrote: My original error was that I didn't set: SSLProxyEngine on Now I'm just getting errors that say all requests are forbidden. I assume

Re: [Puppet Users] Re: error in execution of script file

2010-12-15 Thread Patrick
On Dec 14, 2010, at 10:57 PM, sanjiv.singh wrote: Try putting just this in a file called test.pp. Then try this: puppet --verbose --debug test.pp thanks patrick for quick reply i didnt get U, what U tring to say... how this is going to help us by placing code from

[Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-15 Thread Patrick
I'm looking for a way to run more than one puppetmaster on the same server under passenger. Most of the puppet CPU load is waiting for the catalogs to compile. This also seems to be mostly what takes large amounts of RAM. I have storedconfigs on. I want to be able to move the fileserver to

Re: [Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-15 Thread Patrick
On Dec 15, 2010, at 3:09 AM, Felix Frank wrote: On 12/15/2010 12:04 PM, Patrick wrote: I'm looking for a way to run more than one puppetmaster on the same server under passenger. Most of the puppet CPU load is waiting for the catalogs to compile. This also seems to be mostly what

Re: [Puppet Users] Re: Separating puppetmaster file serving and catalogs

2010-12-15 Thread Patrick
On Dec 15, 2010, at 6:08 AM, jcbollinger wrote: On Dec 15, 5:04 am, Patrick kc7...@gmail.com wrote: I'm looking for a way to run more than one puppetmaster on the same server under passenger. Most of the puppet CPU load is waiting for the catalogs to compile. This also seems to be mostly

Re: [Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-15 Thread Patrick
On Dec 15, 2010, at 1:48 PM, Brice Figureau wrote: On 15/12/10 12:04, Patrick wrote: I'm looking for a way to run more than one puppetmaster on the same server under passenger. Most of the puppet CPU load is waiting for the catalogs to compile. This also seems to be mostly what takes

Re: [Puppet Users] Error after signing certificate step

2010-12-14 Thread Patrick
On Dec 14, 2010, at 3:18 AM, Paul Willis wrote: Hi I'm trying puppet for the first time and attempting to get it working in Amazon EC2 with Ubuntu 10.04 using the default puppet 0.25.4-2ubuntu4, I've read the 'Pulling Strings' book and tried following various tutorials found on the net

Re: [Puppet Users] error in execution of script file

2010-12-14 Thread Patrick
On Dec 14, 2010, at 10:29 PM, sanjiv.singh wrote: exec {run_process: command = /usr/local/runprocess.sh, path = '/usr/bin:/bin:/usr/sbin:/sbin } Try putting just this in a file called test.pp. Then try this: puppet --verbose --debug test.pp -- You received this

Re: [Puppet Users] Best practices for different hosts with different configs

2010-12-13 Thread Patrick
On Dec 12, 2010, at 8:00 PM, Josh wrote: Greetings, I'm just getting started with setting up Puppet in an environment of about ~15 servers, a mixture of Mac OS X servers and Ubuntu servers - each with different roles and obviously different versions of configs. Before I get too carried

Re: [Puppet Users] Puppet updating from relative directories or chroot

2010-12-13 Thread Patrick Mohr
On Mon, Dec 13, 2010 at 2:39 PM, Daniel Pittman dan...@rimspace.net wrote: On Fri, Dec 3, 2010 at 22:41, Geoff geoffnew...@gmail.com wrote: Anyone had any experience getting puppet to update multiple OS's on a single server? Not without a container style virtualization solution wrapped

Re: [Puppet Users] Re: Could not evaluate: 'test' is not executable

2010-12-10 Thread Patrick
On Dec 10, 2010, at 2:34 AM, luke.bigum wrote: Thanks for the suggestion Patrick, it led me to the cause of the problem :) I wrote a very simple local test manifest to emulate the Exec problem with 'puppet apply' and it still occurred. Out of pure habit, I often execute 'ls -l' when I

Re: [Puppet Users] Mysql Admin

2010-12-10 Thread Patrick
On Dec 10, 2010, at 5:47 AM, Adam Heinz wrote: On Fri, Dec 10, 2010 at 6:34 AM, Patrick kc7...@gmail.com wrote: I'm trying to administer the mysql database on some servers using puppet. When I'm done, I want: *) The DB to have a root password. *) I want to define a few databases, users

Re: [Puppet Users] Howto check if augeas is available

2010-12-10 Thread Patrick
On Dec 9, 2010, at 7:14 AM, Martijn Grendelman wrote: I made a small mistake. Please see at the bottom. On 09-12-10 15:30, Martijn Grendelman wrote: An example: add the following to puppet_path/modules/modulename/lib/facter/augeas_available.rb -- cut here -- require 'facter'

Re: [Puppet Users] Re: Could not evaluate: 'test' is not executable

2010-12-10 Thread Patrick
On Dec 10, 2010, at 3:40 AM, luke.bigum wrote: This doesn't appear to affect the actual execution of commands, so don't be worried about the wrong commands being executed based on the CWD of Puppet. Except it might be. Puppet might have been trying to execute the file and then failing

Re: [Puppet Users] Mysql Admin

2010-12-10 Thread Patrick
Thanks. I didn't see that. On Dec 10, 2010, at 12:45 PM, Justin Brehm wrote: There's an exec in this that sets the root password (line 180). https://github.com/blt04/puppet-mysql/blob/master/manifests/classes/server.pp On Fri, Dec 10, 2010 at 3:35 PM, Patrick kc7...@gmail.com wrote

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-09 Thread Patrick
On Dec 8, 2010, at 11:45 PM, Felix Frank wrote: On 12/09/2010 05:13 AM, Patrick wrote: On Dec 8, 2010, at 6:38 PM, Daniel Pittman wrote: Sadly, no. I very much missed the feature. We ended up using the apt preferences file to implement that behaviour If I was doing it over I would use

Re: [Puppet Users] Re: Could not evaluate: 'test' is not executable

2010-12-09 Thread Patrick
On Dec 9, 2010, at 9:14 AM, luke.bigum wrote: Interesting, I've noticed that puppet runs triggered from a daemonised puppetd aren't affected by the problem (as Dashboard and /var/log/ messages says their is no errors), but when run from the command line as puppetd --test it fails as usual

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-09 Thread Patrick
On Dec 9, 2010, at 10:07 AM, Brice Figureau wrote: On 09/12/10 03:38, Daniel Pittman wrote: Sadly, no. I very much missed the feature. We ended up using the apt preferences file to implement that behaviour If I was doing it over I would use a define that added the package resource and

Re: [Puppet Users] puppet fileserver

2010-12-09 Thread Patrick
On Dec 9, 2010, at 9:45 AM, Chris C wrote: How robust and secure is the embedded fileserver in puppet? So far my environment consists of 15 nodes with about 80 checks per node. I'm doing alot of md5 checks on files. I anticipate ~150 nodes. I am currently using autofs and the source

Re: [Puppet Users] Howto check if augeas is available

2010-12-08 Thread Patrick
On Dec 8, 2010, at 1:22 AM, Hubert Krause wrote: Hello List, I have a Problem with classes wich uses augeas. if augeas is not installed, The complete catalog will not compile. So I can not install augeas with a different class. I have to switch off all classes wich uses augeas, until

Re: [Puppet Users] Class execution order

2010-12-08 Thread Patrick
Puppet will, by design, apply classes in a random order. To specify the order, you want to use the require parameter. exec { echoone: command = /bin/echo $var1, } exec { echotwo: command = /bin/echo $var2, require = Exec['echoone'], } exec { echothree:

Re: [Puppet Users] Howto check if augeas is available

2010-12-08 Thread Patrick
On Dec 8, 2010, at 2:32 AM, Hubert Krause wrote: Hello, Am Wednesday 08 December 2010 11:00:11 schrieb Patrick: The best answer is usually, install Augeas when you install Puppet. If that's not possible, I know of two options: 1) Custom fact wrapper 2) Use a bootstrap enviroment

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-08 Thread Patrick
On Dec 8, 2010, at 6:38 PM, Daniel Pittman wrote: Sadly, no. I very much missed the feature. We ended up using the apt preferences file to implement that behaviour If I was doing it over I would use a define that added the package resource and also used concat to automatically build up

Re: [Puppet Users] Directory and File Permissions

2010-12-07 Thread Patrick
On Dec 7, 2010, at 11:52 AM, Douglas Garstang wrote: If I'm pushing out a bunch of files in a directory, like this... file { /usr/local/lg/bin/: source = puppet://${server}/usr/local/lg/bin, mode = 755, owner = root, group = root,

Re: [Puppet Users] backtick in exec

2010-12-06 Thread Patrick
On Dec 6, 2010, at 3:55 AM, Matt Keating wrote: How do you do a backtick inside an exec? eg: exec { Testworld: command = /bin/echo hello `cat /etc/hostname` /tmp/hello.txt, } In general, you can't because that would need to be run by a shell, not by puppet. If you want to do

Re: [Puppet Users] File not found during puppet fileserving

2010-12-06 Thread Patrick
On Dec 6, 2010, at 12:54 PM, Eric Snow wrote: Here is the error I get: err: //.../File[/root/.bash_profile]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet:///modules/bash/bash_profile at ... However, the file is there: # ll

Re: [Puppet Users] error: Could not intern from pson: source did not contain any PSON!

2010-12-06 Thread Patrick
On Dec 6, 2010, at 11:53 AM, russell.fulton wrote: I am getting this error on the clients. (I am running with --test). rerunning the command works as expected. This does not happen every time. I have no idea what the message means or more precisely what a PSON is... This can happen when

Re: [Puppet Users] Auth.conf does not work with IPs

2010-12-06 Thread Patrick
On Dec 6, 2010, at 3:54 PM, Bostjan Skufca wrote: Hi! Did someone else notice similar behaviour? I use puppet kick hostname.domain.net to occasionally trigger catalog runs. But it does not work if I specify IP in auth.conf, like this: path /run

Re: [Puppet Users] Augeas not saving changes

2010-12-03 Thread Patrick
On Dec 2, 2010, at 1:03 PM, Sid wrote: ruby: 1.8.7.302-4 ruby-augeas: 0.3.0-1.el5 (EPEL) augeas-libs: 0.7.3-1.el5 (EPEL) puppet: 2.6.4 I am unable to get Puppet/Augeas to update the sysctl.conf file when using the following configuration. I have tested changing the file with augtool and

Re: [Puppet Users] iteration question

2010-12-03 Thread Patrick
Why not sync the files directly to that directory? On Dec 3, 2010, at 12:48 PM, Don Jackson wrote: So here is a scenario: I have a directory: ./foo ./foo/file1 ./foo/file2 ./foo/file3 … ./foo/fileN I populate this directory on a configured

Re: [Puppet Users] iteration question

2010-12-03 Thread Patrick Mohr
Puppet won't bother other files in a directory it manages unless you turn on purge = true. On Fri, Dec 3, 2010 at 2:15 PM, Don Jackson puppet-us...@clark-communications.com wrote: On Dec 3, 2010, at 12:56 PM, Patrick wrote: Why not sync the files directly to that directory

Re: [Puppet Users] Trying to run puppet from a tarball

2010-12-02 Thread Patrick
On Dec 2, 2010, at 12:56 PM, Kikanny wrote: I'm trying to run puppet using the tarball and so far, I've been unsuccessful. The system I'm trying to run puppet on is running RHEL 5.3. Now first of all, this system does not have access to internet. Therefore I don't have any access to any of

Re: [Puppet Users] Re: Puppet replaces deleted files

2010-11-30 Thread Patrick
On Nov 30, 2010, at 5:25 AM, Os wrote: As in using your operating systems package management. If you're running Debian/Ubuntu that'll be a .deb, if you're using RedHat/CentOS/Fedora that'll be a .rpm. Thanks for the advice, thats something I did not think about but absolutly solves my

Re: [Puppet Users] Depending on a class from a class?

2010-11-30 Thread Patrick
On Nov 30, 2010, at 7:03 AM, Daniel Piddock wrote: Hello, I fear that I have done something stupid in my manifests that requires a redesign. To take an example: I have the global statement: Package { ensure = latest, require = Class['repositories'], } I then have a repositories

Re: [Puppet Users] Combine multiple CA certificates into a bundle

2010-11-29 Thread Patrick
On Nov 29, 2010, at 10:13 AM, Alan Barrett wrote: On Mon, 29 Nov 2010, Alan Barrett wrote: It seems to me that I should be able to take the $ssldir/ca/ca_crt.pem files from the two puppetmasters, concatenate them to create a ca-bundle.pem file, and place the bundle in some suitable place

Re: [Puppet Users] easy to way to track clients checking in?

2010-11-29 Thread Patrick
On Nov 29, 2010, at 12:55 PM, David Birdsong wrote: I've been wrestling to get the puppet ca server to sign client certs and have them successfully reconnect later. I think I've done: find /var/lib/puppet/ -type f -delete ; sudo find /etc/puppet/ssl -type f -delete ; sudo

Re: [Puppet Users] What is Puppet capable of?

2010-11-24 Thread Patrick
On Nov 23, 2010, at 4:53 PM, Adam Nielsen wrote: Hi all, I've been reading up on Puppet but there are a few things I am unsure of, and I'm hoping someone here can advise. As I understand it the idea behind Puppet is to describe how a machine should be configured in a single place, and

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-24 Thread Patrick
On Nov 24, 2010, at 3:50 PM, Nigel Kersten wrote: I mentioned this in an earlier thread, but here's a dedicated one. We made a big change between 0.24.x and 0.25.x where we moved from XMLRPC to REST. How do people feel about us dropping all XMLRPC support from 2.7.x, such that it only

Re: [Puppet Users] Initial data population

2010-11-23 Thread Patrick
On Nov 23, 2010, at 6:45 AM, Ashley Penney wrote: Hi, We've been having some internal discussions about the best way to handle certain cases and I thought I'd turn to the list to solicit opinions on how other people have solved this issue (or don't, as the case may be). The issue is

<    1   2   3   4   5   6   7   >