Re: [Puppet Users] Re: Problem with hiera arrays not obeying the hierachy

2012-09-04 Thread Josh
On Monday, September 3, 2012 5:11:23 PM UTC+1, Aaron Grewell wrote: > > The hiera function works as you described and supports strings, arrays and > hashes. The hiera_array and hiera_hash functions build additive arrays and > hashes that include the values of all matching variables across the ent

Re: [Puppet Users] Re: Trying to setup puppetdbquery on puppet-3.0.0-rc5

2012-09-04 Thread Erik Dalén
I've released a new version now that contains a fix for this, thanks for the report. On 1 September 2012 11:03, Erik Dalén wrote: > I'll try to take a look at this during the weekend and see if I can > create something that is compatible with both puppet 2.7 and 3.0. Can > probably try to make th

[Puppet Users] wollviech / puppet-drbd module

2012-09-04 Thread OXS007
Help needed configuring the wollviech / puppet-drbd module. I get an error from puppet stating; Could not find resource 'Kern_module[sha512_generic]' for relationship on 'Service[drbd]' on node1.example.com puppet-master Could not retrieve catalog from remote server: Error 400 on server. A pus

Re: [Puppet Users] How to subscribe to an exported resource?

2012-09-04 Thread Marc Haber
On Thu, Aug 16, 2012 at 01:27:04PM +0200, Marc Haber wrote: > On Wed, Aug 15, 2012 at 08:34:03PM +0200, Marc Haber wrote: > > On Tue, Aug 14, 2012 at 07:58:21PM +0100, Stephen Gran wrote: > > > The classic is: > > > https://github.com/ripienaar/puppet-concat > > > > So that is a module that would

[Puppet Users] Re: Literal @ character in erb template

2012-09-04 Thread jcbollinger
On Friday, August 31, 2012 3:37:48 PM UTC-5, Krzysztof Wilczynski wrote: > > Hi, > > Works fine for me: > >>> More generally, the underlying ERB engine will treat anything in your template but outside ERB blocks (delimited by <% %> or <%= %> or <%# %>) as literal text, except for <%% (which is

Re: [Puppet Users] Re: Problem with hiera arrays not obeying the hierachy

2012-09-04 Thread Josh
On Tuesday, September 4, 2012 9:10:57 AM UTC+1, Josh wrote: > > What is the behaviour regarding hash keys? Would a merged hash that ends > up with a duplicate key take the value from higher up the hierarchy > Have answered my own question. The answer to this is yes (for the benefit of people who

Re: [Puppet Users] Re: permission denied errors on /var/lib/puppet stuff during puppetd -t

2012-09-04 Thread jcbollinger
On Sunday, September 2, 2012 12:33:49 AM UTC-5, Dan wrote: > > disabling selinux is never the solution > > On Sat, Sep 1, 2012 at 7:16 PM, purple grape > > wrote: > >> just disable selinux . >> > Well, I do prefer to set selinux to non-enforcing mode instead of actually disabling it, but I don

[Puppet Users] Re: wollviech / puppet-drbd module

2012-09-04 Thread Wolfgang Miedl
This was an issue with the module not being sufficiently ported from our internal environment to the more or less self-contained version available on Github, and should be fixed now. Rgrds, W -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] Get a list of (some) resources name

2012-09-04 Thread Maxence Dunnewind
Hi, I'm moving our monitoring configuration from custom-script to puppet. One of my main issue is that I have some nagios groups with many host on them. For exemple, a group for all host which have a munin-node running, a group for the others, etc ... So, my goal is to be able to make a nagios_hos

[Puppet Users] Re: Class for transfering files from Server to Client

2012-09-04 Thread jcbollinger
On Monday, September 3, 2012 8:38:49 AM UTC-5, Dom wrote: > > Hi Ajeet, > > Instead of using puppet for these steps, I would recommend the native > package management for your operating system, then use puppet to distribute > and maintain versions. For instance, RPM was designed to do all the

[Puppet Users] Re: Version control design for puppet and data (hiera) repositories

2012-09-04 Thread Martijn
Good question. I'm wondering about that as well. My setup works for my small team, but is admittedly far from perfect. I currently have two Git repo's, one for my nodes.pp and another for my modules. Both repo's have three branches; development, testing and master. I've created environments on m

[Puppet Users] Re: Puppet presentation at the Den Bosch Linux Users Group (The Netherlands)

2012-09-04 Thread Martijn
Interesting! As a Puppet user working in Den Bosch I guess I'll come take a look. I don't know what the goal of the talk is, but it'll be nice to meet some fellow users in the area. Regards, Martijn Op vrijdag 31 augustus 2012 04:03:06 UTC+2 schreef Emilien Klein het volgende: > > Hi Puppet co

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-09-04 Thread Sandra Schlichting
Hi Chad > Sorry, Sandra, I started to add a comment at the bottom with usage, > but apparently I never saved it. Although the script can do user keys > as well, this just addresses host keys. I have a cron script that > generates the known hosts file as well: > [snip] Wow. Easy and simple

[Puppet Users] Enterprise puppet and VMware VM deployment

2012-09-04 Thread hai wu
Does Enterprise Puppet use VSphere SDK API to deploy VMware VM? If not, what does it use? On 8/30/12, steeef wrote: > I'm in the process of migrating data out of my standard Puppet repositories > > for modules and manifests, and I'm having second thoughts about my original > > design. I'd appreci

Re: [Puppet Users] Enterprise puppet and VMware VM deployment

2012-09-04 Thread Jeff McCune
On Tuesday, September 4, 2012, hai wu wrote: > Does Enterprise Puppet use VSphere SDK API to deploy VMware VM? If > not, what does it use? Cloud Provisioner uses the vsphere API through the Fog and rbvmomi libraries. -Jeff -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Puppet file copy

2012-09-04 Thread Bai Shen
Along with everything else that was pointed out, it turned out that I was using a node with the same name as my module, and therefore it was not being called. On Fri, Aug 31, 2012 at 2:23 PM, Josh Cooper wrote: > On Fri, Aug 31, 2012 at 10:03 AM, Ramin K wrote: > > On 8/31/2012 7:18 AM, Bai She

[Puppet Users] Module critique

2012-09-04 Thread Bai Shen
I've gotten an install of solr working, but it's pretty much a hack job at the moment. If y'all could give me your thoughts on how to improve my setup, I'd appreciate it. apache-tomcat is an rpm of Tomcat 7 that references the oracle jdk instead of openjdk. Thanks. class solr { service

[Puppet Users] Re: Literal @ character in erb template

2012-09-04 Thread banjer
The puppet error was: err: Failed to apply catalog: Parameter source failed: Could not understand source # This file managed by Puppet Sorry for not seeing that error before...I kept looking at the "Bad URI" error message which I posted in my original email. So anyway, it turns out I was u

[Puppet Users] Display partitions with facter and the inventory database

2012-09-04 Thread Stephan
Hi, if anyone is interested, here's a way to get kind of a report of hard disks that are spilling over with the help of facter and the use of the facts inventory DB. I'm using this fact called mounts.rb (can't remember where I got it from, just remember that I had to change df #{mount} to df -

[Puppet Users] Re: trouble with catalog with Foreman as ENC

2012-09-04 Thread confused
Nothing? I'm able to reproduce this problem without using Foreman. If I add a new class to a host in Puppet's site.pp, I still get 'Could not retrieve catalog from remote server: Error 400 on SERVER' message. Would really appreciate any pointers on troubleshooting this problem. My existing c

Re: [Puppet Users] Re: trouble with catalog with Foreman as ENC

2012-09-04 Thread R.I.Pienaar
- Original Message - > From: "confused" > To: puppet-users@googlegroups.com > Sent: Tuesday, September 4, 2012 5:51:57 PM > Subject: [Puppet Users] Re: trouble with catalog with Foreman as ENC > > > Nothing? I'm able to reproduce this problem without using Foreman. If > I add a new cla

Re: [Puppet Users] Re: trouble with catalog with Foreman as ENC

2012-09-04 Thread confused
Thank you, that was very helpful. Now I need to work through: err: /Stage[main]/Connexity_apt/File[/etc/apt/sources.list.d/connexity.list]: Could not evaluate: getaddrinfo: Name or service not known Could not retrieve file metadata for puppet://modules/connexity_apt/connexity.list: getaddrin

Re: [Puppet Users] Re: trouble with catalog with Foreman as ENC

2012-09-04 Thread Sam Kottler
That means that modules/connexity_apt/files/connexity.list doesn't exist. -Sam On Tue, Sep 4, 2012 at 2:01 PM, confused wrote: > Thank you, that was very helpful. > > Now I need to work through: > err: > /Stage[main]/Connexity_apt/File[/etc/apt/sources.list.d/connexity.list]: > Could not evalua

Re: [Puppet Users] Problem with hiera arrays not obeying the hierachy

2012-09-04 Thread Wolf Noble
I believe hiera_array() collects and provides an array of all the relevant elements up the entirety of the tree. To collect only the most relevant data just use hiera() On Sep 3, 2012, at 10:21 AM, Josh wrote: > Versions: puppet 2.7.18, hiera 0.3.0 > > I have encountered a problem that is c

[Puppet Users] Re: Facter does not deliver ip addresses

2012-09-04 Thread joseph
I have the same issue. Did you find a solution? Joseph On Monday, August 20, 2012 11:19:39 AM UTC+3, Axel Bock wrote: > > Hi readers, > > another problem of mine. A host which worked just fine on friday is now > not able to find out its own IP address. The reason is pretty simple as far > as

[Puppet Users] Does certification make sense for non-PE users?

2012-09-04 Thread R. Tyler Croy
Subject really says it all. I took the practice exam linked from @PuppetLabs and I was a little bit surprised/caught-off-guard by the number of either PE or Console questions, neither of which I've ever used :-! I am taking the developer exam though, so I'm sure that will be at least a little diff

[Puppet Users] Re: Does certification make sense for non-PE users?

2012-09-04 Thread Christy
Hi R. Tyler, Both the Puppet Professional and Puppet Developer exams include questions about Puppet Open Source and Puppet Enterprise. However, many of the Puppet Enterprise-specific questions will be applicable to Puppet Open Source because Puppet Enterprise is based on Puppet Open Source. Sin

[Puppet Users] Re: Facter does not deliver ip addresses

2012-09-04 Thread Eric Sorenson
Hi Axel - what OS? What version of Facter? What does the output of your 'ifconfig -a' (or local equivalent) look like? Could you please run 'facter --debug' and pastebin the output somewhere? On Monday, August 20, 2012 1:19:39 AM UTC-7, Axel Bock wrote: > > Hi readers, > > another problem of mi

Re: [Puppet Users] Re: Trying to setup puppetdbquery on puppet-3.0.0-rc5

2012-09-04 Thread Chuck
Thanks, I have tested it on my puppet 3.0 rc-5 master is working great now. On Tuesday, September 4, 2012 3:44:10 AM UTC-5, Erik Dalén wrote: > > I've released a new version now that contains a fix for this, thanks > for the report. > > On 1 September 2012 11:03, Erik Dalén > > wrote: > >

Re: [Puppet Users] Re: trouble with catalog with Foreman as ENC

2012-09-04 Thread confused
Got it, thanks. I appreciate the assistance. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Byoko1rC37QJ. To post to this group, send email to puppet