Re: [Puppet Users] Iterate over array to mount NFS directories

2012-09-27 Thread Luke Bigum
Hi Forrie, Good to see you are almost there! As you've discovered the looping in Puppet isn't *really* looping, it's just a shorthand way of creating multiple resources. However, by combining that with a Defined Type, you can effectively reference the same array element multiple times using

Re: [Puppet Users] Puppet 2.7, hiera 1.0 and hiera as an ENC

2012-09-27 Thread Guillem Liarte
Tom, Thanks for you reply. I have already shared this with Gary, but i think it is worth to make it here too. Gary says that 'sysclass' and 'classes' are facts he sets, so this explains why in my case they are being ignored. In any case, what I really want is to control that from hiera

[Puppet Users] puppet-lint: class_inherits_from_params_class

2012-09-27 Thread Antidot SAS
Hi everyone, I might have missed something but is it normal to have warning with the use of params class inheritance? --- modules/rush/manifests/init.pp - WARNING: class inheriting from params class on line 19 --- Is the 'params' class not needed anymore with puppet? I am aware of the new

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-09-27 Thread Dick Davies
At a guess the asadmin command isn't in puppetd's $PATH. Maybe try a full path to the executable to confirm? On 26 September 2012 17:01, Gavin Williams fatmc...@gmail.com wrote: Hi there, I'm trying to setup Glassfish config management using puppet. I've found larstobi's module here which

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-09-27 Thread fatmcgav
Hi there I thought that initially as well, so I modified the provider to use a full path rather than assume it was on the path. The log files below are prints of the variables which are being passed around... Cheers Gav On Sep 27, 2012 12:53 PM, Dick Davies rasput...@hellooperator.net wrote:

Re: [Puppet Users] multiple puppet masters on multiple subnets

2012-09-27 Thread David Schmitt
On 27.09.2012 09:24, Alex Harvey wrote: On Thursday, September 27, 2012 9:13:32 AM UTC+10, Pete wrote: Another option would be to put all your puppet code into a git repo and setup each master to pull from a central repo over ssh. That _Should_ be secure enough. I am also

Re: [Puppet Users] require file/package not managed by puppet

2012-09-27 Thread jcbollinger
On Wednesday, September 26, 2012 8:18:51 PM UTC-5, Stefan Schulte wrote: On Fri, Sep 21, 2012 at 05:40:52PM -0700, Justin Ryan wrote: I would like to place a file with puppet only if a certain package is installed on the system -- but assuming this package is not puppet-managed.

Re: [Puppet Users] deleting virtual users

2012-09-27 Thread jcbollinger
On Wednesday, September 26, 2012 2:15:27 PM UTC-5, erkules wrote: On Wed, Sep 26, 2012 at 12:00:10PM -0700, Jo Rhett wrote: Realizing doesn't allow overrides. To remove the user: @user ahab { ensure = absent } realize User['ahab'] This may mean you need to use inheritence for

[Puppet Users] Retrieve initial content of files when using audit = content

2012-09-27 Thread Martin Willemsma
Hi, I want to audit some files on content and planned to do this with puppet filebucket. Lets say for example that I have a list of audit_files as a parameter from puppet dashboard with a list of files to audit. Output from ENC for this particular parameter: audit_files:

[Puppet Users] puppetlabs-java ?

2012-09-27 Thread Carsten Øland Madsen
In a node I have (centos): class { 'java': distribution = 'jdk' } And when I run it I get: err: /Stage[main]/Java::Package_redhat/Package[java]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install jdk' returned 1: Error: Nothing to do So how to I get

[Puppet Users] custom type in ruby - invalid resource type at .../site.pp

2012-09-27 Thread Axel Bock
Hi readers, I have developed a custom SVN type (based on http://is.gd/W0cIMS among others), and I guess it's fairly correct ruby code. (at least I don't get any syntax errors). now I have deployed it in my module in module/lib/puppet/type/repo_checkout.rb and

[Puppet Users] Re: custom type in ruby - invalid resource type at .../site.pp

2012-09-27 Thread Axel Bock
p.s.: my type can be seen here: http://pastebin.com/20N8teKV and the provider here: http://pastebin.com/SjqyWegu thanks, axel. -- 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] is it possible to save dashboard inventory searches

2012-09-27 Thread Eddie Hart
Hello: Is it possible to save dashboard inventory searches? I'm a relatively new puppet user. I've checked the puppetlabs documentation for an answer to my question - but didn't turn anything up. Thanks! -- You received this message because you are subscribed to the Google Groups Puppet

[Puppet Users] Watch PuppetConf remotely

2012-09-27 Thread Michelle Carroll
Hello, PuppetConf is happening now, and we wanted to make sure everyone knew about the live streaming video. Even if you couldn't make it to San Francisco, you can watch talks in two of the large rooms. The schedule for streaming is posted here:

Re: [Puppet Users] Watch PuppetConf remotely

2012-09-27 Thread Luke Bigum
I missed Luke's keynote :-) Will the recordings be available online sometime later? On 27/09/12 17:16, Michelle Carroll wrote: Hello, PuppetConf is happening now, and we wanted to make sure everyone knew about the live streaming video. Even if you couldn't make it to San Francisco, you can

[Puppet Users] Could use another set of eyes to assist

2012-09-27 Thread Jeremy
I've got a puppet module I've written to support deploying a custom PHP web application that a client has developed. The actual application and the fact that it's deployed within AWS is not the problem or important to the issue. I'm looking to see if I someone else can think of a better way to

Re: [Puppet Users] Watch PuppetConf remotely

2012-09-27 Thread Michelle Carroll
Yes! We'll have video of the talks available after the event. Thanks! Michelle On Thu, Sep 27, 2012 at 9:54 AM, Luke Bigum luke.bi...@lmax.com wrote: I missed Luke's keynote :-) Will the recordings be available online sometime later? On 27/09/12 17:16, Michelle Carroll wrote: Hello,

[Puppet Users] PuppetConf backchannel: #puppetconf on Freenode

2012-09-27 Thread R. Tyler Croy
Something to go with the live streams :) http://puppetlabs.com/blog/watch-the-puppetconf-live-video-stream/ If you're at the conference, use Freenode's webchat OR connect to chat.freenode.net on port 8001. - R. Tyler Croy -- Code:

Re: [Puppet Users] deleting virtual users

2012-09-27 Thread Jo Rhett
On Sep 26, 2012, at 3:11 PM, Kristof Willaert wrote: How do I delete a realized user on a node? I was hoping to do something like realize(User['ahab']){ensure = absent } As this is not working, I wonder how to delete a realized virtual user. If you use resource collection instead of the

[Puppet Users] File_line

2012-09-27 Thread Felipe Lima
Hello, Currently develop a module for the packet smartd. But I'm using the resource file_line, but displays the following message when using the puppet parser: err: Could not parse for environment production: Syntax error at '{', expected '}' at / etc / puppet / modules / smartd / Manifests /

Re: [Puppet Users] Re: custom type in ruby - invalid resource type at .../site.pp

2012-09-27 Thread Jakov Sosic
On 09/27/2012 05:21 PM, Axel Bock wrote: p.s.: my type can be seen here: http://pastebin.com/20N8teKV and the provider here: http://pastebin.com/SjqyWegu Try commenting out whole sync_direction property section in your type type definition file. You defined property but you don't have methods

Re: [Puppet Users] deleting virtual users

2012-09-27 Thread erkan yanar
Hoi John, On Thu, Sep 27, 2012 at 06:09:28AM -0700, jcbollinger wrote: On Wednesday, September 26, 2012 2:15:27 PM UTC-5, erkules wrote: On Wed, Sep 26, 2012 at 12:00:10PM -0700, Jo Rhett wrote: Realizing doesn't allow overrides. To remove the user: @user ahab { ensure =

[Puppet Users] Deploy nagios client on windows

2012-09-27 Thread Thomas Bendler
Hi @all, does anyone manage the NSClient++ deployment with puppet? I have the strange behavior that I can distribute the installation package to the target server and install the package with the MSI provider. The relevant code is here: if $windows { file { c:/local/source:

[Puppet Users] Puppetmaster with mongrel

2012-09-27 Thread Ignoramus
Hey Guys, So i have puppetmaster running and well. I have a few questions 1) Even though i followed instructions on http://projects.puppetlabs.com/projects/1/wiki/Using_Mongrel on using Mongrel, puppetmaster is probably still using webrick since the client connection timeout still occurs. How

[Puppet Users] Puppetdashboard :: cannot add class

2012-09-27 Thread Lunixer
I have puppet running on WEBrick. Dashboard works. I can see the hosts currently in puppet. In Dashboard I can add hosts and create groups, but cannot add classes. The auto-search returns nothing when I click on a group or server and start typing in the Classes textbox. Is this a common

[Puppet Users] Re: Puppetdashboard :: cannot add class

2012-09-27 Thread Lunixer
Wanted to add that I used the CLI with no success. rake nodeclass:add name=sudo - On Thursday, September 27, 2012 3:35:02 PM UTC-7, Lunixer wrote: I have puppet running on WEBrick. Dashboard works. I can see the hosts currently in puppet. In Dashboard I can add

Re: [Puppet Users] puppetlabs-java ?

2012-09-27 Thread Denmat
Yes, unpack the bin and set up a repo or use exec's to download, unpack and install - easier to setup a repo though. Den On 28/09/2012, at 0:06, Carsten Øland Madsen carsten.ol...@gmail.com wrote: In a node I have (centos): class { 'java': distribution = 'jdk' } And when I run it I get:

Re: [Puppet Users] Puppetmaster with mongrel

2012-09-27 Thread Jo Rhett
On Sep 27, 2012, at 3:07 PM, Ignoramus wrote: 1) Even though i followed instructions on http://projects.puppetlabs.com/projects/1/wiki/Using_Mongrel on using Mongrel, puppetmaster is probably still using webrick since the client connection timeout still occurs. How do i make it use mongrel?

[Puppet Users] Re: manifest setting in puppet.conf does not work

2012-09-27 Thread Peter
Hi Axel, I had a similar issue checkout - https://groups.google.com/d/topic/puppet-users/C5Pfg_r_Srs/discussion I am not positive however I believe your issue likely falls fowl of the same problem I had, essentially the manifest directive only takes a single file location. Peter. On

Re: [Puppet Users] require file/package not managed by puppet

2012-09-27 Thread Stefan Schulte
On Thu, Sep 27, 2012 at 05:58:34AM -0700, jcbollinger wrote: That's actually kinda cool, but I think either you've missed the OP's point, or I'm missing yours. Declaring the package for only auditing should indeed support any Puppet relationships with that resource without forcing the

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-09-27 Thread Stefan Schulte
On Thu, Sep 27, 2012 at 12:57:01PM +0100, fatmcgav wrote: Hi there I thought that initially as well, so I modified the provider to use a full path rather than assume it was on the path. The log files below are prints of the variables which are being passed around... Cheers Gav On Sep