Re: [Puppet Users] Puppet Triage-A-Thon

2012-01-10 Thread Martin Alfke
Hi Daniel, one ticket from me: #8893 HP-UX: allow shared homedirs for users I am looking forward to join via IRC. Kind regards, Martin On 10.01.2012, at 19:20, Daniel Pittman wrote: > Those are high priority for the platform team anyhow, but if there is > something you feel we have missed sho

Re: [Puppet Users] Re: copying file(s) from agent to master??

2012-01-10 Thread Nan Liu
On Tue, Jan 10, 2012 at 8:31 AM, Sans wrote: > Thanks Eric and Chris! > > If I understood correctly, I put something like this in the '/etc/ > puppet/manifests/site.pp' > >    filebucket { 'main': >        server => 'puppet.hep.ac.uk', >        path   => false, >    } > > and then I set "backup =>

Re: [Puppet Users] Re: tagmail issue

2012-01-10 Thread Nan Liu
See below: On Tue, Jan 10, 2012 at 2:18 PM, Ashley Gould wrote: > I have found a work around, but I would still like to understand what > is correct behavior. Not sure what you mean, the only clarification is the notify resource will always result in a changed resource, guarantee you get transac

Re: [Puppet Users] Might someone out there repair some busted links ?

2012-01-10 Thread Dan White
I wish I did. I am looking for recipe ideas for Tripwire. My environment uses an enterprise version that installs by rpm, but I need to tinker with configuring it. I was hoping for some clues from the missing documentation. On Jan 10, 2012, at 4:29 PM, Alanna Brown wrote: > Hi Daniel, > > Do yo

[Puppet Users] Re: signing request from Windows client

2012-01-10 Thread tborthwick
Thank you! On Jan 10, 4:47 pm, Patrick Viet wrote: > > $ puppet cert --list > > Could not parse for environment production: Could not find file /etc/ > > puppet/cert.pp > > > Am I missing some part of the server configuration? > > The command you are running is for puppet 2.x > The error you are

[Puppet Users] Re: Manifest organization

2012-01-10 Thread jcbollinger
On Jan 9, 8:56 am, Olivier wrote: > I am new to Puppet and am having a hard time relating modules and > classes in configuration files to actual operating system files. For > instance  I saw the following example on this list: [...] At your stage and for this purpose you should probably ignore

Re: [Puppet Users] Puppet proxies

2012-01-10 Thread Michael Stahnke
On Tue, Jan 10, 2012 at 3:12 PM, Jeff Sussna wrote: > I've seen a couple of examples of using puppet to control services > where you can't run a puppet agent on the resource. As far as I can > tell they work by having puppet proxy through some external-service > control mechanism, such as fog. The

[Puppet Users] Puppet proxies

2012-01-10 Thread Jeff Sussna
I've seen a couple of examples of using puppet to control services where you can't run a puppet agent on the resource. As far as I can tell they work by having puppet proxy through some external-service control mechanism, such as fog. The question is: where does the proxy run? I assume a puppet age

Re: [Puppet Users] Adding node parameters to puppet dashboard

2012-01-10 Thread Dan Bode
A face has been developed that can programmatically insert data into the Dashboard using its restful interface. usage is documented in the README https://github.com/puppetlabs/puppetlabs-dashboard You may want to have a look at a couple of branches that still need to be merged: 1. https://githu

[Puppet Users] Adding node parameters to puppet dashboard

2012-01-10 Thread Chris Blumentritt
I would like to add parameters to nodes in puppet dashboard either from the command line or programmatically through an api. For adding classes and groups to a node as well as adding nodes to the dashboard I have been using the rake tasks. There is no rake task for adding parameters that I can fi

[Puppet Users] Re: signing request from Windows client

2012-01-10 Thread Patrick Viet
> $ puppet cert --list > Could not parse for environment production: Could not find file /etc/ > puppet/cert.pp > > Am I missing some part of the server configuration? The command you are running is for puppet 2.x The error you are getting is a typical reaction of puppet 0.x Check it with dpkg -l

[Puppet Users] Re: need link for simple docuemntation

2012-01-10 Thread jcbollinger
On Jan 10, 4:40 am, bhagyesh wrote: > kindly provide me link for documents for puppet other than puppet lab > I am specifically looking at how to create a module/manifest Why do you ask specifically for documents not hosted by PuppetLabs, the most authoritative source there can be for Puppet do

Re: [Puppet Users] need link for simple docuemntation

2012-01-10 Thread James Turnbull
Sergio Galvan wrote: > Hi , > > You can take a look to Learning Puppet: Modules > > > I guess the best option to understand how modules work is to make some > by your own. I also like to take a look at Github , > reading how

Re: [Puppet Users] Exec depends on ressources that are several different types

2012-01-10 Thread Aaron Grewell
require accepts an array, so you should be able to do this: require => [File['foo'],Exec['bar']] On Mon, Jan 9, 2012 at 5:23 PM, Patrick Viet wrote: > Hi dear puppet users. > > I have an perl file that depends on a lib, that I want to execute. > I have stripped the parts of config that weren't re

Re: [Puppet Users] need link for simple docuemntation

2012-01-10 Thread Sergio Galvan
Hi , You can take a look to Learning Puppet: Modules I guess the best option to understand how modules work is to make some by your own. I also like to take a look at Github , reading how others wrote their modules definitely

[Puppet Users] need link for simple docuemntation

2012-01-10 Thread bhagyesh
kindly provide me link for documents for puppet other than puppet lab I am specifically looking at how to create a module/manifest -- 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] Might someone out there repair some busted links ?

2012-01-10 Thread Alanna Brown
Hi Daniel, Do you happen to know what the link for /Recipes/Tripwire should actually link to? I tried doing a search for "tripwire", but didn't find anything that seemed right. Thanks, Alanna On Thu, Dec 29, 2011 at 11:22 AM, Daniel Pittman wrote: > On Thu, Dec 29, 2011 at 11:14, Dan White wr

[Puppet Users] Changing the puppetca CA password

2012-01-10 Thread earthgecko
Currently the puppetca CA password is set to 'secret' How would one go about changing it? I agree with puppetlabs documentation that you should be an SSL expert to implement your own CA. I am not. However I would like to use puppet's CA PKI infrastructure with ActiveMQ over TLS and it is seems

[Puppet Users] Manifest organization

2012-01-10 Thread Olivier
Hello I am new to Puppet and am having a hard time relating modules and classes in configuration files to actual operating system files. For instance I saw the following example on this list: node 'somenode' { include puppetmaster } class puppetmaster { include common include puppet in

[Puppet Users] signing request from Windows client

2012-01-10 Thread tborthwick
I'm trying to set up a puppet master on ubuntu 10.10 and client on windows 7. Running 'puppet agent -verbose' on the client, I get this: warning: peer certificate won't be verified in this SSL session notice: Did not receive certificate which seems to be expected. When I check the server, the mas

[Puppet Users] Exec depends on ressources that are several different types

2012-01-10 Thread Patrick Viet
Hi dear puppet users. I have an perl file that depends on a lib, that I want to execute. I have stripped the parts of config that weren't relevant here such as owner, group and so on In perl script : use Config::Tiny. Script is stored on puppet master. Manifest : file { "/path/to/file.pl":

Re: [Puppet Users] Puppet agent hangs after running a few hours, defunct sh process

2012-01-10 Thread Jo Rhett
The comments in the redhat bug indicated that this breakage came from upstream, as did the fix. So it's entirely possible that this bug appeared in some Debian kernels, but I don't know which. On Jan 10, 2012, at 8:41 AM, jcbollinger wrote: > On Jan 9, 11:40 am, Jo Rhett wrote: >> On Jan 7, 20

[Puppet Users] Re: tagmail issue

2012-01-10 Thread Ashley Gould
I have found a work around, but I would still like to understand what is correct behavior. I used the notify resource instead of tag metaparam: if $::adinfo_mode == "disconnected" { notify { "disconnected": message => "AD client in disconnected state",

Re: [Puppet Users] Puppet Triage-A-Thon

2012-01-10 Thread James Turnbull
Brian Gallew wrote: > #4020 has been ready for 4 months now. It really makes my efforts feel > appreciated. > Brian Totally get that this is frustrating. It's really hard for us because when the use of Puppet exploded so did the number of people logging tickets (hence the Triage-a-thon!). In

Re: [Puppet Users] Puppet Triage-A-Thon

2012-01-10 Thread James Turnbull
Christopher Lee wrote: > Hello, > > You have selected a date for the Triage-a-thon in the middle of SCALE. > Would love to help out but I am guessing many people will be at SCALE > including people at Puppet Labs. We knew it was during SCALE. We knew some people (including a couple of ours) will

Re: [Puppet Users] scaling projections for dashboard database?

2012-01-10 Thread Daniel Pittman
On Mon, Jan 9, 2012 at 20:06, Jo Rhett wrote: >> On Jan 9, 2012, at 3:31 PM, Daniel Pittman wrote: >> >>> Is there any reasonable estimate for what amount of space you expect one >>> system to use?  I realize this likely varies with the report size, but the >>> rate of growth seems high enough tha

Re: [Puppet Users] hiera-puppet in template

2012-01-10 Thread Daniel Pittman
On Tue, Jan 10, 2012 at 08:56, Dan Bode wrote: > On Tue, Jan 10, 2012 at 8:53 AM, Markus Falb wrote: >> >> hiera is working in my manifest but not within a template. >> >> x=<%= scope.function_hiera("x") %> >> >> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> Failed t

Re: [Puppet Users] Blocking or gating service restarts?

2012-01-10 Thread Wolf Noble
just a thought; what if you made a fact for number of apache workers currently serving something, and base the service restart off of that. Might not be the best option; might not even work, but it makes more sense to me to have the service restart dependent on a local fact than be dependent on

Re: [Puppet Users] Puppet Triage-A-Thon

2012-01-10 Thread Brian Gallew
#4020 has been ready for 4 months now. It really makes my efforts feel appreciated. On Jan 10, 2012, at 10:20 AM, Daniel Pittman wrote: > Those are high priority for the platform team anyhow, but if there is > something you feel we have missed shoot me an email with the ticket > number and I wi

Re: [Puppet Users] Puppet Triage-A-Thon

2012-01-10 Thread Christopher Lee
Hello, You have selected a date for the Triage-a-thon in the middle of SCALE. Would love to help out but I am guessing many people will be at SCALE including people at Puppet Labs. -chrisl On Tue, Jan 10, 2012 at 10:20 AM, Daniel Pittman wrote: > Those are high priority for the platform team

Re: [Puppet Users] Puppet Triage-A-Thon

2012-01-10 Thread Daniel Pittman
Those are high priority for the platform team anyhow, but if there is something you feel we have missed shoot me an email with the ticket number and I will try and get it bumped up in priority. Daniel On Tue, Jan 10, 2012 at 10:06, Brian Gallew wrote: > Does this mean that the tickets which are

Re: [Puppet Users] Puppet Triage-A-Thon

2012-01-10 Thread Brian Gallew
Does this mean that the tickets which are just awaiting merge (including all the relevant unit tests) will get done some day soon? On Jan 9, 2012, at 11:36 PM, James Turnbull wrote: > Love Puppet? Hate the backlog of tickets? Want to help us out? The > Puppet community has grown really fast and

[Puppet Users] I am looking to try to mixing sounrce and content in a file instance

2012-01-10 Thread Dan White
Let's start with this: class whatever ( $myType='other' ) { file { "some-config-file": ... content => $myType ? { 'this' => template("whatever/this.erb"), 'that' => template("whatever/that.erb"), 'other' => template("whatever/other.erb"),

Re: [Puppet Users] hiera-puppet in template

2012-01-10 Thread Dan Bode
On Tue, Jan 10, 2012 at 8:53 AM, Markus Falb wrote: > hi, > > hiera is working in my manifest but not within a template. > > x=<%= scope.function_hiera("x") %> > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Failed to parse template bla/blubb.conf.erb: undefined met

[Puppet Users] hiera-puppet in template

2012-01-10 Thread Markus Falb
hi, hiera is working in my manifest but not within a template. x=<%= scope.function_hiera("x") %> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template bla/blubb.conf.erb: undefined method `function_hiera' ... Is it supposed to used in a template and

[Puppet Users] Re: inheritance

2012-01-10 Thread jcbollinger
On Jan 9, 10:21 am, Antidot SAS wrote: > But apparently was more thinking class heritance as pre-required but this > seems to be the wrong understanding of the concept and the use of class > inheritance as to be used only to redefined ressource or add some; at least > that's what I have underst

[Puppet Users] Re: Puppet agent hangs after running a few hours, defunct sh process

2012-01-10 Thread jcbollinger
On Jan 9, 11:40 am, Jo Rhett wrote: > On Jan 7, 2012, at 7:40 PM, Andreas N wrote: > > > That doesn't tell me anything other than that the puppet agent is blocking > > on select() with a timeout of two seconds. > > Sounds like #10418.  Check your kernel version. >  https://projects.puppetlabs.c

[Puppet Users] Re: copying file(s) from agent to master??

2012-01-10 Thread Sans
Thanks Eric and Chris! If I understood correctly, I put something like this in the '/etc/ puppet/manifests/site.pp' filebucket { 'main': server => 'puppet.hep.ac.uk', path => false, } and then I set "backup => main" in one my "file" definitions but it doesn't seem to b

AW: [Puppet Users] scaling projections for dashboard database?

2012-01-10 Thread Bernd Adamowicz
Besides all the answers already provided by others, there might be also another reason for the fast growing database. This is the table 'resource_statuses' inside dashboard's database which is not purged by the rake script (at least not in Puppet 2.6.6 and 2.6.12). Patching the rake script will

Re: [Puppet Users] Facter pick up variables from ENV hash of non-root USER

2012-01-10 Thread Felix Frank
Hi, On 01/06/2012 10:57 AM, Argha Chattopadhyay wrote: > Hi, > > Does anyone have an idea to pick up custom facts from the ENV hash of a > non-root user. I'm asking as I believe the plugin modules for facter > pick up the ENV variables of the root user by default. there seems to be a misconcepti

Re: [Puppet Users] scaling projections for dashboard database?

2012-01-10 Thread Walter Heck
FYI: MySQL performs fine with 100G files if you set it up correctly. I haven't used the dashboard or looked at the source code, but with that kind of storage I'd say you have a write-heavy application. You can tune for that quite easily, although scaling beyond a single master will be a bit more tr