Re: [Puppet Users] Slides of the talk TDD and puppet a gave today in Ghent, cfgmgmtcamp.eu

2014-02-04 Thread Johan De Wit
On 02/04/2014 09:26 PM, Johan De Wit wrote: Hi all, http://www.slideshare.net/johandw/test-driven-developmentandpuppetcfgmgmtcampeu20140402 Jan's slides of his part of the talk, can be found here : http://vstone.github.io/puppet-module-testing I will write a blog on the Belgian Puppet Use

[Puppet Users] Re: [Puppet-dev] Slides of the talk TDD and puppet a gave today in Ghent, cfgmgmtcamp.eu

2014-02-04 Thread Johan De Wit
On 02/04/2014 09:26 PM, Johan De Wit wrote: Hi all, http://www.slideshare.net/johandw/test-driven-developmentandpuppetcfgmgmtcampeu20140402 Jan's slides of his part of the talk, can be found here : http://vstone.github.io/puppet-module-testing I will write a blog on the Belgian Puppet Use

[Puppet Users] Slides of the talk TDD and puppet a gave today in Ghent, cfgmgmtcamp.eu

2014-02-04 Thread Johan De Wit
Hi all, http://www.slideshare.net/johandw/test-driven-developmentandpuppetcfgmgmtcampeu20140402 Jan's slides of his part of the talk, can be found here : http://vstone.github.io/puppet-module-testing I will write a blog on the Belgian Puppet User Group Website, http://puppet-be.github.io/ an

Re: [Puppet Users] Understanding script process control

2014-02-04 Thread José Luis Ledesma
Also try removing the subscribe parameter from the service, and check if the restart works properly. Regards, El 04/02/2014 21:09, "José Luis Ledesma" escribió: > Have you tried setting hasstatus => true in the service definition? > > Could you provide a puppet agent -t --debug from the node? >

Re: [Puppet Users] Understanding script process control

2014-02-04 Thread José Luis Ledesma
Have you tried setting hasstatus => true in the service definition? Could you provide a puppet agent -t --debug from the node? Regards, El 04/02/2014 20:55, "JonY" escribió: > I have an issue where puppet keeps starting additional instances of a > process even though it's already running. The '

[Puppet Users] Understanding script process control

2014-02-04 Thread JonY
I have an issue where puppet keeps starting additional instances of a process even though it's already running. The 'control script' in question does have a 'status' command but I'm thinking that I'm not properly telling puppet that the process is ok. >From the site: The init script’s status co

Re: [Puppet Users] [JOBS] systems and automation/tooking engineers - Atlanta, GA, USA or remote in US

2014-02-04 Thread Jason Antman
Ahhh. I suppose I was just being naive and thinking that the recruiters hadn't found out about this list yet... wishful thinking. Thanks. On 02/04/2014 02:04 PM, Ken Barber wrote: > Jason, > > The policy afaik is still what was laid down here: > https://groups.google.com/forum/#!msg/puppet-users/

Re: [Puppet Users] Port for ENC requests?

2014-02-04 Thread JonY
chown puppet:puppet /etc/puppet/ENC/ENC.log Perl was refusing to write to the log file when run under Passenger even though the file was as open as I could make it. And even though the script worked when run via the shell - passenger still wouldn't do it. On Tuesday, February 4, 2014 11:16:41

Re: [Puppet Users] Port for ENC requests?

2014-02-04 Thread José Luis Ledesma
Have you looked syslog and apache logs? BTW /tmp should be 1777, but this shouldn't be the problem. Regards, El 04/02/2014 20:07, "JonY" escribió: > I'm stumped then. > > Folder is 0777. Files are 0777. > > I'm running the p-master using Passenger in apache2 which runs as the > 'puppet' account

[Puppet Users] Packaging Issues with PuppetDB 1.6.0 and Fedora (possible SRPMs on other distros)

2014-02-04 Thread Ryan Senior
The PuppetDB 1.6.0 RPMs for Fedora are currently broken and have been pulled from the Fedora repos. We are working on a 1.6.1 release this week that will include a fix for the packaging issue causing the failure. We have also received reports of rebuilt SRPMs on other platforms having issues. Users

Re: [Puppet Users] [JOBS] systems and automation/tooking engineers - Atlanta, GA, USA or remote in US

2014-02-04 Thread Ken Barber
Jason, The policy afaik is still what was laid down here: https://groups.google.com/forum/#!msg/puppet-users/yC0TxrTd0aE/_ffh9H55ssAJ So these kind of job postings are welcome. FYI we moderate the other kind usually before most people see them. ken. On Tue, Feb 4, 2014 at 6:55 PM, Jason Antman

Re: [Puppet Users] Port for ENC requests?

2014-02-04 Thread JonY
I'm stumped then. Folder is 0777. Files are 0777. I'm running the p-master using Passenger in apache2 which runs as the 'puppet' account. I used this account to run the app in question without any problem. 'su - puppet -c "/tmp/test0.pl"'. SELinux is in 'permissive' mode. What else should I

[Puppet Users] [JOBS] systems and automation/tooking engineers - Atlanta, GA, USA or remote in US

2014-02-04 Thread Jason Antman
CMG Technology is hiring systems and automation/tooling engineers (and Python developers). We're a web shop that runs the web and mobile presences for 70+ newspaper/tv/radio properties, based off of a Python/Django application (supposedly the largest in production anywhere) serving around 10M page

Re: [Puppet Users] Pupppet syslog "unrecognised escape sequence" in string

2014-02-04 Thread Andreas Dvorak
Hi, thank you I think I do understand it. Here is my solution exec{ '/bin/sed \'\#^/home#d\' /etc/auto_master > /tmp/sed.tmp.$$ && mv /tmp/sed.tmp.$$ /etc/auto_master' and it works Best regards, Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users

[Puppet Users] Re: Enabling Inventory Support for dashboard give SSL_connect error

2014-02-04 Thread Jason Hatman
> > Figured it out. I assumed that since Dashboard used port 3000 that the CA > did as well. I changed "ca_port" to 8140 and now it works. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving

Re: [Puppet Users] how to copy a file from a network location

2014-02-04 Thread Dan White
wget ? curl ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” (Bill Waterson: Calvin & Hobbes) On Feb 04, 2014, at 10:18 AM, rstirella wrote: I am trying to copy a file to a desktop from a network driv

[Puppet Users] Re: Enabling Inventory Support for dashboard give SSL_connect error

2014-02-04 Thread Jason Hatman
*My settings.yml file looks like this, if it helps.* cn_name: 'dashboard' ca_crl_path: 'certs/dashboard.ca_crl.pem' ca_certificate_path: 'certs/dashboard.ca_cert.pem' certificate_path: 'certs/dashboard.cert.pem' private_key_path: 'certs/dashboard.private_key.pem' public_key_path: 'certs/dashb

Re: [Puppet Users] Pupppet syslog "unrecognised escape sequence" in string

2014-02-04 Thread Jason Antman
Your exec resource has a double-quoted string. 1) You're not doing variable interpolation, so that should be a single-quoted string (per the accepted style). 2) Puppet *happens* to allow "\#". The docs on Puppet string types and escaping (https://docs.puppetlabs.com/puppet/3/reference/lang_datatyp

Re: [Puppet Users] Pupppet syslog "unrecognised escape sequence" in string

2014-02-04 Thread David Schmitt
puppet is telling you that it is trying to interpret the backslash-hash (\#) sequence in the string, but has not found a useful interpretation. I guess that you'd like to ACTUALLY have a backslash and a has in the string, in which case you'll need to put backslash-backslash-hash (\\#) in there

[Puppet Users] Pupppet syslog "unrecognised escape sequence" in string

2014-02-04 Thread Andreas Dvorak
Dear all, I have several exec resources that work fine, but the puppet master throws a syslog message "Unrecognised escape sequence \# in file /data/git/simulation/modules/base_modification/manifests/only_solaris.pp at line 14" 14: exec{ "/bin/sed '\#^/home#d' /etc/auto_master > /tmp/sed.tmp.

[Puppet Users] Re: Enabling Inventory Support for dashboard give SSL_connect error

2014-02-04 Thread Jason Hatman
I too would like some insight into this problem. I'm following the same instructions. Here's my result. root@pmaster3:/usr/share/puppet-dashboard# sudo -u puppet-dashboard rake cert:request NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. G

[Puppet Users] how to copy a file from a network location

2014-02-04 Thread rstirella
I am trying to copy a file to a desktop from a network drive with puppet but I keep getting errors. Does anyone know the script to copy a file from one location to another with puppet? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsub

[Puppet Users] Re: Constructing rvalues from exported resources.

2014-02-04 Thread jcbollinger
On Tuesday, February 4, 2014 2:03:12 AM UTC-6, Krist van Besien wrote: > > > > On Wednesday, January 29, 2014 3:41:43 PM UTC+1, jcbollinger wrote: >> >> >> I'm uncertain what you mean. If "doing this" refers to enumerating the >> cluster members in advance, then that can only be something that

Re: [Puppet Users] Puppet vs "typical" release management / change management

2014-02-04 Thread Gareth Rushgrove
On 4 February 2014 14:11, Jason Antman wrote: > Steve, > > I'll leave it up to others to answer your question more directly, as I'm not > sure I really can - it's been a while since I worked in an ITIL shop. What I > will say, though, since inevitably *someone* will, is that ITIL contains > some g

[Puppet Users] Re: ENC - how to set order of operations?

2014-02-04 Thread jcbollinger
On Monday, February 3, 2014 9:13:28 AM UTC-6, JonY wrote: > > I need to convert my resource based system to ENC. > That statement does not make sense. You cannot do anything useful with Puppet without resources. I suppose you may mean that you want to drop node blocks, in which you sometime

Re: [Puppet Users] Get Facter Facts for Previously installed module

2014-02-04 Thread jcbollinger
On Monday, February 3, 2014 9:34:51 AM UTC-6, Ralph Bolton wrote: > > Custom Providers look interesting, although I can't immediately find a > good example to work from (it just me, or is the puppetlabs doco weirdly > confusing?). I guess it just matters when the provider is evaluated - if > i

Re: [Puppet Users] Puppet vs "typical" release management / change management

2014-02-04 Thread Jason Antman
Steve, I'll leave it up to others to answer your question more directly, as I'm not sure I really can - it's been a while since I worked in an ITIL shop. What I will say, though, since inevitably *someone* will, is that ITIL contains some good concepts and some bad ones. Overall, I'd never wo

Re: [Puppet Users] ENC - how to set order of operations?

2014-02-04 Thread Jason Antman
Disregard some of what I said. Sorry for the confusion. Stages can only be used on classes not individual resources, so that won't work as cleanly with forge modules (or anything that isn't specifically setup to use stages). On 02/04/2014 07:43 AM, Jason Antman wrote: Jon, I've been using EN

Re: [Puppet Users] ENC - how to set order of operations?

2014-02-04 Thread Jason Antman
Jon, I've been using ENCs for quite a while, and have never used them with site manifests (or any other manifests outside of modules). At the moment, when I do things like that, I either do them inside a class (i.e. put what you have in a wrapper class), or use "require" on all resource insta

Re: [Puppet Users] Puppet vs "typical" release management / change management

2014-02-04 Thread José Luis Ledesma
We are currently setting up puppet in our infrastructure. We have a very enforcing change management process. Moreover, is impossible to make changes in all the development servers at the same time, so using the standard Dev, test, pre, pro environments is not an options. We have decided to work

[Puppet Users] Re: Puppet Enterprise Answers file install and Policy based autosign

2014-02-04 Thread Adam Clark
HI Eric, Thanks for the reply. I'm using PE 3.3.1 with naive autosigning which works well, I just assume policy based was working too. I'm new to Puppet and just doing some proof of concept work. One thing I haven't got a good grip on is when does facter go out and gather the facts? Can it

[Puppet Users] Re: puppet jobs list?

2014-02-04 Thread dilippanwar
Hi Jacob, I am a Puppet Developer and developed few Puppet modules. I am looking for a change. It would be nice if you can share the JD. Also , I am a bit doubtful about the location. I am Indian citizen and currently working with Dell India. On Saturday, February 1, 2014 8:44:09 PM UTC+5:30,

[Puppet Users] Puppet vs "typical" release management / change management

2014-02-04 Thread Steven James
Hi there. I'm look to see if anybody has any advice to share around how the implementation of Puppet affects the "typical" ITIL based release management and change management processes. >From a change perspective, I'm thinking that the whole risk thing associate with the CAB for example, should

[Puppet Users] Re: Constructing rvalues from exported resources.

2014-02-04 Thread Krist van Besien
On Wednesday, January 29, 2014 3:41:43 PM UTC+1, jcbollinger wrote: > > > I'm uncertain what you mean. If "doing this" refers to enumerating the > cluster members in advance, then that can only be something that you, as > cluster planner, do yourself, outside the scope of Puppet (c.f. "in > a