Re: [Puppet Users] pipes in command output

2010-10-28 Thread Jeff McCune
On Thu, Oct 28, 2010 at 4:17 PM, John T. Guthrie wrote: > On 10/28/2010 02:26 PM, Jeff McCune wrote: >> On Thu, Oct 28, 2010 at 2:06 PM, John T. Guthrie >> wrote: >> >>> Hello all, >>> >>> While we can use generate() to get the output of a command into a puppet >>> manifest, it has limitations.

[Puppet Users] Re: Using puppet to update itself

2010-10-28 Thread Forrie
Thanks for posting the code snippet. We haven't been building RPMs for internal use; so, I certainly could work on that. I think we might be able to do a filesystem tree copy -- for example, track the files that get installed on the master server, then copy those to the files repository under pu

[Puppet Users] ANNOUNCE: Puppet 2.6.3 - Release Candidate 2 available!

2010-10-28 Thread James Turnbull
We're back with a maintenance release: 2.6.3. This release addresses some issues in the 2.6.2 release. 2.6.3 is a maintenance release in the 2.6.x branch and it contains only bug fixes and no new features. The second release candidate is available for download at: http://puppetlabs.com/download

Re: [Puppet Users] pipes in command output

2010-10-28 Thread John T. Guthrie
On 10/28/2010 02:26 PM, Jeff McCune wrote: > On Thu, Oct 28, 2010 at 2:06 PM, John T. Guthrie > wrote: > >> Hello all, >> >> While we can use generate() to get the output of a command into a puppet >> manifest, it has limitations. In particular, no subshell is used to run >> the command, so y

Re: [Puppet Users] pipes in command output

2010-10-28 Thread Jeff McCune
On Thu, Oct 28, 2010 at 2:06 PM, John T. Guthrie wrote: > Hello all, > > While we can use generate() to get the output of a command into a puppet > manifest, it has limitations.  In particular, no subshell is used to run > the command, so you can't use the pipe symbol, "|", to connect two > comman

[Puppet Users] pipes in command output

2010-10-28 Thread John T. Guthrie
Hello all, While we can use generate() to get the output of a command into a puppet manifest, it has limitations. In particular, no subshell is used to run the command, so you can't use the pipe symbol, "|", to connect two commands together. So how would one go about getting the output of "comma

Re: [Puppet Users] Professional services in Spain

2010-10-28 Thread Dan Bode
Hi, I am a member of the PS team at Puppetlabs. We often travel to Europe for professional services work and training. I will be teaching a puppetmaster class in London in early December: http://www.puppetlabs.com/events/london-nov-2010/ -Dan -- Forwarded message -- From: Montse

Re: [Puppet Users] Puppet Application Server Deployment

2010-10-28 Thread Mohamed Lrhazi
On Tue, Oct 19, 2010 at 3:09 AM, ajinkya prabhune wrote: > I was wondering is SmartFrog better than Puppet or are they both of equal > level. http://en.wikipedia.org/wiki/Comparison_of_open_source_configuration_management_software -- You received this message because you are subscribed to the G

[Puppet Users] Professional services in Spain

2010-10-28 Thread Montse Gordon Vergara
I wonder if in Spain, is there some providers for training, installation .. for professional services and which are? Thaks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To un

Re: [Puppet Users] Re: Puppet on Windows

2010-10-28 Thread Trevor Whitlock
Windows actually doesn't care about the direction of slashes in the path from programming languages. -Trevor On Thu, Oct 28, 2010 at 9:21 AM, Kikanny wrote: > Hmm...that is what puppet reports when it is run. I think its because > ruby accepts only forward slashes and since puppet is based on >

[Puppet Users] Re: Variable Interpolation (double interpolation)

2010-10-28 Thread Roberto Bouza
Yes... this would be a better cleaner solution.. sadly we are running 0.25 still until we upgrade. Hashes are great, aren't they? Thx On Oct 28, 12:41 am, Felix Frank wrote: > On 10/28/2010 04:00 AM, Joe McDonagh wrote: > > > On 10/27/2010 07:37 PM, Roberto Bouza wrote: > >> Thanks!!! > > >> It

Re: [Puppet Users] migrating to dashboard

2010-10-28 Thread Ohad Levy
not that i want to hijack the thread, but foreman[1] support this out of the box. Ohad [1] - http://theforeman.org/projects/foreman/wiki/External_Nodes#Import-your-environment-and-classes-setup On Thu, Oct 28, 2010 at 12:16 PM, walexey wrote: > Hello everybody! > > I try to start using puppet-

[Puppet Users] Re: migrating to dashboard

2010-10-28 Thread luke.bigum
If you're a not too bad on the command line, you could generate lists of your classes and nodes, then write a quick script to generate SQL to insert directly into the dashboard DB - the DB schema is quite simple. I do this to classify nodes into class groups - not because I use Dashboad as an exter

Re: [Puppet Users] Cron on SUSE Enterprise Linux

2010-10-28 Thread Nigel Kersten
On Thu, Oct 28, 2010 at 4:52 AM, Felix Frank wrote: > Hi, > > we're running 0.25.5 on SLES11 SP1 machines and are now noticing lots of > clutter in root's crontab. The packages are rolled from the > suse-specfile as distributed in the puppet tarball. > > SUSE sees fit to drop a warning comment int

Re: [Puppet Users] migrating to dashboard

2010-10-28 Thread Jacob Helwig
On Thu, 28 Oct 2010 03:16:13 -0700, walexey wrote: > > Hello everybody! > > I try to start using puppet-dashboard. It was installed ok and can > show reports from nodes. > As next step, i want to manage classes-nodes association with puppet. > How can i import curent class definition from /etc/pu

Re: [Puppet Users] Re: Puppet on Windows

2010-10-28 Thread Felix Frank
On 10/28/2010 05:47 PM, Kikanny wrote: > I'm thinking of giving upit looks like puppet for windows still > tries to use the linux directory structure? Because there is a > statement that says: > > debug: Puppet::Type::User::ProviderDirectoryService: file /usr/bin/ > dsc1 does not exist > >

[Puppet Users] Re: Puppet on Windows

2010-10-28 Thread Kikanny
I'm thinking of giving upit looks like puppet for windows still tries to use the linux directory structure? Because there is a statement that says: debug: Puppet::Type::User::ProviderDirectoryService: file /usr/bin/ dsc1 does not exist I don't know..I'm clueless. If anyone does get it working

[Puppet Users] Re: Puppet on Windows

2010-10-28 Thread Kikanny
Hmm...that is what puppet reports when it is run. I think its because ruby accepts only forward slashes and since puppet is based on rubycould make sense. Could be wrong though. On Oct 28, 10:58 am, li...@truthisfreedom.org.uk wrote: > Quoting Kikanny : > > > err: Could not request certificate

Re: [Puppet Users] Re: Puppet on Windows

2010-10-28 Thread lists
Quoting Kikanny : err: Could not request certificate: Could not write C:/puppet/conf/ssl/ private_keys/testing.pem to privatekeydir: Could not find a default provider for user Exiting: failed to retrieve certificate and waitforcert is disabled. I could be wrong, but shouldn't those slashes be b

[Puppet Users] Re: Puppet on Windows

2010-10-28 Thread Kikanny
Hmmm...I've made some progress. There seemed to be some problems with Ruby 1.9.1. So I reverted back to Ruby 1.8.7 and followed the steps again as outlined in http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows. Installed an additional gem called win32-security. This allowed the puppet d

[Puppet Users] Cron on SUSE Enterprise Linux

2010-10-28 Thread Felix Frank
Hi, we're running 0.25.5 on SLES11 SP1 machines and are now noticing lots of clutter in root's crontab. The packages are rolled from the suse-specfile as distributed in the puppet tarball. SUSE sees fit to drop a warning comment into /var/spool/cron/tabs/ that state this: # DO NOT EDIT THIS FILE

Re: [Puppet Users] Puppet on Windows

2010-10-28 Thread Sandor Szuecs
On Oct 26, 2010, at 8:51 PM, Kikanny wrote: > Hi. I know that puppet for windows is in its basic stages but I've > been screwing around with it. I can get facter working. However one > error that it spits out is that: "Could not retrieve puppetversion: > Cannot determine basic system flavour." >

[Puppet Users] migrating to dashboard

2010-10-28 Thread walexey
Hello everybody! I try to start using puppet-dashboard. It was installed ok and can show reports from nodes. As next step, i want to manage classes-nodes association with puppet. How can i import curent class definition from /etc/puppet/manifest/ classes.pp ? Or i should create it from scratch? w

Re: [Puppet Users] Re: Variable Interpolation (double interpolation)

2010-10-28 Thread Felix Frank
On 10/28/2010 04:00 AM, Joe McDonagh wrote: > On 10/27/2010 07:37 PM, Roberto Bouza wrote: >> Thanks!!! >> >> It worked like a charm. >> >> On Oct 27, 3:23 pm, Joe McDonagh wrote: >> > FYI, if you're using 2.6, the new pure Ruby stuff might look better. > Unfortunately I have not yet deployed 2