[Puppet Users] Puppet Forge Repository format

2012-11-06 Thread muppet
Hi, I am setting up a local forge for some weird political reasons. I came to know that puppetlabs is working on such a feature. But, in the meantime I wanted to try out setting up the repo and use --modules_repository flag in puppet module install: command. For that, I need to mimic the

[Puppet Users] tcl dependency in RHEL6 installing facter, puppet

2012-11-06 Thread msuho
Hi- I am running RedHat Enterprise version 6. Linux luke 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux I'm trying to install puppet. I added the puppetlabs repos using this RPM:

[Puppet Users] Re: Fact precedence in modules

2012-11-06 Thread Abhijeet R
Sorry guys. Forgot about adding some info. The test.rb file (which got served by newmod module) in /var/lib/puppet/lib/facter is run and test.rb file in /var/lib/puppet/lib/facter/test is never run. Why? Also, I didn't understand the meaning of number of confines for that fact. If I don't add

[Puppet Users] How to setup puppet 0.25.5-1 client in UBUNTU12.04 64 bit

2012-11-06 Thread WhiteB
How to setup puppet 0.25.5-1 in ubuntu12.04, the normal updates taking me to higher version of puppet client. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit

[Puppet Users] Re: Puppet Meetup Australia (Melbourne, Sydney, Brisbane)

2012-11-06 Thread aussielunix
On Monday, 5 November 2012 09:58:42 UTC+11, Stephen Johnson wrote: Hi I currently in Australia, as im the instructor on the Puppet Fundamentals * courses in Melbourne, Sydney and Brisbane and just wondered if anyone fancied meeting up and talking about puppet, hiera, puppetdb,

[Puppet Users] Puppet in SW MO

2012-11-06 Thread llowder
i am currently located in southwest MIssouri. Springfield, MO to be precise. I'd like to get some sort of Puppet user group / meetup going in the area, but so far have not been able to locate anyone. I had looked on some of the Springfield based DevOps and related LInkedIn groups, but got no

[Puppet Users] Puppet JBoss

2012-11-06 Thread Budicom
Hi, I have a big problem with Puppet and JBoss. In jboss/server/ directory, there are several instances. And instances started, +10 files are presents. Puppetrun takes several hours to complete his cycle. tmp/ directory is ignore in file resource (ignore = [ 'tmp', 'work', 'data',

[Puppet Users] Re: tcl dependency in RHEL6 installing facter, puppet

2012-11-06 Thread jcbollinger
On Monday, November 5, 2012 2:10:58 PM UTC-6, msuho wrote: Hi- I am running RedHat Enterprise version 6. Linux luke 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux I'm trying to install puppet. I added the puppetlabs repos using this RPM:

[Puppet Users] Re: Run Exec without notifying Puppet as a change

2012-11-06 Thread jcbollinger
On Monday, November 5, 2012 3:03:57 PM UTC-6, Thomas Biddle wrote: I just switched from an in-house APT module to the Puppetlabs one thinking that it may solve this, but after looking at the code (And installing to confirm) it did not. Seeing Puppet be notified of a change just when

Re: [Puppet Users] How to setup puppet 0.25.5-1 client in UBUNTU12.04 64 bit

2012-11-06 Thread Andreas Ntaflos
On 06/11/12 12:24, WhiteB wrote: How to setup puppet 0.25.5-1 in ubuntu12.04, the normal updates taking me to higher version of puppet client. Puppet 0.25 has not been supported for a long time now and its use is not recommended. You will not find official packages for this very old

Re: [Puppet Users] How do you manage SSL/TLS certificates and private keys?

2012-11-06 Thread Vaidas Jablonskis
That would work if I didn't want to have everything under version control. I guess the only option for storing certs/keys I have is hiera-gpg with yaml or some other backend. I am still trying to figure out what should distribute certs/keys - is it a separate module or the app module itself?

[Puppet Users] Re: Puppet NetApp Network device management...

2012-11-06 Thread Gavin Williams
Ok, quick update... I've not managed to get past the 'Undefined method' error despite my best efforts today... Any ideas on where I could be going wrong? Cheers Gavin On Monday, 5 November 2012 17:46:07 UTC, Gavin Williams wrote: Looks like the below error was caused by some locally

[Puppet Users] puppet failing to run

2012-11-06 Thread Asif Iqbal
I am getting this error after installing puppet with gem $ gem install puppet Fetching: facter-1.6.14.gem (100%) Fetching: puppet-3.0.1.gem (100%) Successfully installed facter-1.6.14 Successfully installed puppet-3.0.1 2 gems installed Installing ri documentation for facter-1.6.14... Installing

[Puppet Users] Hiera autolookup for defined types

2012-11-06 Thread Bruno Léon
Hello, since Puppet 3 hiera is doing auto variable lookup for classes, which in my view makes the code much clearer simply because we can use include foo instead of class { 'foo': param1 = value, param2 = value, } However, AFAIK there

[Puppet Users] Re: puppet failing to run

2012-11-06 Thread Asif Iqbal
On Tue, Nov 6, 2012 at 11:31 AM, Asif Iqbal vad...@gmail.com wrote: I am getting this error after installing puppet with gem $ gem install puppet Fetching: facter-1.6.14.gem (100%) Fetching: puppet-3.0.1.gem (100%) Successfully installed facter-1.6.14 Successfully installed puppet-3.0.1 2

[Puppet Users] Newbie: puppetlabs-apache, modules and proxying

2012-11-06 Thread Hugo Rogg
Hi, I'm quite new to puppet but feel like making some progress. :) Today I started using the puppetlabs-apache module. Two questions arose from that. I tried understanding by looking at the module's code, but too much of that still looks like advanced wizardry to me. I hope this list is the

[Puppet Users] Re: Puppet NetApp Network device management...

2012-11-06 Thread Gavin Williams
Scratch my last, had a bit of a eureka moment... Added ':transport: to the attr_accessor against device.rb, and it started working again... However now failing elsewhere... Have got the following against a relevant node: # Test NetApp volume provider netapp_volume {

Re: [Puppet Users] Puppet JBoss

2012-11-06 Thread Alan Evans
Budicom, One thing I might suggest is not to put the entire JBoss directory in puppet and realize it as a file resource. As gross as it is for a former employer I used the zip deployment and extracted the zip file. Disclaimer: No syntax checking, no validation YMMV, for example only. :) file {

Re: [Puppet Users] Could not parse for environment production: Syntax error at '{'; expected '}' at

2012-11-06 Thread Josh Cooper
Hi Havary, Sounds like this might be the same issue as: https://groups.google.com/d/topic/puppet-users/3d_cGLwdzWo/discussion Did you install the puppetmaster, and then downgrade to an earlier version? If so, I'd recommend clearing everything in vendor_ruby/puppet, and then re-installing. Josh

Re: [Puppet Users] Re: puppet failing to run

2012-11-06 Thread Jeff McCune
Did you have a version of Puppet on this system previously? This definitely seems like a bug, but it seems like one that only manifests if there's some other copy of Puppet that is also being loaded along with the version you expect. -Jeff On Tue, Nov 6, 2012 at 9:20 AM, Asif Iqbal

[Puppet Users] Re: 2 package resources for the same package installation in two differents modules caused errors

2012-11-06 Thread Vaidas Jablonskis
What I normally do is I create a virtual @package resource which installs php5 for example within say apache class and then I realize the virtual resource within the same apache class. Please, if you intend to write generic and reusable modules so other people can use, STOP putting hardcoded

[Puppet Users] Managing home directory on Windows

2012-11-06 Thread Josh Cooper
I have a question for windows users out there. Adam recently reported a bug[1] that the managehome parameter on Windows doesn't work. According to the documentation (since 2.7.6), the manages_homedir [feature is defined as] The provider can create and remove home directories.[2] As such, the

[Puppet Users] puppet 3.0.1 Server and passenger

2012-11-06 Thread Worker Bee
Hi Everyone; I am stumped. I am simply trying to upgrade from puppet 3.0.0 to puppet 3.0.1 master (rhel6) I have followed the precise steps I used when I installed 3.0.0 to migrate to Passenger, but for some reason, I know cannot get it running. There are no useful errors in the logs that I can

[Puppet Users] Re: puppet 3.0.1 Server and passenger

2012-11-06 Thread Worker Bee
Here is the error that I get displayed to the screen... Error: Could not retrieve catalog from remote server: Error 500 on SERVER: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html head meta http-equiv=Content-Type content=text/html; charset=UTF-8

Re: [Puppet Users] Re: puppet failing to run

2012-11-06 Thread Asif Iqbal
On Tue, Nov 6, 2012 at 1:14 PM, Jeff McCune j...@puppetlabs.com wrote: Did you have a version of Puppet on this system previously? This definitely seems like a bug, but it seems like one that only manifests if there's some other copy of Puppet that is also being loaded along with the version

[Puppet Users] augeas syntax for adding similar lines to hosts.allow

2012-11-06 Thread Chad Lewis
I've found a similar thread here, but it doesn't do quite what I need. https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/VMloh1KrSew I have multiple lines of the form below in hosts.allow: sshd,sshd2: 1.1.1.1 sshd,sshd2: 2.2.2.2 etc. I'm struggling with the syntax to add yet

[Puppet Users] Re: Managing home directory on Windows

2012-11-06 Thread jcbollinger
On Tuesday, November 6, 2012 12:36:19 PM UTC-6, Josh Cooper wrote: I have a question for windows users out there. Adam recently reported a bug[1] that the managehome parameter on Windows doesn't work. According to the documentation (since 2.7.6), the manages_homedir [feature is defined

[Puppet Users] Re: 2 package resources for the same package installation in two differents modules caused errors

2012-11-06 Thread jcbollinger
On Tuesday, November 6, 2012 12:31:16 PM UTC-6, Vaidas Jablonskis wrote: What I normally do is I create a virtual @package resource which installs php5 for example within say apache class and then I realize the virtual resource within the same apache class. Please, if you intend to write

Re: [Puppet Users] Re: Managing home directory on Windows

2012-11-06 Thread Josh Cooper
Hi John, On Tue, Nov 6, 2012 at 12:28 PM, jcbollinger john.bollin...@stjude.orgwrote: On Tuesday, November 6, 2012 12:36:19 PM UTC-6, Josh Cooper wrote: I have a question for windows users out there. Adam recently reported a bug[1] that the managehome parameter on Windows doesn't work.

[Puppet Users] Re: Puppet JBoss

2012-11-06 Thread jcbollinger
On Tuesday, November 6, 2012 8:30:53 AM UTC-6, Budicom wrote: Hi, I have a big problem with Puppet and JBoss. In jboss/server/ directory, there are several instances. And instances started, +10 files are presents. Puppetrun takes several hours to complete his cycle. tmp/

Re: [Puppet Users] Re: Managing home directory on Windows

2012-11-06 Thread Matthew Burgess
On Tue, Nov 6, 2012 at 8:46 PM, Josh Cooper j...@puppetlabs.com wrote: Historic behavior, at least for some providers, was to create the homedir upon user creation, but not to remove it upon user removal. I'm not sure how we got from historic behavior to now, or the reasons behind it. So

[Puppet Users] Re: Hiera autolookup for defined types

2012-11-06 Thread jcbollinger
On Tuesday, November 6, 2012 11:04:46 AM UTC-6, Bruno Leon wrote: Hello, since Puppet 3 hiera is doing auto variable lookup for classes, which in my view makes the code much clearer simply because we can use include foo instead of class { 'foo':

[Puppet Users] Re: puppet 3.0.1 Server and passenger

2012-11-06 Thread Worker Bee
Found the answer... https://groups.google.com/forum/#!msg/puppet-users/7T26yDW-Xtk/xro1t8Kr10gJ On Tue, Nov 6, 2012 at 1:50 PM, Worker Bee beeworke...@gmail.com wrote: Hi Everyone; I am stumped. I am simply trying to upgrade from puppet 3.0.0 to puppet 3.0.1 master (rhel6) I have

Re: [Puppet Users] Re: Managing home directory on Windows

2012-11-06 Thread Josh Cooper
Hi Matt, On Tue, Nov 6, 2012 at 1:10 PM, Matthew Burgess matthew.2.burg...@gmail.com wrote: On Tue, Nov 6, 2012 at 8:46 PM, Josh Cooper j...@puppetlabs.com wrote: Historic behavior, at least for some providers, was to create the homedir upon user creation, but not to remove it upon user

[Puppet Users] Augeas and custom lenses?

2012-11-06 Thread Jakov Sosic
Hi I want to modify one of the existing lenses to better suit my needs, but I don't know where to put it on the filesystem? It seems wrong to overwrite file in /usr/share/augeas/lenses/dist or to rebuild augeas-libs, is there any other way to distribute modifications of existing lenses or

[Puppet Users] Re: Puppet 3.0: Not authorized to call find on /file_metadata, more issues?

2012-11-06 Thread Forrie
The files we have that go out are under /etc/puppet/files. So, the ntp.conf exists under /etc/puppet/files/etc/ntp.conf -- there are also other structures under /etc/puppet/files that we refer to. I would presume a more efficient way to refer to this is any file under /etc/puppet/files.

Re: [Puppet Users] Re: tcl dependency in RHEL6 installing facter, puppet

2012-11-06 Thread Michael Stahnke
On Tue, Nov 6, 2012 at 6:37 AM, jcbollinger john.bollin...@stjude.org wrote: On Monday, November 5, 2012 2:10:58 PM UTC-6, msuho wrote: Hi- I am running RedHat Enterprise version 6. Linux luke 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

Re: [Puppet Users] Puppet JBoss

2012-11-06 Thread devzero2000
Sorry for the top posting. So, configuration and package management are different problem: trying to solve a problem with a tool born for solving the other problem can have, in the short or long run, some issue. Ymmv, as everyone else. Best 2012/11/6, Alan Evans alanwev...@gmail.com: Budicom,

Re: [Puppet Users] Re: Can Puppet alert about dead nodes?

2012-11-06 Thread Martijn
Op donderdag 1 november 2012 19:03:20 UTC+1 schreef Greg Sutcliffe het volgende: On 1 November 2012 17:54, Lucas Vickers lucasv...@gmail.com javascript: wrote: I am currently using the open source edition so I have no dashboard. Puppet Dashboard is opensource, so you could use it, but

Re: [Puppet Users] Re: puppet failing to run

2012-11-06 Thread Moses Mendoza
What version(s) of facter are you running? Perhaps you have multiple installed here as well? It seems strange that the trace you posted references two distinct library paths, e.g. /usr/local/lib/site_ruby/1.8/facter and /usr/lib/ruby/vendor_ruby/facter On Tue, Nov 6, 2012 at 11:19 AM, Asif

Re: [Puppet Users] Re: puppet failing to run

2012-11-06 Thread Asif Iqbal
On Tue, Nov 6, 2012 at 7:11 PM, Moses Mendoza mo...@puppetlabs.com wrote: What version(s) of facter are you running? Perhaps you have multiple installed here as well? It seems strange that the trace you posted references two distinct library paths, e.g. /usr/local/lib/site_ruby/1.8/facter

Re: [Puppet Users] Re: puppet failing to run

2012-11-06 Thread Matthaus Owens
It looks to me as if there are at least two facters installed. One was likely installed using install.rb (probably the one in /usr/local/lib/site_ruby), and another was installed using the package manager. Can you post the output of both `dpkg -S facter` and `dpkg -l facter`? That will show which

Re: [Puppet Users] Re: puppet failing to run

2012-11-06 Thread Asif Iqbal
I did some clean up. Now I have only one version of puppet and facter. $ dpkg -S facter http://paste.ubuntu.com/1338890/ $ dpkg -l facter Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required

Re: [Puppet Users] Augeas and custom lenses?

2012-11-06 Thread Ian Mortimer
On 07/11/12 08:31, Jakov Sosic wrote: I want to modify one of the existing lenses to better suit my needs, but I don't know where to put it on the filesystem? I build an rpm which installs custom lenses in /usr/share/augeas/lenses It seems wrong to overwrite file in

[Puppet Users] Re: retrieving module directory

2012-11-06 Thread 刘磊
Hi I am encountering this problem now, can you help me, how to set the default value for module network. Is it add a new [network] with path referencing the root of network module in fileserver.conf? On Thursday, March 29, 2012 6:27:23 PM UTC+8, A_SAAS wrote: Hi everyone, I found my error,

[Puppet Users] Re: Puppet Meetup Australia (Melbourne, Sydney, Brisbane)

2012-11-06 Thread Brent Acworth
Hi Stephen I can help you out with a Brisbane venue if you don't have one already. Brent On Monday, November 5, 2012 8:58:42 AM UTC+10, Stephen Johnson wrote: Hi I currently in Australia, as im the instructor on the Puppet Fundamentals * courses in Melbourne, Sydney and Brisbane