Re: [Puppet Users] Hiera gem load path

2014-10-05 Thread Cristian Falcas
Most probably because of the path to hiera.yaml file. /etc/hiera.yaml should be a symlink to /etc/puppet/hiera.yaml On Fri, Oct 3, 2014 at 1:30 AM, Erinn Looney-Triggs erinn.looneytri...@gmail.com wrote: I am having a tough time finding an answer to this, probably due to my lack of

[Puppet Users] Re: Hiera gem load path

2014-10-05 Thread Clayton O'Neill
Are you using Puppet Enterprise? If so, it ships with its own version of Ruby, and you need to make sure the hiera-eyaml gem is installed in that ruby installation also. On Friday, October 3, 2014 6:58:41 AM UTC-4, Erinn Looney-Triggs wrote: I am having a tough time finding an answer to

[Puppet Users] Is there a puppet module for installing Zookeeper in cluster mode?

2014-10-05 Thread Anastasios Zouzias
Hi there, I am looking for a puppet module that is able to install a zookeeper cluster with three (say) servers/nodes. From puppetlabs, I found the following module which unfortunately does not work out of the shelf: https://forge.puppetlabs.com/viirya/zookeeper Does anybody know if there

Re: [Puppet Users] Is there a puppet module for installing Zookeeper in cluster mode?

2014-10-05 Thread Jeremy T. Bouse
Hi there, I have written both Zookeeper and Solr4 puppet modules; however, currently as it was done on company time/resources and they have yet to establish/approve an Open-Source policy we're unable to share it without violating our employment contracts. We have done everything we can to be

Re: [Puppet Users] puppetdb has no tables

2014-10-05 Thread Ken Barber
I've installed puppetdb on my puppetmaster. I have puppet-server-3.7.1, puppetdb-2.2 and puppetdb-terminus-2.2. I've setup puppetdb like this: [root@puppet:/etc/puppet] #cat /etc/puppetdb/conf.d/database.ini [database] classname = org.postgresql.Driver subprotocol = postgresql subname =

Re: [Puppet Users] puppetdb has no tables

2014-10-05 Thread Christopher Wood
On Sun, Oct 05, 2014 at 08:41:18PM +0100, Ken Barber wrote: I've installed puppetdb on my puppetmaster. I have puppet-server-3.7.1, puppetdb-2.2 and puppetdb-terminus-2.2. I've setup puppetdb like this: [root@puppet:/etc/puppet] #cat /etc/puppetdb/conf.d/database.ini [database]

Re: [Puppet Users] puppetdb has no tables

2014-10-05 Thread Tim Dunphy
Hello and thanks for your reply. Actually I take back what I said about it working. I still have the config above in place. And I did complete a run successfully on the puppet server itself. But when I looked at all the clients (I'm using foreman) I saw the clients were failing runs. So I went

[Puppet Users] Hash of hashes to file template

2014-10-05 Thread Ciro Iriarte
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: 990: stub: 'no' interface: eth0:

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

2014-10-05 Thread Poil
Hi, Something like this : |%if @ospf and @||ospf!= -% %@||ospf.sort.mapdo |iname,instance| -%| | |protocol ospf % iname =%: (...) But I think you can probably use create_resource() Best regards, Le 06/10/2014 00:55, Ciro Iriarte a écrit : Hi!, I'm starting to work with hiera