[Puppet Users] Re: new to puppet - simple ordering question

2014-09-11 Thread Stefan Heijmans
Hi Phil, checkout the resource ordering docs; https://docs.puppetlabs.com/learning/ordering.html Stefan. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Puppet Users] Need help un andderstanding puppet output

2014-09-11 Thread Mark Lybrand
I am trying to use puppet to provision a vagrant box and am trying to understand the output. What is the best forum for getting that type of help? Is this group that forum? If so, I will post more details of my set up and a listing of what I am getting. If this is not the forum, I would

[Puppet Users] Permission Denied with concatfragments.sh

2014-09-11 Thread Matthew Hyclak
I'm facing a very strange problem and I'm honestly not sure where to look. Any pointers would be great. I have a system I'm using the hunner/wordpress module and for some reason when it tries to build the wp-config.php file, concatfragments.sh fails. The strange part is that the apache module uses

Re: [Puppet Users] inline template variable access

2014-09-11 Thread Brandon Metcalf
On Sunday, September 7, 2014 9:39:56 AM UTC-5, Felix.Frank wrote: On 09/06/2014 11:09 PM, Spencer Krum wrote: $java_home = $java_home_var Barring that, this is the correct way to use a template: $java_home = inline_template('%= @java_home_var %') Well, yes, but I got the

[Puppet Users] Sending facts out-of-band natively

2014-09-11 Thread Jon McKenzie
Hi all, We're thinking about implementing the puppet facts upload pattern to send facts up to the Puppetmaster (and into Foreman) out-of-band. Basically, we need a way to distinguish hosts which are alive, but just have their agent disabled (e.g. for troubleshooting), and hosts which are just

[Puppet Users] hiera_array() overriden when used as default class parameter

2014-09-11 Thread Bruno Léon
Hi there, it took me while to figure this out but it seems that when you do set the default value of a class parameter to the value hiera_array('myparameter'), hiera does not do an array merge but a standard most specific value found. This is on Puppet 3.7. I created a module to show

Re: [Puppet Users] Permission Denied with concatfragments.sh

2014-09-11 Thread Nan Liu
On Thu, Sep 11, 2014 at 5:46 AM, Matthew Hyclak hyc...@gmail.com wrote: I'm facing a very strange problem and I'm honestly not sure where to look. Any pointers would be great. I have a system I'm using the hunner/wordpress module and for some reason when it tries to build the wp-config.php

Re: [Puppet Users] Unable to do puppet apply nodes.pp

2014-09-11 Thread Felix Frank
On 09/10/2014 09:37 PM, Justin tim wrote: / As seen, the changes do not take place i.e the user doesn't get added. It simple say's Catalog finished without actually doing anything. / Can you share the output of the following? getent passwd katie -- You received this message because you

Re: [Puppet Users] Permission Denied with concatfragments.sh

2014-09-11 Thread Matthew Hyclak
There are some resource defaults set, but I don't see how that would throw the error based on the file permissions in the last mail. ## Resource defaults File { owner = $wp_owner, group = $wp_group, mode = '0644', } Exec { path =

[Puppet Users] Re: hiera_array() overriden when used as default class parameter

2014-09-11 Thread Bruno Léon
Double checked by temporarily removing /usr/lib/ruby/vendor_ruby/puppet/parser/functions/hiera_array.rb from puppet master If called in the body this raises an error as expected. If called as a default class parameter = no error so the function is not called 2014-09-11 16:26 GMT+02:00 Bruno Léon

[Puppet Users] Need help understanding puppet output

2014-09-11 Thread Mark Lybrand
Resending to correct garbled subject line. On Sep 11, 2014 5:36 AM, Mark Lybrand mlybr...@gmail.com wrote: I am trying to use puppet to provision a vagrant box and am trying to understand the output. What is the best forum for getting that type of help? Is this group that forum? If so, I

Re: [Puppet Users] Need help understanding puppet output

2014-09-11 Thread Christopher Wood
On Thu, Sep 11, 2014 at 08:38:04AM -0700, Mark Lybrand wrote: Resending to correct garbled subject line. On Sep 11, 2014 5:36 AM, Mark Lybrand [1]mlybr...@gmail.com wrote: I am trying to use puppet to provision a vagrant box and am trying to understand the output.  What is

Re: [Puppet Users] Need help understanding puppet output

2014-09-11 Thread Mark Lybrand
Activating debug might give me more info. I will look into how to do that either in my vagrantfile or in my pp. Also pastebin is good. I got nothing confidential going on. Thanks for the input. Mark On Sep 11, 2014 8:42 AM, Christopher Wood christopher_w...@pobox.com wrote: On Thu, Sep 11,

[Puppet Users] Re: hiera_array() overriden when used as default class parameter

2014-09-11 Thread Bruno Léon
Got a reply on IRC chan and I actually was wrongly thinking that the default param value would have precendence over databinding. Sorry for the noise... Bruno 2014-09-11 16:58 GMT+02:00 Bruno Léon nonolem...@gmail.com: Double checked by temporarily removing

Re: [Puppet Users] inline template variable access

2014-09-11 Thread Henrik Lindberg
On 2014-11-09 16:04, Brandon Metcalf wrote: On Sunday, September 7, 2014 9:39:56 AM UTC-5, Felix.Frank wrote: On 09/06/2014 11:09 PM, Spencer Krum wrote: $java_home = $java_home_var Barring that, this is the correct way to use a template: $java_home =

[Puppet Users] mcollective module - hiera integration

2014-09-11 Thread Mike Reed
Hello all, I have a quick question regarding the puppet-forge mcollective module and it's integration with hiera. I'd like to abstract some values into hiera instead of using site.pp to define parameter values for the mcollective class. I've got hiera and the mcollective module already

Re: [Puppet Users] mcollective module - hiera integration

2014-09-11 Thread Matthew Hyclak
That option was removed in the latest version of the module[1]. You'll have to roll back a version to do it that way, but the way forward appears to be using an external option to configure the middleware for you. For now, I just pinned version 1.1.6 until I can get time to implement the

Re: [Puppet Users] Permission Denied with concatfragments.sh

2014-09-11 Thread Matthew Hyclak
So a little more searching revealed this bug report on the module: https://github.com/hunner/puppet-wordpress/issues/27 The Exec defaults are getting passed through from the wordpress module to the concat module. Is that correct behavior or a bug in puppet? My solution for now is to remove the

[Puppet Users] Re: Sending facts out-of-band natively

2014-09-11 Thread Jon McKenzie
For anyone that's interested, here's what I ended up doing: I created a new Puppet face called 'maintenance' with an 'enter' and 'exit' action. When you 'enter' maintenance mode, it runs the 'config' face to set 'noop' to 'true' (by default in the agent section, but you can specify). This way,

Re: [Puppet Users] mcollective module - hiera integration

2014-09-11 Thread Mike Reed
Oops, I suppose if I would have read the module changelog, I could have avoided this entire post. Thank you for the help and info...much appreciated. Cheers, m. On Thursday, September 11, 2014 12:16:18 PM UTC-7, Matthew Hyclak wrote: That option was removed in the latest version of the

Re: [Puppet Users] inline template variable access

2014-09-11 Thread Brandon Metcalf
On Thursday, September 11, 2014 12:56:50 PM UTC-5, Henrik Lindberg wrote: On 2014-11-09 16:04, Brandon Metcalf wrote: On Sunday, September 7, 2014 9:39:56 AM UTC-5, Felix.Frank wrote: On 09/06/2014 11:09 PM, Spencer Krum wrote: $java_home = $java_home_var

[Puppet Users] [security] GPG signing key collision

2014-09-11 Thread Matthaus Owens
Recently, we were alerted that when receiving the Puppet Labs gpg signing key from a keyserver, a user was offered two keys. The key exchange went something like this: # gpg --fingerprint --search-keys 0x4BD6EC30 gpg: searching for 0x4BD6EC30 from hkp server pgp.mit.edu (1) Puppet Labs Release

Re: [Puppet Users] inline template variable access

2014-09-11 Thread Henrik Lindberg
On 2014-11-09 22:57, Brandon Metcalf wrote: On Thursday, September 11, 2014 12:56:50 PM UTC-5, Henrik Lindberg wrote: On 2014-11-09 16:04, Brandon Metcalf wrote: On Sunday, September 7, 2014 9:39:56 AM UTC-5, Felix.Frank wrote: On 09/06/2014 11:09 PM, Spencer

Re: [Puppet Users] inline template variable access

2014-09-11 Thread Henrik Lindberg
On 2014-12-09 1:06, Henrik Lindberg wrote: On 2014-11-09 22:57, Brandon Metcalf wrote: On Thursday, September 11, 2014 12:56:50 PM UTC-5, Henrik Lindberg wrote: On 2014-11-09 16:04, Brandon Metcalf wrote: On Sunday, September 7, 2014 9:39:56 AM UTC-5, Felix.Frank wrote:

[Puppet Users] hiera - default parameter values and design questions

2014-09-11 Thread Mike Reed
Hello all, I ran into a problem with hiera and in particular, assigning or not assigning default values to variables within a data source. I'm using the mcollective module (currently using version 1.1.6) and I've built a very simple hiera backend to start adding site-specific data into a

Re: [Puppet Users] hiera - default parameter values and design questions

2014-09-11 Thread Xav Paice
inline On 12/09/14 13:36, Mike Reed wrote: Hello all, I ran into a problem with hiera and in particular, assigning or not assigning default values to variables within a data source. I'm using the mcollective module (currently using version 1.1.6) and I've built a very simple hiera backend