[Puppet Users] Extending Puppet for network device management

2013-06-06 Thread srivatsa rao
Hello, I have started using puppet recently and my primary purpose is to use puppet to maintain state of a bunch of network devices, I have explored the basics of configuring switch interfaces using puppet, I feel there is necessity to extend it to do more complex jobs on network devices. I hav

[Puppet Users] Re: installing carbon / passing PYTHONPATH to pip package provider?

2013-06-06 Thread Amos Shapira
Thanks. This is similar to a solution suggested in https://github.com/graphite-project/carbon/issues/86#issuecomment-16200739 (there he adds a symlink instead of providing a copy). What I don't like about these (practical) solutions is that they are fragile - either the symlink target could cha

Re: [Puppet Users] dashboard/passenger not connecting on port 8140

2013-06-06 Thread Erick Ocrospoma
First check whether that permissions are set on the database. If it would be a package problem, it's going to depend on your ruby version. -- Cel : 511-997823451 Blog : http://piobox.blogspot.com/ LUG : http://www.utpinux.org Linux User ID : 549567 --- sı ɯǝ1qoɹd ɹnoʎ ʇ

Re: [Puppet Users] Re: Puppet 3.1.1 Windows crashes

2013-06-06 Thread Josh Cooper
Hi Michael, On Thu, Jun 6, 2013 at 8:01 AM, Michael O'Dea wrote: > I neglected to mention this crash leaves behind the lockfile, so while the > puppet service is still running, all future puppet runs exit saying > "another puppet run is in progress". > > On Thursday, June 6, 2013 10:55:21 AM U

[Puppet Users] Puppetd with --noop and operation with puppetrun

2013-06-06 Thread Giovanni
Hi, I have a puppetd 2.7 running on my server with --noop. I don't like automatic updates. I have foreman and foreman-proxy. Can I run puppetrun from foreman and execute updates on my server with puppetd running with --noop? I want a manual updates, not automatic. Thank you Giovanni -- You r

[Puppet Users] Calling Defined types from classes

2013-06-06 Thread Johnny Costello
I am using a defined type so that I can have an array and have the defined type generate a file based on each member of the array. However In the erb file I also have values that i want set specific to that file that is generated. When i call the defined type how do i pass in the values that

[Puppet Users] Re: Running the same command (exec) multiple times?

2013-06-06 Thread Nick Fagerlund
The way Puppet is built today, you can't trigger the same exec resource multiple times in a single run. However, the exec resource type is kind of special: the value of the namevar ("command") doesn't have to be globally unique; only the title has to be unique. Basically, to deal with cases li

Re: [Puppet Users] Certificate problems

2013-06-06 Thread Sam Sexton
Many thanks, Nan - I'll try that in the morning. Regards, Sam On 6 June 2013 17:50, Nan Liu wrote: > On Thu, Jun 6, 2013 at 7:52 AM, Andthepharaohs wrote: > >> Hi all - my head hurts! ;-) >> >> I am getting this error on my agent host: >> >> err: /Stage[main]/Testfiles/File[/tmp/test1]/con

[Puppet Users] Re: simple running puppet module against a client

2013-06-06 Thread Nick Fagerlund
Yeah that section of the docs needs work. Sorry. I'll try and tell you what you need to know: * There's not a built-in way to interactively reach out to a remote node and apply just one class to it. That's not how Puppet thinks of the world: it thinks it's managing a complete steady state on ea

[Puppet Users] Help with defined type

2013-06-06 Thread Matthew Schmitt
I'm trying to create config files from an array of hostnames, specifically from the param 'stor_host' - My Hiera data - s_storage::params::storage_partition: 1: storage_vip: '' num_shards: 1 storage_db: hsqlstor01 replagent_host: '' replagent_metrics_port: '' file_delet

Re: [Puppet Users] Certificate problems

2013-06-06 Thread Nan Liu
On Thu, Jun 6, 2013 at 7:52 AM, Andthepharaohs wrote: > Hi all - my head hurts! ;-) > > I am getting this error on my agent host: > > err: /Stage[main]/Testfiles/File[/tmp/test1]/content: change from > {md5}d41d8cd98f00b204e9800998ecf8427e to > {md5}6be3210bf77dea7c998e13ba69e5f06e failed: Co

Re: [Puppet Users] Grouping hosts within environments

2013-06-06 Thread przemol
Hi Nikola, this solution seems very interesting :-) Can you please write an example *.pp files with tags and example users which shows how to tag it ? Thanks On Friday, May 31, 2013 10:02:21 AM UTC+1, nikolavp wrote: > > Yes you can just tag them from there: > > > accounts::users::account

[Puppet Users] Re: Hiera YAML False bug

2013-06-06 Thread Ygor
I may have found the problem: Add the following block of code - you will need to have the puppet-forge module stdlib installed -- and see what it does class java::install ( $parameters = hiera('java', []), ) { # - start include stdlib if is_hash ( $

[Puppet Users] Re: Certificate problems

2013-06-06 Thread Dan Hyatt
First off are you running open source puppet or puppetlabs. I understand there is a difference... and most instructions do not include restarting the pe-http daemon so you have stale data in there.. This is what I did Certificate problems On Client… cd /etc/puppetlabs/puppet/ ssl rm -r

[Puppet Users] simple running puppet module against a client

2013-06-06 Thread Dan Hyatt
I am struggling with the documentation, it is a nice read but hard for me to translate into practical application. For instance, I am simply trying to run a module against a client. Once I figure this out, I can move forward.. I have my module, and it works. I have it getting the file from pupp

[Puppet Users] Re: Puppet 3.1.1 Windows crashes

2013-06-06 Thread Michael O'Dea
I neglected to mention this crash leaves behind the lockfile, so while the puppet service is still running, all future puppet runs exit saying "another puppet run is in progress". On Thursday, June 6, 2013 10:55:21 AM UTC-4, Michael O'Dea wrote: > > I noticed that a number of my Windows hosts ha

[Puppet Users] Puppet 3.1.1 Windows crashes

2013-06-06 Thread Michael O'Dea
I noticed that a number of my Windows hosts had stopped dialing in, and upon closer inspection I found that Puppet was crashing in Ruby and wevtapi.dll. I can't find any reference to this in the issue tracker, although I've got over a dozen occurrences in my environment, all with the same desc

[Puppet Users] Certificate problems

2013-06-06 Thread Andthepharaohs
Hi all - my head hurts! ;-) I am getting this error on my agent host: err: /Stage[main]/Testfiles/File[/tmp/test1]/content: change from {md5}d41d8cd98f00b204e9800998ecf8427e to {md5}6be3210bf77dea7c998e13ba69e5f06e failed: Could not back up /tmp/test1: Server hostname 'ncqd-isghub01' did not

[Puppet Users] Error: Could not request certificate: Connection refused - connect(2)

2013-06-06 Thread Andthepharaohs
Hi ... my head hurts! Sorry this is a bit long, but I hope it has all the relevant evidence. I am getting this error on my agent host: err: /Stage[main]/Testfiles/File[/tmp/test1]/content: change from {md5}d41d8cd98f00b204e9800998ecf8427e to {md5}6be3210bf77dea7c998e13ba69e5f06e failed: Coul

[Puppet Users] Re: Status of bug #8040?

2013-06-06 Thread jcbollinger
On Wednesday, June 5, 2013 11:57:54 AM UTC-5, Dennis Jacobfeuerborn wrote: > > Hi, > what plans are in place to deal with bug #8040: > http://projects.puppetlabs.com/issues/8040 > > I have some Puppet experience but I'm also looking at Chef and Ansible > right now in order to determine which co

[Puppet Users] Trouble getting puppet config from client to master (Certificate verify failed).

2013-06-06 Thread khoibui
Hello, I'm having trouble between the client and the master. Please help! *root@r3:~# puppet agent --test* Info: Caching certificate for r3.pb Info: Caching certificate_revocation_list for ca Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect retu

[Puppet Users] Running the same command (exec) multiple times?

2013-06-06 Thread Stefan Pommerening
Hi all, I am currently writing a graylog2 module for puppet on centos 6.3 and need to update Ruby on target machine to 1.9.3 although there is already an older version (1.8.7) installed. Therefore I decided to use rvm but for writing a more general puppet module I need to invoke commands like ru

[Puppet Users] Re: installing carbon / passing PYTHONPATH to pip package provider?

2013-06-06 Thread Ben Whaley
Yep, I ran in to this as well, both with carbon and graphite-web. I solved it by adding the Python metadata in the appropriate location on my system. Check this gist for the code https://gist.github.com/bwhaley/5721421 Hope this helps. - Ben On Wednesday, June 5, 2013 9:30:56 PM UTC-7, Amos S

Re: [Puppet Users] Hiera YAML False bug

2013-06-06 Thread Ti Leggett
Hm, that bug says it was a duplicate of 17474 and 17474 was revolved in 3.2.0-rc1. Do I have a variant of the bug that's still residual? On Jun 5, 2013, at 7:12 PM, Dan White wrote: > http://projects.puppetlabs.com/issues/17105 > Hiera booleans are broken -- explicit false value registers as l

Re: [Puppet Users] agent prepend every line with var

2013-06-06 Thread Marc Lucke
Thanks David. That it's not simplistic is often a good indicator that you're abusing design which is another reason to re-evaluate the idea. I was hoping for something like apache2's LOGFORMAT or similar. Regards - Marc On 06/06/2013, at 6:23 PM, David Schmitt wrote: > Either add a "| logge

Re: [Puppet Users] dashboard/passenger not connecting on port 8140

2013-06-06 Thread DJames
also could it be that some ruby installs are missing? On Wednesday, June 5, 2013 2:54:15 PM UTC-4, Erick wrote: > > It seems that user "dashboard" doesn't have enough permissions on the > database. > > -- > > > Cel : 511-997823451 > Blog : http://piobox.blogspot.com/ > LUG : http://

Re: [Puppet Users] agent prepend every line with var

2013-06-06 Thread David Schmitt
Either add a "| logger ..." or you really have to get fancy, add a report processor and do your own logging in ruby at the end of the agent run. I haven't seen a way to actually attach to the logging itself. But then, I haven't looked very hard either. Regards, David On 2013-06-05 22:28, Ma

[Puppet Users] Re: Puppet freeze on select

2013-06-06 Thread Rudy Gevaert
Try to upgrade to a more recent facter. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send em