Re: [Puppet Users] Hiera - Any advice on getting started?

2012-01-13 Thread Gary Larizza
Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional

Re: [Puppet Users] Using foo::params, inheritance, and parameterized classes simultaneously?

2012-01-13 Thread Gary Larizza
, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users

Re: [Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread Gary Larizza
, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com

Re: [Puppet Users] future use of fully qualified variable names

2012-01-26 Thread Gary Larizza
/puppet-users/-/cRhSzVjWDNQJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza

Re: [Puppet Users] Can't use ${path} in file resource as its namevar?

2012-01-27 Thread Gary Larizza
. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer

Re: [Puppet Users] hasstatus return code

2012-02-01 Thread Gary Larizza
@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you

Re: [Puppet Users] MCollective Cost?

2012-02-01 Thread Gary Larizza
Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional

Re: [Puppet Users] hasstatus return code

2012-02-01 Thread Gary Larizza
to specific a specific process table search parameter, however writing your own status command would be recommended. Regards On 1 February 2012 17:16, Gary Larizza g...@puppetlabs.com wrote: On Wed, Feb 1, 2012 at 10:41 AM, Hugo Deprez hugo.dep...@gmail.comwrote: Dear community, I use

Re: [Puppet Users] Passing class parameters to hiera

2012-02-06 Thread Gary Larizza
: 'value' In your site.pp you would do something like this: $param_classes = hiera_hash('param_classes') create_resources('class', $param_classes) This would declare ALL class declarations found in the param_classes lookup done by Hiera. Hope this helps! -- Gary Larizza Professional Services

Re: [Puppet Users] hiera failed dependencies

2012-02-09 Thread Gary Larizza
/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email

Re: [Puppet Users] Hiera data unusable in a class with an array parameter

2012-02-09 Thread Gary Larizza
, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet

Re: [Puppet Users] Re: neatest way to determine a major version of centos/linux?

2012-02-12 Thread Gary Larizza
, visit this group at http://groups.google.com/** group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en . -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post

Re: [Puppet Users] Re: neatest way to determine a major version of centos/linux?

2012-02-13 Thread Gary Larizza
$modulepatch get loaded by ALL of your nodes). So repeating this code is very redundant. Does this makes sense? On Sun, Feb 12, 2012 at 6:25 PM, Gary Larizza g...@puppetlabs.com wrote: There's also the 'operatingsystemrelease' fact that will evaluate to the full version. You could do

Re: [Puppet Users] Re: neatest way to determine a major version of centos/linux?

2012-02-13 Thread Gary Larizza
* $modulepath NOT $modulepatch On Mon, Feb 13, 2012 at 9:29 AM, Gary Larizza g...@puppetlabs.com wrote: On Mon, Feb 13, 2012 at 9:17 AM, Jeffrey Watts jeffrey.w.wa...@gmail.comwrote: Gary, I've been solving this problem by using the following inline_template in the modules that need

Re: [Puppet Users] Re: neatest way to determine a major version of centos/linux?

2012-02-13 Thread Gary Larizza
, better ways? Thanks again, Jeffrey. On Mon, Feb 13, 2012 at 11:29 AM, Gary Larizza g...@puppetlabs.comwrote: Hi Jeffrey, You're correct about the placement of the file, however you don't need to include it in EVERY module you use. That fact only needs to be in ONE of your modules

Re: [Puppet Users] Re: neatest way to determine a major version of centos/linux?

2012-02-13 Thread Gary Larizza
that live? What's the minimum I'd need to have in it? An init.pp with simply class global { }? Are there other, better ways? Thanks again, Jeffrey. On Mon, Feb 13, 2012 at 11:29 AM, Gary Larizza g...@puppetlabs.comwrote: Hi Jeffrey, You're correct about the placement of the file, however

Re: [Puppet Users] iterating over an array of hashs

2012-02-14 Thread Gary Larizza
to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs

Re: [Puppet Users] iterating over an array of hashs

2012-02-14 Thread Gary Larizza
}.war' app_target_dir : 'pharmacy-webapp' could not create resource of unknown type tomcat::war at /etc/puppet/modules/tomcat/manifests/wars.pp:4 on node pokrsx1puppetagent.ghc.org On Tue, Feb 14, 2012 at 8:53 AM, Gary Larizza g...@puppetlabs.com wrote: Steven, You can use Hashes

Re: [Puppet Users] iterating over an array of hashs

2012-02-14 Thread Gary Larizza
? On Tue, Feb 14, 2012 at 11:13 AM, Gary Larizza g...@puppetlabs.comwrote: On Tue, Feb 14, 2012 at 11:04 AM, Steven Pokrandt spo...@gmail.comwrote: here is my code, yaml and error: what am i missing here? define tomcat::wars($environment,$hostname) { $instance=$name $wars

Re: [Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Gary Larizza
)? Thanks again. On Feb 16, 3:33 pm, Gary Larizza g...@puppetlabs.com wrote: Hey there, Check your cron with crontab -l and you'll see a line that calls /opt/puppet/sbin/refresh-mcollective-metadata every 15 minutes. That's the process that updates the facts.yaml file with your current custom

Re: [Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Gary Larizza
in the Dashboard called PRODUCTION, with a parameter for site=LA How do people typically manage that puppet generated crontab? On Feb 16, 3:38 pm, Gary Larizza g...@puppetlabs.com wrote: Tony, No. Those don't become custom fact values, so client's aren't aware of them

Re: [Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-16 Thread Gary Larizza
. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer

Re: [Puppet Users] Managing /etc/yum.conf

2012-02-16 Thread Gary Larizza
?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users

Re: [Puppet Users] Re: Puppet, Facter and Mcollective

2012-02-17 Thread Gary Larizza
://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] Re: puppet ssl issues.

2012-02-20 Thread Gary Larizza
Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza

Re: [Puppet Users] Re: puppet ssl issues.

2012-02-20 Thread Gary Larizza
*CONTACT and not 'concat' On Mon, Feb 20, 2012 at 10:01 PM, Gary Larizza g...@puppetlabs.com wrote: On Mon, Feb 20, 2012 at 9:50 PM, Digital Ninja dsw.ninja...@gmail.comwrote: I have the puppet master set up to auto sign them. I did a puppetca -- clean FQDN and tried to readd it but I get

Re: [Puppet Users] Re: Cannot see node on Live Management

2012-02-21 Thread Gary Larizza
to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet

Re: [Puppet Users] Re: SSLv3 read server certificate B: certificate verify failed. -- Not time related

2012-02-22 Thread Gary Larizza
. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services

Re: [Puppet Users] Custom function issue

2012-02-22 Thread Gary Larizza
-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet

Re: [Puppet Users] Re: Custom function issue

2012-02-22 Thread Gary Larizza
, DRivard dominick.riv...@gmail.com wrote: What is the purpose of running such function if they are not running on the client? On Feb 22, 3:22 pm, Gary Larizza g...@puppetlabs.com wrote: Hi there, So, functions will ALWAYS be executed on the Puppet MASTER server. They're never executed

Re: [Puppet Users] return status from puppet agent

2012-02-29 Thread Gary Larizza
. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed

Re: [Puppet Users] How to use create_resources with a define

2012-03-01 Thread Gary Larizza
. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you

Re: [Puppet Users] Puppet Master VMs

2012-03-01 Thread Gary Larizza
/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] Live Mangement

2012-03-06 Thread Gary Larizza
Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional

Re: [Puppet Users] trouble with hiera %{calling_module} and puppet defines

2012-03-15 Thread Gary Larizza
/-/ZjdL5rHQxBYJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional

Re: [Puppet Users] Problems with starting service

2012-03-15 Thread Gary Larizza
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email

Re: [Puppet Users] trouble with hiera %{calling_module} and puppet defines

2012-03-15 Thread Gary Larizza
, 15. März 2012 21:33:17 UTC+1 schrieb Gary Larizza: Hi Florian, I believe since $calling_module is a variable out of Puppet and not Facter, that you will need to ALSO setup the Puppet backend, in addition to the YAML backend, in the hiera.yaml file so Hiera can get its value. On Fri, Mar 16

Re: [Puppet Users] Problems with starting service

2012-03-16 Thread Gary Larizza
or not, with 'ssh' on the params class nothing happens. The running sshd service has the following ps -ef : root 27607 1 0 20:53 ?00:00:00 /usr/sbin/sshd -D Thanks for your help :) On Thursday, March 15, 2012 9:51:44 PM UTC+1, Gary Larizza wrote: Are you trying to start 'ssh' or 'sshd

Re: [Puppet Users] Simple hiera-puppet usage

2012-03-16 Thread Gary Larizza
to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer

Re: [Puppet Users] extlookup can't match key.

2012-03-19 Thread Gary Larizza
this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com

Re: [Puppet Users] Simple hiera-puppet usage

2012-03-20 Thread Gary Larizza
to), it should add the group's key to the array. Also, is there any kind of documentation on how to use the hiera_puppet datasource? Thanks! Pablo On Saturday 17 March 2012 09:21:12 Gary Larizza wrote: Hi Pablo, The Puppet backend accepts a 'datasource' parameter whose value

Re: [Puppet Users] ENC with Hiera

2012-03-20 Thread Gary Larizza
facts will ALWAYS be on the node during the first run. If they do not, then this is a bug and should be reported. Thanks! Pablo On Saturday 17 March 2012 10:19:19 Gary Larizza wrote: Hi Pablo, I have done a number of on-site consultations and implemented Hiera with very

Re: [Puppet Users] Re: Removing lines from a file

2012-03-22 Thread Gary Larizza
On Thursday, March 22, 2012 at 6:23 AM, John Kennedy wrote: On Thu, Mar 22, 2012 at 13:02, jcbollinger john.bollin...@stjude.org (mailto:john.bollin...@stjude.org) wrote: - NOTE: I am adding and removing the #includedir line for testing... What needs to be changed to get this

Re: [Puppet Users] hiera installation problem

2012-03-22 Thread Gary Larizza
On Thursday, March 22, 2012 at 1:13 PM, Guy Matz wrote: Hi! I think I've gone through the hiera install process correctly, but still getting: err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `empty?' for false:FalseClass at

Re: [Puppet Users] hiera installation problem

2012-03-23 Thread Gary Larizza
/modules/common/manifests/accounts.pp:27 That's the line where my hiera call is in my manifest . . . Thanks again!! On Thu, Mar 22, 2012 at 7:52 PM, Gary Larizza g...@puppetlabs.com wrote: On Thursday, March 22, 2012 at 1:13 PM, Guy Matz wrote: Hi! I think I've gone through the hiera

Re: [Puppet Users] hiera installation problem

2012-03-23 Thread Gary Larizza
at 9:57 AM, Gary Larizza g...@puppetlabs.com wrote: Can you single quote the value in your YAML file and then try again? Does that work? On Friday, March 23, 2012, Guy Matz gm...@matz.org wrote: Thanks, guys! Here's the relevant snippet from my manifest: @common::mkuser { 'root

Re: [Puppet Users] Plugins and Hiera

2012-03-24 Thread Gary Larizza
this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com

Re: [Puppet Users] Plugins and Hiera

2012-03-24 Thread Gary Larizza
. Hope this helps. On Sat, Mar 24, 2012 at 3:55 AM, Gary Larizza g...@puppetlabs.com wrote: On Fri, Mar 23, 2012 at 3:42 AM, Pablo Fernandez pablo.fernan...@cscs.chwrote: ** Dear all, This is a continuation of another thread, but I think the question diverged enough to create a new one

Re: [Puppet Users] Hiera: Bug with false booleans

2012-03-24 Thread Gary Larizza
to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] Plugins and Hiera

2012-03-27 Thread Gary Larizza
-users+unsubscribe@** googlegroups.com puppet-users%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/** group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en . -- Gary Larizza Professional Services Engineer Puppet Labs

Re: [Puppet Users] Does create_resources support virtual resources?

2012-03-30 Thread Gary Larizza
?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-01 Thread Gary Larizza
?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-01 Thread Gary Larizza
need to check for 3 different path on each server. if any of the below path exist then copy the file. Thanks, Jeeva On Sun, Apr 1, 2012 at 10:41 PM, Gary Larizza g...@puppetlabs.com wrote: Jeeva, I would make a custom fact ( http://docs.puppetlabs.com/guides/custom_facts.html) that checks

Re: [Puppet Users] Timestamp of last puppet run?

2012-04-10 Thread Gary Larizza
. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr

Re: [Puppet Users] Unable to access hash elements directly from templates

2012-04-11 Thread Gary Larizza
to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received

Re: [Puppet Users] Puppet Certificate's

2012-04-11 Thread Gary Larizza
email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You

Re: [Puppet Users] Re: Puppet Certificate's

2012-04-12 Thread Gary Larizza
it for now, I'm going to stay playing around with this and see where I can get but any help and guidance that anyone can provide will be very much appreciated. Regards Sean On Apr 11, 5:32 pm, Gary Larizza g...@puppetlabs.com wrote: Hey Sean, First - congrats on wrangling your Macs

Re: [Puppet Users] template arrays

2012-04-12 Thread Gary Larizza
@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because

Re: [Puppet Users] Testing a single module

2012-04-12 Thread Gary Larizza
Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza

Re: [Puppet Users] template arrays

2012-04-12 Thread Gary Larizza
) and all your data would be determined in Hiera. If you're interested in this method, there's also a blog post for using Hiera here -- http://puppetlabs.com/blog/first-look-installing-and-using-hiera/ On Thu, Apr 12, 2012 at 10:53 AM, Gary Larizza g...@puppetlabs.comwrote: Hey Marek

Re: [Puppet Users] Supported Ruby Versions for Telly

2012-04-14 Thread Gary Larizza
at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from

Re: [Puppet Users] Determining if hiera (or any function) is installed on a node

2012-04-17 Thread Gary Larizza
email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet

Re: [Puppet Users] Determining if hiera (or any function) is installed on a node

2012-04-17 Thread Gary Larizza
Institution of Oceanography gada...@ucsd.edu, (858) 822-5756 On Apr 17, 2012, at 12:14 PM, Gary Larizza wrote: Hey Geoff, I see that as two separate steps (Is Hiera enabled and is Hiera configured). I think the function satisfies the former, but you might want to write your own check

Re: [Puppet Users] Determining if hiera (or any function) is installed on a node

2012-04-17 Thread Gary Larizza
, this will get you the right syntax so you can just search/replace safe_hiera for hiera once it's fixed. -Eric -- Eric Shamow Professional Services http://puppetlabs.com/ (c)631.871.6441 On Tuesday, April 17, 2012 at 12:29 PM, Gary Larizza wrote: Hey Geoff, We actually had a talk about

Re: [Puppet Users] custom functions

2012-04-18 Thread Gary Larizza
'); . To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com javascript:_e({}, 'cvml', 'puppet-users%2bunsubscr...@googlegroups.com');. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer

Re: [Puppet Users] custom functions

2012-04-18 Thread Gary Larizza
/file_line.rb) or Augeas to modify lines in a file. Chris- On Thu, Apr 19, 2012 at 1:21 PM, Gary Larizza g...@puppetlabs.comjavascript:; wrote: At first glance (on phone), Check this line: file = File.open(file, 'r+') Don't you want filename as the argument? n Wednesday, April 18

Re: [Puppet Users] Can you check a setting set in puppet.conf from within a module

2012-04-24 Thread Gary Larizza
-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message

Re: [Puppet Users] extdata from MySQL

2012-04-26 Thread Gary Larizza
I believe Craig Dunn had an article on using a MySQL backend for Hiera -- http://www.craigdunn.org/2012/03/introducing-hiera-mysql-mysql-backend-for-hiera/ -- Gary Larizza Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, April 26, 2012 at 7:36 AM, Jonathan Gazeley wrote

Re: [Puppet Users] Re: Puppet Certificate's

2012-04-27 Thread Gary Larizza
to provision. Allister On Apr 11, 12:32 pm, Gary Larizza g...@puppetlabs.com wrote: Hey Sean, First - congrats on wrangling your Macs with Puppet! Next, I understand and have shared your pain regarding timely imaging of workstations and Puppet cert-wrangling. Generally, I've seen folks do

Re: [Puppet Users] Re: Puppet Certificate's

2012-04-27 Thread Gary Larizza
Gah, should not end with a question mark -- I've personally never used the allow_duplicate_cert feature, but if it's not working properly then reporting that in the bug report is totally the best way to go? On Fri, Apr 27, 2012 at 6:35 PM, Gary Larizza g...@puppetlabs.com wrote: On Fri, Apr

Re: [Puppet Users] distributing updates to multiple puppet masters (Subversion)

2012-05-02 Thread Gary Larizza
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email

Re: [Puppet Users] hiera environmentss question

2012-05-02 Thread Gary Larizza
=en . -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users

Re: [Puppet Users] hiera environmentss question

2012-05-02 Thread Gary Larizza
On Wed, May 2, 2012 at 2:51 PM, Ramin K ramin-l...@badapple.net wrote: On 5/2/2012 2:16 PM, Gary Larizza wrote: I'm using the following which I copied from somewhere. Quotes might be part of the missing magic. Also I'm not sure you'd want a - in there either. :yaml

Re: [Puppet Users] Re: forcing user resource provider to be local files only?

2012-05-09 Thread Gary Larizza
to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received

Re: [Puppet Users] Partial catalog runs

2012-05-09 Thread Gary Larizza
(i.e. anything inside class 'ntp' gets a tag of 'ntp') but can also be set with the tag() function or the tag metaparameter. -- Gary Larizza Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, May 9, 2012 at 4:45 PM, Bostjan Skufca wrote: Hello fellow puppeteers :) I

Re: [Puppet Users] Partial catalog runs

2012-05-09 Thread Gary Larizza
Just realized I grabbed an OLD version of the docs. Here's the latest -- https://puppetlabs.com/references/latest/metaparameter.html#tag -- Gary Larizza Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, May 9, 2012 at 4:45 PM, Bostjan Skufca wrote: Hello fellow

Re: [Puppet Users] puppet module... remove?

2012-05-10 Thread Gary Larizza
Philip, The puppet-module gem behavior has been merged into the core Puppet as of 2.7.14 and includes the functionality you describe. `puppet help module` should get you the help you need, and `puppet help module uninstall` should describe the action :) -- Gary Larizza Sent with Sparrow

Re: [Puppet Users] Re: forcing user resource provider to be local files only?

2012-05-10 Thread Gary Larizza
You'll want to add ensure = present to the file_line resource and then run it again. That should help you out! On Thu, May 10, 2012 at 3:52 PM, Philip Brown p...@bolthole.com wrote: On Wednesday, May 9, 2012 11:55:01 AM UTC-7, Gary Larizza wrote: Philip, You can use Augeas to do

Re: [Puppet Users] Re: forcing user resource provider to be local files only?

2012-05-10 Thread Gary Larizza
On Thu, May 10, 2012 at 4:30 PM, Philip Brown p...@bolthole.com wrote: On Thursday, May 10, 2012 3:59:36 PM UTC-7, Gary Larizza wrote: You'll want to add ensure = present to the file_line resource and then run it again. That should help you out! yup, I noticed :) isnt

Re: [Puppet Users] is there a Puppet facter plugin repository please ?

2012-05-11 Thread Gary Larizza
+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post

Re: [Puppet Users] how best to combine business data (Hiera) and machine data (Facts)

2012-05-11 Thread Gary Larizza
this group at http://groups.google.com/** group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en . -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group

Re: [Puppet Users] how best to combine business data (Hiera) and machine data (Facts)

2012-05-11 Thread Gary Larizza
from Hiera seems dirty too. There may be no elegant solution and as you say, 80-90% may have to do. -Luke On 11/05/12 16:53, Gary Larizza wrote: I see this with people looking to move to the hierarchical system that Hiera brings. It essentially boils down to How do I do this without

Re: [Puppet Users] Re: Puppet master errors with stored configurations : sqlite3 instead of mysql

2012-05-16 Thread Gary Larizza
/puppet-users/-/n11lOv0NTJEJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary

Re: [Puppet Users] Re: Puppet master errors with stored configurations : sqlite3 instead of mysql

2012-05-16 Thread Gary Larizza
/clientconfigs.sqlite3 On Wednesday, May 16, 2012 4:29:32 PM UTC+1, Gary Larizza wrote: Try the following: puppet config print dbadapter --mode master That will print out the configuration item of dbadapter as the MASTER knows it. You can use --mode master or agent to check those

Re: [Puppet Users] template compilation performance

2012-05-16 Thread Gary Larizza
at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe

Re: [Puppet Users] Re: Puppet Node Create?

2012-05-16 Thread Gary Larizza
+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-17 Thread Gary Larizza
@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-18 Thread Gary Larizza
On Friday, May 18, 2012, jcbollinger wrote: On May 17, 11:16 pm, Gary Larizza g...@puppetlabs.com javascript:; wrote: That's exactly what I was suggesting. If you declared the users as create_resources expected it, and included the same user in multiple levels of the hierarchy

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-18 Thread Gary Larizza
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send

Re: [Puppet Users] erb logic with a hiera value

2012-05-19 Thread Gary Larizza
Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza

Re: [Puppet Users] I did something stooopid in a custom fact and I do not know what

2012-05-29 Thread Gary Larizza
email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] I did something stooopid in a custom fact and I do not know what

2012-05-29 Thread Gary Larizza
.” Bill Waterson (Calvin Hobbes) - Gary Larizza g...@puppetlabs.com wrote: On Tue, May 29, 2012 at 8:55 AM, Dan White y...@comcast.net wrote: I'm a custom fact n00b :( ---broadcast.rb: #Return the broadcast address of eth0 require 'facter' Facter.add(broadcast) do

Re: [Puppet Users] override parameter within base class?

2012-05-30 Thread Gary Larizza
class syntax, you can simply do 'include base' or even 'include apache' and the parameters to the apache class would always be looked-up to determine the appropriate value per-host. Does that make sense (or help)? -- Gary Larizza Professional Services Engineer Puppet Labs -- You received

Re: [Puppet Users] exec command: command works on cli, but not via puppet

2012-05-30 Thread Gary Larizza
to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs

Re: [Puppet Users] mysql or postgresql

2012-06-04 Thread Gary Larizza
this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com

Re: [Puppet Users] mysql or postgresql

2012-06-04 Thread Gary Larizza
On Mon, Jun 4, 2012 at 8:48 PM, Brian Gupta brian.gu...@brandorr.com wrote: On Mon, Jun 4, 2012 at 11:19 PM, Gary Larizza g...@puppetlabs.com wrote: On Mon, Jun 4, 2012 at 7:54 PM, Denmat tu2bg...@gmail.com wrote: Hi, You should checkout puppetdb which currently locks you into PostgreSQL

Re: [Puppet Users] Puppet and Passenger.. configprint

2012-06-05 Thread Gary Larizza
On Tuesday, June 5, 2012 at 7:53 PM, JA wrote: Hello everyone... I have configured the puppetmaster to use Apache/Passenger. However, executing a configprint (puppet --configprint all) from either the puppetmaster or an agent shows What does puppet master --configprint servertype

Re: [Puppet Users] Re: Could not prepare for execution: The certificate retrieved from the master does not match the agent's private key.

2012-06-14 Thread Gary Larizza
suggested and see if there's something you did that differs. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com

Re: [Puppet Users] Re: Could not prepare for execution: The certificate retrieved from the master does not match the agent's private key.

2012-06-14 Thread Gary Larizza
, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users

Re: [Puppet Users] puppet enterprise

2012-07-30 Thread Gary Larizza
to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Gary Larizza Professional Services Engineer Puppet Labs Join us for PuppetConf

  1   2   >