[Puppet Users] export concat::fragments does not work

2014-10-06 Thread Vincent Miszczak
Hello, I need to export concat::fragment on some nodes and gather the results on some other. To create the export I do something like : @@concat::fragment{/myfile-$fqdn: target=/myfile } but on the export node I get : Invalid relationship [...] because Exec[concat_/myfile] doesn't seem to

Re: [Puppet Users] puppetdb has no tables

2014-10-06 Thread Ken Barber
When I have a look at the logs I see that I'm getting password authentication failures for the puppetdb user: [root@puppet:/etc/puppet] #tail -30 /var/log/puppetdb/puppetdb.log 2014-10-05 16:25:36,339 ERROR [c.j.b.h.AbstractConnectionHook] Failed to acquire connection Sleeping for 7000ms

[Puppet Users] Re: export concat::fragments does not work

2014-10-06 Thread Klavs Klavsen
You must define the concat for /myfile as well on all servers. I've switched to file_concat for these things, and it helped me - and you might not need to define it with that module.. give it a whirl. concat module has several deficiencies which all seemed to be very well resolved by the

Re: [Puppet Users] puppetdb has no tables

2014-10-06 Thread Ken Barber
When I have a look at the logs I see that I'm getting password authentication failures for the puppetdb user: [root@puppet:/etc/puppet] #tail -30 /var/log/puppetdb/puppetdb.log 2014-10-05 16:25:36,339 ERROR [c.j.b.h.AbstractConnectionHook] Failed to acquire connection Sleeping for 7000ms

Re: [Puppet Users] Error 500

2014-10-06 Thread jcbollinger
On Friday, October 3, 2014 9:06:09 AM UTC-5, Brian Morris wrote: I was wrong, Jonathan. That error is actually somewhere in a manifest. You can troubleshoot it the same way, though. Just start commenting out sections of code in the order that your manifests are invoked in, until you find

[Puppet Users] Hiera No implicit conversion of string into hash

2014-10-06 Thread Dan Gibbons
Hi, I've got a fresh new puppet installation running but I can't seem to get hiera working with the following setup: OS: RHEL 6.5 Puppet Master: 3.7.1 Ruby: 2.0.0-p576 Hiera: 1.3.4 HIERA.YAML Hiera.yaml --- :hierarchy: - %{environment} - common :backends: - yaml :yaml: :datadir:

[Puppet Users] Re: Hash of hashes to file template

2014-10-06 Thread jcbollinger
On Sunday, October 5, 2014 5:55:55 PM UTC-5, Ciro Iriarte wrote: Hi!, I'm starting to work with hiera and file templates, how would be the best way to transform this hiera output: myanycast::bird::ospf: myinstance: tick: 2 rfc1583compat: 'yes' export: 'all' area:

Re: [Puppet Users] custom function error undefined local variable

2014-10-06 Thread Mark Rosedale
Still haven't been able to hunt down the cause of this issue. Is there a way to test the code with the puppet wrapping on the cli? On Friday, October 3, 2014 3:41:57 PM UTC-4, Mark Rosedale wrote: Wil, Thanks for the reply. I will look up the module functions you reference. Though, part

Re: [Puppet Users] custom function error undefined local variable

2014-10-06 Thread José Luis Ledesma
Credits go to Nan Liu: If you are developing facts, it's much easier to just drop into IRB and get everything working there rather than doing round trip debugging between puppet and facter: irb(main):001:0 require 'facter' = true irb(main):002:0 Facter.value(hostname) = demo-1

Re: [Puppet Users] Arbitrary facts - Best practices?

2014-10-06 Thread Ciro Iriarte
El jueves, 2 de octubre de 2014 13:12:02 UTC-4, Ciro Iriarte escribió: El jueves, 2 de octubre de 2014 10:51:58 UTC-4, Christopher Wood escribió: On Thu, Oct 02, 2014 at 07:18:24AM -0700, Ciro Iriarte wrote: El viernes, 26 de septiembre de 2014 15:21:19 UTC-4, Christopher Wood

Re: [Puppet Users] custom function error undefined local variable

2014-10-06 Thread Sebastiaan van Steenis
What version are you running? And what is the output if you try to call the function as you have it now? On 06 Oct 2014, at 19:07, José Luis Ledesma joseluis.lede...@gmail.com wrote: Credits go to Nan Liu: If you are developing facts, it's much easier to just drop into IRB and get

[Puppet Users] Announce: Puppet Server 0.2.2

2014-10-06 Thread Nate Wolfe
Puppet Server 0.2.2 is a bugfix release. The following bugs and issues are addressed in this release: * SERVER-13 [1]: Fix for file descriptor leak when using an https report processor such as PuppetDB or Foreman * HTTPS client connections created by Puppet Server now use the CA cert specified

[Puppet Users] stdlib keys()

2014-10-06 Thread Juan Andres Ramirez
Hello guys, I have the next problem to get value of keys from hieradata(common.yaml) 1- I have common.yaml : host_key: - server1: alias: webserver ipadress: 192.168.0.4 port : 80 - server2: alias: dbserver ipadress: 192.168.0.5 port : 80 2) init.pp

[Puppet Users] Re: Hash of hashes to file template

2014-10-06 Thread Ciro Iriarte
El lunes, 6 de octubre de 2014 10:52:05 UTC-3, jcbollinger escribió: On Sunday, October 5, 2014 5:55:55 PM UTC-5, Ciro Iriarte wrote: Hi!, I'm starting to work with hiera and file templates, how would be the best way to transform this hiera output: myanycast::bird::ospf: myinstance:

Re: [Puppet Users] stdlib keys()

2014-10-06 Thread Felix Frank
On 10/06/2014 08:29 PM, Juan Andres Ramirez wrote: host_key: - server1: alias: webserver ipadress: 192.168.0.4 port : 80 - server2: alias: dbserver ipadress: 192.168.0.5 port : 80 The keys function works on hashes only. Rather than [ { server1 = undef, alias

Re: [Puppet Users] puppetdb has no tables

2014-10-06 Thread Tim Dunphy
hey ken, Thanks again for your help. I changed the password on a temporary basis to an absurdly simple one. I'm both happy to say that puppetdb is working now. And sad to have taken up your time with this. Sorry about that. But after changing to the absurdly simple password and then being

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

2014-10-06 Thread Sans
Hi Gavin, I know it's almost a 2 yrs. old thread but I'm still getting the very same *Could not find a suitable provider for domain* error. Did you able to solve the this prob at all in the end? Best! On Wednesday, October 24, 2012 9:36:33 PM UTC+1, Gavin Williams wrote: Stefan Cheers

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

2014-10-06 Thread Sans
Hi Gavin, I know it's almost a 2 yrs. old thread but I'm still getting the very same *Could not find a suitable provider for domain* error. Did you able to solve the this prob at all in the end? Best! -- You received this message because you are subscribed to the Google Groups Puppet Users

[Puppet Users] beaker ec2 example, should this work?

2014-10-06 Thread Brett Swift
I've seen how the puppetdb module uses ec2 to execute beaker tests. I've tried setting this up as well and am getting some errors. Is there a working example of using the different hypervisors? I see this: https://github.com/puppetlabs/beaker/wiki/Creating-A-Test-Environment#ec2-support

[Puppet Users] centos 7 boxes on vagrant cloud?

2014-10-06 Thread Chris Handy
Hey all, I was wondering when there will be official centos 7 boxes from puppet labs on https://vagrantcloud.com/puppetlabs? Also it would be nice to have a link on the puppet vagrant cloud homepage to what repo these boxes are generated from like the chef project does to

Re: [Puppet Users] Re: Hash of hashes to file template

2014-10-06 Thread Henrik Lindberg
On 2014-06-10 20:47, Ciro Iriarte wrote: El lunes, 6 de octubre de 2014 10:52:05 UTC-3, jcbollinger escribió: On Sunday, October 5, 2014 5:55:55 PM UTC-5, Ciro Iriarte wrote: Hi!, I'm starting to work with hiera and file templates, how would be the best way to transform

Re: [Puppet Users] puppetdb has no tables

2014-10-06 Thread Ken Barber
Thanks again for your help. I changed the password on a temporary basis to an absurdly simple one. I'm both happy to say that puppetdb is working now. And sad to have taken up your time with this. Sorry about that. No problem mate, glad it was something simple in the end :-). ken. -- You

Re: [Puppet Users] beaker ec2 example, should this work?

2014-10-06 Thread Ken Barber
I've seen how the puppetdb module uses ec2 to execute beaker tests. I've tried setting this up as well and am getting some errors. Is there a working example of using the different hypervisors? I see this: https://github.com/puppetlabs/beaker/wiki/Creating-A-Test-Environment#ec2-support

Re: [Puppet Users] beaker ec2 example, should this work?

2014-10-06 Thread Ken Barber
I've seen how the puppetdb module uses ec2 to execute beaker tests. I've tried setting this up as well and am getting some errors. Is there a working example of using the different hypervisors? I see this: https://github.com/puppetlabs/beaker/wiki/Creating-A-Test-Environment#ec2-support

Re: [Puppet Users] beaker ec2 example, should this work?

2014-10-06 Thread brettsw...@gmail.com
I was just testing the host config file from puppetdb coupled with the documentation on the beaker documentation. I was actually going to omit the error message. That's actually all of it except for the json output of the compiled beaker configs. I can send the full output in the morning.

Re: [Puppet Users] beaker ec2 example, should this work?

2014-10-06 Thread Ken Barber
I was just testing the host config file from puppetdb coupled with the documentation on the beaker documentation. Those docs honestly look old, they are still mentioning blimpy which I effectively deprecated/superseded with the aws_sdk driver. I was actually going to omit the error message.

Re: [Puppet Users] beaker ec2 example, should this work?

2014-10-06 Thread Justin Stoller
On Mon, Oct 6, 2014 at 6:44 PM, Ken Barber k...@puppetlabs.com wrote: I was just testing the host config file from puppetdb coupled with the documentation on the beaker documentation. Those docs honestly look old, they are still mentioning blimpy which I effectively deprecated/superseded