Re: [Puppet Users] Database* resources

2013-06-24 Thread Jakov Sosic
On 06/03/2013 04:52 PM, Igor Galić wrote: My take on this (see attachment or this paste: http://apaste.info/jH0C ) is to first add the ability to use "host/netmask" or "network/netmask" as mysql $host that the mysql user is connecting. Great work so far, it would be great if the patches get ac

[Puppet Users] Triage-a-Thon 2013!

2013-06-24 Thread Dawn Foster
We'd love to have you join us either in person or online for our Triage-a-Thon on July 13th! Our goal is to review all open tickets in the Puppet and Module projects. We’ll assign blocks of tickets to every participant, explain how to participate, and have the IRC channel #puppethack on Freenode f

Re: [Puppet Users] PuppetLabs Module Toolkit

2013-06-24 Thread Alessandro Franceschi
You might find this useful: https://github.com/example42/Example42-templates On Monday, June 24, 2013 7:30:38 PM UTC+2, Eric Aiken wrote: > > Thanks for the insight. Reading the puppet lab doc didn't really answer > the question of what tools, rather it explained the end goal. However it > did

Re: [Puppet Users] PuppetLabs Module Toolkit

2013-06-24 Thread Eric Aiken
Thanks for the insight. Reading the puppet lab doc didn't really answer the question of what tools, rather it explained the end goal. However it did help me locate a doc that details a little better what tools are using the standards. Thought I'd share for others: http://spredzy.wordpress.c

Re: [Puppet Users] puppet agent errors for non included module.

2013-06-24 Thread Wolf Noble
It is incorrect to make that relationship declaration (via the chain > operator) if there are any nodes that do not declare the specified anchor, > because top-level declarations in *any* manifest file apply to all > nodes. It is poor practice to make declarations at top level like that > other

[Puppet Users] Disable certain facter facts?

2013-06-24 Thread Roger
We found out, the hard way, that version 1.7 of Facter adds facts for mounted linux file systems. This is nice for normal servers. For a server hosting Oracle not so good. We went from about 100 facts per server to well over 3,000 (our Oracle boxes have quite a few volumes mounted). Of cours

Re: [Puppet Users] Puppet Windows package not seeing DisplayName in Registry?

2013-06-24 Thread Josh Cooper
On Mon, Jun 17, 2013 at 11:53 AM, Adnan Chowdhury < adnanchowdhur...@gmail.com> wrote: > I don't foresee any bad side-effects. > > > On Sat, Jun 15, 2013 at 1:48 AM, Josh Cooper wrote: > >> >> >> On Thursday, June 13, 2013, Reginald Choudari wrote: >> >>> >>> >>> On Wednesday, June 12, 2013 5:23:

Re: [Puppet Users] Calling a custom class module via a manifest - puppet 0.24.8

2013-06-24 Thread Manoj Bhola
Thanks R.I Pienaar, I did think that may be the problem that the older version doesn't understand the class type, but wanted to make sure that was the issue and not something I was doing wrong. Using a parameterized version of the class, and then the same manifest works perfectly on version 2.6

Re: [Puppet Users] Re: trying to get a 32-bit JVM on a 64-bit platform with Package provider

2013-06-24 Thread Dick Davies
I know, I'm starting to migrate to parameterised classes or similar, need to unlearn some bad habits. Thanks! On 24 June 2013 15:33, Nikola Petrov wrote: > Package['jdk'] { > name => 'jdk.i1586' > } > > will be a better option. Note that I wouldn't use inheritance here but a > sim

Re: [Puppet Users] Re: trying to get a 32-bit JVM on a 64-bit platform with Package provider

2013-06-24 Thread Nikola Petrov
Package['jdk'] { name => 'jdk.i1586' } will be a better option. Note that I wouldn't use inheritance here but a simple parameter for the package name and move that somewhere else like hiera(although I see that you are using puppet2.7) Inheritance is almost always not the right an

Re: [Puppet Users] The handy Grail of Modules Standards

2013-06-24 Thread Alessandro Franceschi
On Monday, June 24, 2013 3:57:55 PM UTC+2, jcbollinger wrote: > > > > On Friday, June 21, 2013 6:21:22 PM UTC-5, Alessandro Franceschi wrote: >> >> >> >> On Friday, June 21, 2013 5:05:20 PM UTC+2, jcbollinger wrote: >>> >>> Anything you can configure with class parameters, you can configure >>>

Re: [Puppet Users] The handy Grail of Modules Standards

2013-06-24 Thread jcbollinger
On Friday, June 21, 2013 6:21:22 PM UTC-5, Alessandro Franceschi wrote: > > > > On Friday, June 21, 2013 5:05:20 PM UTC+2, jcbollinger wrote: >> >> Anything you can configure with class parameters, you can configure >> without them via external data. Generally speaking, I would turn to hiera >>

Re: [Puppet Users] Workflows and preventing accidental code promotion.

2013-06-24 Thread Jason Slagle
On 06/24/2013 04:59 AM, Gav wrote: We have quite a large team spread across the globe making multiple changes to Puppet manifests each day. This in itself can be a little tricky to keep track of, but we also have multiple environments - ENG, DEV, etc where we promote our changes to before they re

Re: [Puppet Users] SOLVED! Trouble with Passenger

2013-06-24 Thread Dan White
It was an issue with deprecated Passenger parameters . I will whip up the details for adding to the community documentation. “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)

[Puppet Users] Raziel - a partial encrypted Hiera backend

2013-06-24 Thread Jens Braeuer
Hi everyone, In my environment, we heavily rely on Hiera to parametrize our modules. Like the Puppet code, I would like to version-control the Hiera .yaml files. However committing passwords in plain text to GitHub seems really odd. So I would like to make you aware of one of my side-projects cal

[Puppet Users] Workflows and preventing accidental code promotion.

2013-06-24 Thread Gav
We have quite a large team spread across the globe making multiple changes to Puppet manifests each day. This in itself can be a little tricky to keep track of, but we also have multiple environments - ENG, DEV, etc where we promote our changes to before they reach PROD. Attached to each of thos

[Puppet Users] augeas umask and /etc/sysconfig/init

2013-06-24 Thread David Sandilands
Hello, I'm trying to add a line for umask setting to /etc/sysconfig/init with something like augeas { 'augsysconfiginitumask': context => '/files/etc/sysconfig/init', changes => 'set umask 027'; } but this just produces umask=027 in the file we could use a t

[Puppet Users] augeas umask and /etc/sysconfig/init

2013-06-24 Thread David Sandilands
We are working on a replacing our current build set by ksh scripts with puppet manifests and I'm having some difficulty setting umask in /etc/sysconfig/init for RHEL 6 Ideally I would like to just do augeas { 'augsysconfiginitumask': context => '/files/etc/sysconfig/init',

Re: [Puppet Users] using a custom class module with puppet 0.24.8

2013-06-24 Thread Johan De Wit
Hi, First, upgrade your puppet. This version is very old. Second, dont use hyphens in classes. Use underscores instead. (make it a habit) Third, the class title should be quoted. class { 'custom_class': . Hope this helps Grts Johan On 06/24/2013 01:28 PM, Manoj Bhola wrote: Hi,

[Puppet Users] Re: Can't find $HOME when executing a command on Ubuntu

2013-06-24 Thread jcbollinger
On Saturday, June 22, 2013 12:26:45 AM UTC-5, F. Y. wrote: > > Hello Puppet Users, > > I am running into a weird issue when trying to execute an installer on > Ubuntu 10.04/12.04 machines. I am using Puppet 3.2.1, and 3.2.2 > respectively from Puppet Labs repo. > > This is the sample code: > >

[Puppet Users] Trouble with Passenger

2013-06-24 Thread Dan White
I am trying to set up a new Puppet Master. (Red Hat Enterprise 5, 64 bit) Puppet set up just fine and runs without problem under Webrick However, when I try to switch to Apache/Passenger, everything bombs I get this in the apache logs: [Sat Jun 22 00:17:41 2013] [notice] Apache/2.2.24 (Unix)

[Puppet Users] Re: Deprecation notice on custom type?

2013-06-24 Thread jcbollinger
On Monday, June 24, 2013 7:22:40 AM UTC-5, Jakov Sosic wrote: > > Deprecation notice: Resource references should now be capitalized on > line 101 in file /etc/puppet/manifests/templates/basenode.pp > > > This is the specific line of code: > >realize (users::useraccount[hiera('users')]) >

Re: [Puppet Users] Calling a custom class module via a manifest - puppet 0.24.8

2013-06-24 Thread R.I.Pienaar
- Original Message - > From: "Manoj Bhola" > To: puppet-users@googlegroups.com > Sent: Sunday, June 23, 2013 1:34:31 AM > Subject: [Puppet Users] Calling a custom class module via a manifest - puppet > 0.24.8 > > Hi, > > I hope someone can help. You are using 0.24.8, todays documenta

Re: [Puppet Users] IRC channel dead ?

2013-06-24 Thread Ken Barber
You mean the Freenode IRC channel #puppet? It looks like it - whats the problem you are having? ken. On Mon, Jun 24, 2013 at 1:30 PM, Dan White wrote: > Is the puppet IRC channel up and working or is it just me ? > > “Sometimes I think the surest sign that intelligent life exists elsewhere in >

Re: [Puppet Users] IRC channel dead ?

2013-06-24 Thread R.I.Pienaar
- Original Message - > From: "Dan White" > To: "Puppet Users Mailing List" > Sent: Monday, June 24, 2013 1:30:06 PM > Subject: [Puppet Users] IRC channel dead ? > > Is the puppet IRC channel up and working or is it just me ? 946 people on it, irc.freenode.org #puppet -- You received

[Puppet Users] IRC channel dead ?

2013-06-24 Thread Dan White
Is the puppet IRC channel up and working or is it just me ? “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) -- You received this message because you are subscribed to the G

Re: [Puppet Users] Calling a custom class module via a manifest - puppet 0.24.8

2013-06-24 Thread Jakov Sosic
On 06/23/2013 02:34 AM, Manoj Bhola wrote: class novell-httpstkd { class {novell-httpstkd: addr => "$ipaddress", saddr => "$ipaddress", filteraddr => "192.168.69.20", filtersubnet => "192.168.1.0 255.255.255.0", cipher => "low", mailserver => "mail.localdomain", mailfrom

[Puppet Users] Deprecation notice on custom type?

2013-06-24 Thread Jakov Sosic
Deprecation notice: Resource references should now be capitalized on line 101 in file /etc/puppet/manifests/templates/basenode.pp This is the specific line of code: realize (users::useraccount[hiera('users')]) When I capitalize Users, I get the following error: Error 400 on SERVER: Could

[Puppet Users] Re: facter 1.7.1 crashed on sshfp_* facts

2013-06-24 Thread Alexander Grushin
additional info: #0:/usr/lib/ruby/site_ruby/1.8/facter/util/collection.rb:89:Hash:>: if @facts.empty? #0:/usr/lib/ruby/site_ruby/1.8/facter/util/collection.rb:89:Hash:<: if @facts.empty? #0:/usr/lib/ruby/site_ruby/1.8/facter/util/collection.rb:89:Facter::Util::Collection:-: if @fac

Re: [Puppet Users] Calling a custom class module via a manifest - puppet 0.24.8

2013-06-24 Thread Manoj Bhola
Hi Keith, I've just tried what you suggested and that doesn't work either, I get the same error. Thanks Manoj On Monday, June 24, 2013 5:03:59 AM UTC+1, Keith Burdis wrote: > > Perhaps try removing the final trailing comma after enable => "false". > Some Puppet versions have a problem with t

[Puppet Users] Re: Calling a custom class module via a manifest - puppet 0.24.8

2013-06-24 Thread Manoj Bhola
Hi Michael, Tried that already, did not work either. Thanks On Monday, June 24, 2013 3:04:11 AM UTC+1, Michael Dodwell wrote: > > Try putting single ticks around the class name when you call it: > > class {'novell-httpstkd': > > addr => "$ipaddress", > saddr => "$ipaddress", > filteraddr =

[Puppet Users] using a custom class module with puppet 0.24.8

2013-06-24 Thread Manoj Bhola
Hi, I've created a custom class module and I can deploy it using the puppet -e "include custom.pp" command and all works great. But if I call the class via a manifest file, puppet throws an error. manifest: class { custom-class: addr => '192.168.69.204', enable => false, ensure => stopp