[Puppet Users] Re: yamlyzer

2013-12-20 Thread Stuart Cracraft
Not just placing all trust in Puppet. That's the point of this tiny program now named yaml2csv.rb If you revise/improve, you must post back your improved version. And remember, by ensuring you noop your Puppet cloud and review it first before actions, you will keep the human in the loop be

[Puppet Users] Re: Puppet Pro, 2nd edition - status directly from APress

2013-12-20 Thread Stuart Cracraft
Must be good. Mine is set to arrive on 12/24 according to Amazon, so we'll see. It's all too money-centric and materialist. What a shame. On Friday, December 20, 2013 6:45:24 AM UTC-8, Ygor wrote: > I queried the publisher directly because depending what site you look at, > you get info that

Re: [Puppet Users] One big manifest?

2013-12-20 Thread Johan De Wit
This is just a question with so many answers. have you tried the puppet enterprise quick start guide ? It is a good way to learn the concepts and get you started quickly. Get in touch with local puppet users. Looks to me you are dutch speaking, so get in touch with the dutch or belgian puppet

Re: [Puppet Users] Puppet 3.4.0 name as an array in package

2013-12-20 Thread Fabrice Bacchella
Le 20 déc. 2013 à 19:55, Charlie Sharpsteen a écrit : > On Friday, December 20, 2013 10:30:14 AM UTC-8, Fabrice Bacchella wrote: > > > > Puppet 3.4 is out and broke an very usefull undocument feature. > > Previsiously, one can write : > > package {'bla': > ensure => present,

[Puppet Users] Execution expired? Error message during agent run

2013-12-20 Thread Jon Yeargers
Running 'puppet agent --test' - after 5-10 minutes of execution this error appeared: err: Could not run Puppet configuration client: execution expired When I ran the same command the execution resumed and continued to completion. -- You received this message because you are subscribed to the

Re: [Puppet Users] Push message from Windows Agent to Unix (puppet Master)

2013-12-20 Thread Jeff Bachtel
I don't think filebucket/file is really the technique you want here. You might be able to do this with exported file resources, but you should instead consider using cygwin and ssh for this, called from the end of your build job. It will be a far simpler and more performant solution. Jeff On

[Puppet Users] Re: Puppet 3.4.0 name as an array in package

2013-12-20 Thread Charlie Sharpsteen
On Friday, December 20, 2013 10:30:14 AM UTC-8, Fabrice Bacchella wrote: Puppet 3.4 is out and broke an very usefull undocument feature. > > Previsiously, one can write : > > package {'bla': > ensure => present, > name => ['pkg1', 'pkg2'] > } > > and it will install

[Puppet Users] Puppet 3.4.0 name as an array in package

2013-12-20 Thread Fabrice Bacchella
Puppet 3.4 is out and broke an very usefull undocument feature. Previsiously, one can write : package {'bla': ensure => present, name => ['pkg1', 'pkg2'] } and it will install pkg1 and pkg2. It now says : Parameter name failed on Package['blab']: Name must be a String n

Re: [Puppet Users] One big manifest?

2013-12-20 Thread Peter Nijssen
I read that document, however, it doesn't provide me the answer. Should I write, in general, my own modules? Or should I use predefined modules? And I if use predefined modules, should the configuration of those modules happen all in site.pp? (Which sounds me like a big file which is getting ha

Re: [Puppet Users] Push message from Windows Agent to Unix (puppet Master)

2013-12-20 Thread Harshita Sinha
Thanks Jeff. Just to confirm on terminologies, is push different from copy ? I want to copy file from windows D:/puppet/Anshita.txt to Unix in /root/Harshita. My basic requirement is to copy the war and tar files from windows to Unix when the build is over in windows. Then when the tar is copied t

Re: [Puppet Users] One big manifest?

2013-12-20 Thread Christopher Wood
Looks like you might want to start here: http://docs.puppetlabs.com/puppet/latest/reference/modules_fundamentals.html Also check up on how to do hiera lookups from within puppet3. Other than that, structuring your modules tends to be a bit site-dependent. On Fri, Dec 20, 2013 at 08:38:03AM -080

[Puppet Users] Re: Change to issue tracking for Forge & PL Module projects

2013-12-20 Thread Ryan Coleman
On Mon, Dec 16, 2013 at 7:48 AM, Ryan Coleman wrote: > As Eric Sorenson noted earlier [1], issue tracking for most projects at > Puppet Labs are moving to JIRA. This includes the Puppet Forge and the > Puppet Labs modules on the Forge. > > As of this morning, Forge issues in Redmine have been set

[Puppet Users] One big manifest?

2013-12-20 Thread Peter Nijssen
Hi, I started to use vagrant with puphpet . Very nice. However, the gui of puphpet gives me too few options, so I want to configure everything myself. So, I decided to write everything from scratch, using modules. Modules like apache, mysql, php, phpmyadmin which are in th

Re: [Puppet Users] Puppet Dashboard with Passenger - 500 Internal Server Error (Mysql::Error: Can't create/write to file Errcode: 13)

2013-12-20 Thread Matheus Santos
Hi folks, I am having the exact same problem. The Webrick works fine but the apache/passenger server does not. What would I need to have installed in ruby in order to ensure the connection between dashboard-passenger and the mysql that I don't need with the webrick? The /tmp (or do you mean th

Re: [Puppet Users] Re: Roles/profile design

2013-12-20 Thread Ramin K
On 12/20/2013 7:24 AM, Josh wrote: Ramin, Thanks. Your description was very helpful. I have finally started to understand how everything should be organized. My profile::apache class needs to drop some additional templates/files to the host for my Apache configuration. Where should these file

[Puppet Users] triggering 'apt-get update'?

2013-12-20 Thread Jon Yeargers
I'm using the puppetforge 'apt' module to deal with some repositories. It has 'always-apt-update' as a property and I've had it set to 'true' but I'm wondering what happens if I don't. Is the puppet package manager 'smart' enough to get the latest versions of packages that it's monitoring ('en

[Puppet Users] Re: Roles/profile design

2013-12-20 Thread Josh
Ramin, Thanks. Your description was very helpful. I have finally started to understand how everything should be organized. My profile::apache class needs to drop some additional templates/files to the host for my Apache configuration. Where should these files and templates be located? For e

Re: [Puppet Users] Push message from Windows Agent to Unix (puppet Master)

2013-12-20 Thread Jeff Bachtel
(adding puppet-users@ back in case others have better information on handling filebuckets) On 12/20/2013 12:53 AM, Harshita Sinha wrote: Dear Jeff, Thanks for your guidance. Basically I want to achieve sending files from Windows to unix. I missed "push the file from windows to unix" in your

Re: [Puppet Users] Mirroring apt.puppetlabs.com creates extra directories

2013-12-20 Thread Konrad Scherer
On 13-12-19 09:12 PM, Aaron Hicks wrote: Hi there, Using the recommended rsync command: rsync -av --copy-links --del rsync://apt.puppetlabs.com/packages/apt/ apt

[Puppet Users] Puppet Pro, 2nd edition - status directly from APress

2013-12-20 Thread Dan White
I queried the publisher directly because depending what site you look at, you get info that says anything from already published to "will ship on March 31, 2014" (Books-A-Million). Thank you for contacting us. This book is published on December 16, 2013 but due to a massive system migration

[Puppet Users] Re: puppet and yum lock

2013-12-20 Thread jcbollinger
On Thursday, December 19, 2013 2:54:39 PM UTC-6, Alexander Petrovsky wrote: > > Hi! > > Did you find out why does it happens? I got the same error, on amazon > linux, puppet 3.0.2. > It is a normal behavior of yum. Yum uses a lock file to prevent multiple sessions from proceeding contemporan

Re: [Puppet Users] Hosting Master In Multiple Vhosts (migrating port from 8140 -> 443)

2013-12-20 Thread Ramin K
On 12/20/2013 6:05 AM, Alex wrote: Hi, we want to migrate our puppet master to run on 443 rather than on 8140. We use Apache and Passenger. To gracefully migrate, I want to setup two vhosts and host puppet on both ports for a short period of time. I know how to setup the vhosts but I am not sur

[Puppet Users] Hosting Master In Multiple Vhosts (migrating port from 8140 -> 443)

2013-12-20 Thread Alex
Hi, we want to migrate our puppet master to run on 443 rather than on 8140. We use Apache and Passenger. To gracefully migrate, I want to setup two vhosts and host puppet on both ports for a short period of time. I know how to setup the vhosts but I am not sure whether the Puppet master stays

Re: [Puppet Users] Re: Failed to submit 'replace facts'

2013-12-20 Thread Jason Antman
Harshita, That error message sounds like your certificate problem is with PuppetDB, not the agent to the master. the master is learn.localdomain.pem and the windows agent is the one with the utterly useless hostname (igtggn*)? Every node (master and agent alike) will always generate their own ce

[Puppet Users] Re: Failed to submit 'replace facts'

2013-12-20 Thread Harshita Sinha
Hi All, I again attempted to execute the command puppet agent --test --verbose --server learn.localdomain, and I continue to get the same error :( Surprisingly, I found that the certificates are created both in Windows agent and the Master . The files created in master under the folder /etc/puppet

[Puppet Users] Failed to submit 'replace facts'

2013-12-20 Thread Harshita Sinha
Hi All, Following the instructions on http://www.copperykeenclaws.com/setting-up-puppet-on-windows/#comment-1201 I was able to connect Windows Agent to Puppet Master. Since my VM got disconnected, I thought of again connecting again and I cleared all the certificates from Windows-Agent as well