[Puppet Users] Puppetcamp Southeast Asia 2012: Kuala Lumpur, June 5th

2012-05-11 Thread Walter Heck
Hi all, DISCLAIMER: not entirely sure if it's appropriate to announce this here, but I thought I'd give it a try. If it's not appropriate, repremand me and I'll make sure to never do it again :) We're very excited to let you know that there's going to be a puppetcamp for Southeast Asia on June

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

2012-05-11 Thread Christophe L
Hello, We are currently evaluating Puppet and Chef on several criteria and we have found a big difference between the amount of information retrieved by Facter in Puppet and the amount of information retrieved by Ohai in Chef for a same virtual machine. There is about 2000 lines in the JSON file

[Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-11 Thread Marc Zampetti
Does this require that a human being has to be in the loop every time a node joins the site? How would one automate 100% the provisioning of new hosts? With the current system, I can turn on auto-sign and have some simple rules for which nodes I will accept, and trust in the knowledge that I

[Puppet Users] Re: Problem matching nodes with regular expressions and inheritance

2012-05-11 Thread David Campos
Thanks, it was the solution that I tried after posting this. I had seen in a puppet bug something about regex matchers at either side of the inherits expression and thought that it could be possible. I had not thought about doing the double definition, the textual one and the regex. Thanks for

Re: [Puppet Users] Re: Custom facts question on windows 2008 R2

2012-05-11 Thread Marco Parra D.
Hi Jeff, On 11-05-2012 0:08, Jeff McCune wrote: On Thu, May 10, 2012 at 1:08 PM, mparrad marco.parr...@gmail.com mailto:marco.parr...@gmail.com wrote: Hi guys, I realized that If I make the file udp_status.rb and I put on D:\Program Files (x86)\Puppet Labs\Puppet\facter\lib\facter,

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

2012-05-11 Thread David Campos
From the documentation I have found that, theoretically, I can install a module from a tar ball or zip. I need that feature because I have to configure a master that, at the present time, is stored in an offline machine (it should serve modules, libraries and facts related with our local

[Puppet Users] Re: Can you override a define parameter

2012-05-11 Thread Jake - USPS
John, Sorry for not updating this post with the additional details. And I agree with you on everything you just said (probably not regression, should work, shouldn't be doing what I'm doing ...) and I plan on figuring that out today ... as I need a workaround for this issue now. ;) And also

Re: [Puppet Users] Foreman and default configs for all nodes

2012-05-11 Thread Jake - USPS
Does that mean there is currently not a way to do this straight in foreman? This is something I would like also (as of yesterday :P). I don't really want to script my own solution based off foreman data ... cause maybe my 'defaults' will change and I would love to have that tracked in foreman

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

2012-05-11 Thread Gary Larizza
Christophe, Let me ask a question: what extra information is Ohai providing (that Facter does not currently) that you would be using in your manifests/cookbooks? Usually people utilize similar bits of Facter-provided information (operatingsystem, release version, ipaddress, interfaces, domain,

Re: [Puppet Users] Foreman and default configs for all nodes

2012-05-11 Thread Jake - USPS
Continuing discussion at thread in foreman users @ https://groups.google.com/forum/?fromgroups#!topic/foreman-users/uhW_EwO4LLg -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit

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

2012-05-11 Thread David Campos
I reply myself... --force is my friend :) On Friday, May 11, 2012 3:15:39 PM UTC+2, David Campos wrote: From the documentation I have found that, theoretically, I can install a module from a tar ball or zip. I need that feature because I have to configure a master that, at the present time,

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

2012-05-11 Thread Luke Bigum
Hi all, I've been improving our sysctl module and come across an interesting design problem I'd like feedback on. I approached the re-factor with Hiera in mind - I would put all our sysctl data in Hiera hash and pull that into a hiera_hash, merging the hierarchy of data and allowing higher

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

2012-05-11 Thread Gary Larizza
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 having a ton of hierarchy levels?. Usually we tend to recommend using the hierarchy to hit the 80% mark for the data you need in your modules. Anything

[Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-11 Thread Daniel Sauble
On Thursday, May 10, 2012 3:05:38 PM UTC-7, jcbollinger wrote: On May 10, 2:04 pm, Daniel Sauble djsau...@puppetlabs.com wrote: On Thursday, May 10, 2012 11:37:34 AM UTC-7, ohad wrote: On Thu, May 10, 2012 at 9:34 PM, Daniel Sauble djsau...@puppetlabs.comwrote: On

[Puppet Users] Re: deploying class *only* via puppet kick

2012-05-11 Thread Miles Stevenson
I thought the answer to this would be tagging. User a conditional and a tag such that a class is only included if a tag has been set. The problem is that the tags that you specify with puppet-kick do not get evaluated when the node manifests are running. There is a low priority feature request

Re: [Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-11 Thread Kelsey Hightower
On Fri, May 11, 2012 at 12:21 PM, Daniel Sauble djsau...@puppetlabs.comwrote: On Thursday, May 10, 2012 3:05:38 PM UTC-7, jcbollinger wrote: On May 10, 2:04 pm, Daniel Sauble djsau...@puppetlabs.com wrote: On Thursday, May 10, 2012 11:37:34 AM UTC-7, ohad wrote: On Thu, May 10, 2012

[Puppet Users] Class not found for simple class!

2012-05-11 Thread Amit Shah
puppet 2.6.4 puppet --configprint modulepath /home/user/.puppet/modules:/usr/share/puppet/modules I have the following file defined: /home/user/.puppet/modules/apacheWS/ manifests #init.pp class apacheWS { case $operatingsystem{ ubuntu:{ $apache=apache2} } package

[Puppet Users] install Rubygem-package on a machine without Rubygems preinstalled, Provider gem is not functional on this host

2012-05-11 Thread Ingo Fischer
On a clean Debian system - without Rubygems installed - I want to install a Rubygem package (ruby-ldap) with Puppet. So the package has gem as package Provider. This is my manifest so far (I kept it simple): # test.pp Package { ensure = 'installed' } package { 'rubygems'

[Puppet Users] Re: Class not found for simple class!

2012-05-11 Thread Ryan Coleman
Unfortunately, you'll need to rename your apacheWS folder to apachews. On Thursday, May 10, 2012 4:09:58 PM UTC-7, Amit Shah wrote: puppet 2.6.4 puppet --configprint modulepath /home/user/.puppet/modules:/usr/share/puppet/modules I have the following file defined:

[Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-11 Thread Daniel Sauble
On Friday, May 11, 2012 5:56:10 AM UTC-7, Marc Zampetti wrote: Does this require that a human being has to be in the loop every time a node joins the site? How would one automate 100% the provisioning of new hosts? With the current system, I can turn on auto-sign and have some simple rules

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

2012-05-11 Thread Pieter van de Bruggen
The connection to the Forge is being established to try to resolve dependencies; the `--ignore-dependencies` flag (which is implied by `--force`) is what you're looking for. :) On Fri, May 11, 2012 at 8:35 AM, David Campos noymn.the.archan...@gmail.com wrote: I reply myself... --force is my

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

2012-05-11 Thread Randall Hansen
On Fri, May 11, 2012 at 9:43 AM, Pieter van de Bruggen pie...@puppetlabs.com wrote: The connection to the Forge is being established to try to resolve dependencies; the `--ignore-dependencies` flag (which is implied by `--force`) is what you're looking for.  :) Do we need a more explicit

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

2012-05-11 Thread Luke Bigum
Hi Gary, Not quite... Let me go into more detail. I'm trying to handle sysctl perfectly which is probably my real problem. Hiera's ability to merge hashes together makes it perfect for arriving at one set of sysctl options for a server based on business logic (my hierarchy). For Hiera data

Re: [Puppet Users] Re: ANNOUNCE: Puppet Module Tool version 0.3.4

2012-05-11 Thread Nigel Kersten
On Thu, May 10, 2012 at 8:27 PM, Matt mjbl...@gmail.com wrote: Reading the documentation so far, it looks like it has the option to query a different repository other than forge. The question I have is if we have modules that we need to host internally how can we serve them up to be

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

2012-05-11 Thread Aaron Grewell
I suppose you could create a separate class for the entries that will be fact-driven versus Hiera-driven. You wouldn't be able to use a single template, but either augeas or concat should work. I wouldn't call it elegant, but the code might be less ugly. On Fri, May 11, 2012 at 9:47 AM, Luke

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

2012-05-11 Thread Pieter van de Bruggen
While we might want to check the Forge for dependencies, not having a network connection shouldn't be an error when installing from a tarball. That is a bug. http://projects.puppetlabs.com/issues/13542 On Fri, May 11, 2012 at 9:44 AM, Randall Hansen rand...@puppetlabs.comwrote: On Fri, May

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

2012-05-11 Thread Gary Larizza
I see (and I saw your post on create_resources - I tested it out and also noticed that inheritance didn't work as expected for me either). My initial thought would be to try and break down the individual sysctl entries as individual resources that could be declared with a defined type (as Aaron

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

2012-05-11 Thread Jeff
I have a similar issue with Hiera when decisions depend on more than facts alone... thus exluded from the hierarchy. In example, the hostname can tell a node is a database server (fact: role) but only a custom group will tell it should run Oracle 10g or 11g (product) and the proper sysctl

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

2012-05-11 Thread Christophe L
Hello Gary, Thank you for your answer. First, I should have written about raw meaningful data rather than raw useful data because you are right that a lot of the extra information are not actually useful :) For information, the aim is not to use the information in modules, but to fill a CMDB

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

2012-05-11 Thread Ryan Coleman
Hi Christophe, The facter tag is something a user would have to use when they release their module. There are many more custom facts on the Forge that simply aren't tagged. Your thread inspired me to create a feature request for searching specifically for facts:

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

2012-05-11 Thread Philip Brown
On Friday, May 11, 2012 11:42:52 AM UTC-7, Ryan Coleman wrote: Hi Christophe, The facter tag is something a user would have to use when they release their module. There are many more custom facts on the Forge that simply aren't tagged. Given that the current module definitions

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

2012-05-11 Thread Ryan Coleman
On Fri, May 11, 2012 at 12:58 PM, Philip Brown p...@bolthole.com wrote: Given that the current module definitions require known locations for factor extensions, I find this a bit odd. How about making the uploader autotag 'facter' any module that has files under lib/facter ? That's precisely

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

2012-05-11 Thread Trevor Vaughan
Christophe, I would suggest not using Puppet or Chef to pass data around constantly that isn't going to be used by your actual code. Instead, you might want to set up a proper SNMP infrastructure such that you can get all of the information that you want and poll your network devices, etc... with

[Puppet Users] puppet vs chef and other

2012-05-11 Thread wen1023 wu
Hi I want to know the comprehensive comparison between the puppet and chef , also include puppet and cfengine. What are the different, each of which has advantages and disadvantages, I had read this article . http://bitfieldconsulting.com/puppet-vs-chef I need more information, Thank you