[Puppet Users] Re: Announce: PuppetDB 1.5.0 Available

2013-10-01 Thread Daniele Sluijters
Oh goody this looks awesome. -- Daniele Sluijters On Tuesday, 1 October 2013 01:56:49 UTC+2, Chris Price wrote: PuppetDB 1.5.0 is now available for download! This is a new feature release that contains a few bug-fixes as well. = ## Downloads ## = Available

[Puppet Users] Re: Puppet ignores schedules

2013-10-01 Thread jamido
Hi John, sorry for the late response - of course, schedules allow resources to be applied in the window. but after upgrading puppet from 0.25.4 to 3.2.4 some schedules are always ignored and resources gets never applied. It does not happen on all hosts ~250, only on some ~5. Jan -- You

[Puppet Users] Re: [Puppet-dev] Re: Announce: PuppetDB 1.5.0 Available

2013-10-01 Thread Erik Dalén
indeed, should make it a lot easier to create performant interfaces to it. Time to update all the query tools and libraries it looks like :) On 1 October 2013 09:19, Daniele Sluijters daniele.sluijt...@gmail.comwrote: Oh goody this looks awesome. -- Daniele Sluijters On Tuesday, 1

Re: [Puppet Users] best practice for managing multiple stanzas within a config file?

2013-10-01 Thread Erik Dalén
Looks like it is the inifile format, so take a look at https://github.com/puppetlabs/puppetlabs-inifile On 1 October 2013 00:35, Thomas thomas.e.ke...@gmail.com wrote: What is the best way to manage multiple stanza within a config file? For a splunk configuration file (inputs.conf) I need to

[Puppet Users] Re: [Puppet-dev] Announce: PuppetDB 1.5.0 Available

2013-10-01 Thread Daniele Sluijters
It's not just the Precise packages that are missing. The complete Debian suite is missing too, squeeze, wheezy, jessy and sid. On Tuesday, 1 October 2013 04:59:16 UTC+2, blkperl wrote: No packages for precise/raring? Its missing debs for 1.5.0. Lucid seems fine Thanks, William On Mon,

[Puppet Users] Including files in a template

2013-10-01 Thread Tom Noonan
Hello, folks: I want to include a file into my templates to deduplicate code. However, I'm running into problems with the module path. If I try to include the relative path with code like the following it fails: # Fails require 'foo.rb' However, a fully qualified path succeeds: #

[Puppet Users] mco puppet status returns twice the same node

2013-10-01 Thread steph
Hi everyone I'm having a strange behavior. The mco puppet status and count commands return that 3 agents are known, but 2 are the same node (epd9023). When trying to disable/enable the epd9023, then only 1 is detected... Has someone any idea? Thanx in advance Steph root@epd9112:~# mco puppet

[Puppet Users] Re: [Puppet-dev] Announce: PuppetDB 1.5.0 Available

2013-10-01 Thread Ken Barber
Hmm ... thanks for letting us know. My humblest apologies, we'll get the updates out for those distro releases ASAP. As Daniele mentioned, on apt.puppetlabs.com it seems only lucid is available now, the others releases are missing. ken. On Tue, Oct 1, 2013 at 9:56 AM, Daniele Sluijters

[Puppet Users] Re: Including files in a template

2013-10-01 Thread Sneha More
Hi, You can use here the concept of partial template. Try including %= scope.function_template(foo.rb) % This may help you, please refer http://somethingsinistral.net/blog/partial-templates-with-puppet/ Here is the link, someone has faced the similar issue as including file in template,

[Puppet Users] Re: Puppet ignores schedules

2013-10-01 Thread jcbollinger
On Tuesday, October 1, 2013 2:58:36 AM UTC-5, jamido wrote: Hi John, sorry for the late response - of course, schedules allow resources to be applied in the window. but after upgrading puppet from 0.25.4 to 3.2.4 some schedules are always ignored and resources gets never applied. It

[Puppet Users] Re: How to deploy excecute script remotely

2013-10-01 Thread jcbollinger
On Monday, September 30, 2013 7:58:16 AM UTC-5, Raju Patil wrote: I didnt see file resource to deploy the file and then exec option on Puppet master. Is there any plugin I have to installed on Master then these two options will be visible on Puppet master dashboard. Or I have to do the

Re: [Puppet Users] PuppetDB 1.4.0 on OpenSuSE

2013-10-01 Thread Jeffrey Watts
Ken, here's my puppet.conf: [main] logdir = /var/log/puppet modulepath = /etc/puppet/modules rundir = /var/run/puppet ssldir = $vardir/ssl [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig server = puppetmaster.example.com show_diff = true

Re: [Puppet Users] f5 module usage/debugging tips?

2013-10-01 Thread Gavin Williams
All Just a quick note to confirm that this issue has been fixed in 3.3.1. I've just installed 3.3.1 rc2, and have been able to successfully create a new iRule on a v11 F5 device using Puppet. So now to try and sort out v11 support :) Cheers Gavin On Tuesday, 30 July 2013 07:57:19 UTC+1,

[Puppet Users] Re: Including files in a template

2013-10-01 Thread jcbollinger
On Tuesday, October 1, 2013 7:02:00 AM UTC-5, Sneha More wrote: Hi, You can use here the concept of partial template. Try including %= scope.function_template(foo.rb) % This may help you, please refer http://somethingsinistral.net/blog/partial-templates-with-puppet/ Here is the

AW: [Puppet Users] Re: Puppet ignores schedules

2013-10-01 Thread Doleschal, Jan (LGL)
Hi John, Fix it. It was a Problem with the ruby version. Updated ruby from 1.8.7 to ruby 2.0 everything works fine now. I can only repeat myself, scheduled resources never gets applied. The other problem was that the old puppet option ignoreschedule ignored all schedules. With puppet 3.2.4

Re: [Puppet Users] mco puppet status returns twice the same node

2013-10-01 Thread Matt Zagrabelny
On Tue, Oct 1, 2013 at 1:56 AM, st...@ouestil.ch wrote: Hi everyone I'm having a strange behavior. The mco puppet status and count commands return that 3 agents are known, but 2 are the same node (epd9023). When trying to disable/enable the epd9023, then only 1 is detected... Has someone

[Puppet Users] modulepath ordering question

2013-10-01 Thread John Simpson
Greetings. I'm running Puppet 3.2.4 with Foreman 1.2.1. I have environments set up like so: [eng] modulepath = /etc/puppet/environments/eng/modules:/etc/puppet/environments/common:/usr/share/puppet/modules [jms1] modulepath =

Re: [Puppet Users] mco puppet status returns twice the same node

2013-10-01 Thread steph
On Tuesday, October 1, 2013 3:38:25 PM UTC+2, Matt Zagrabelny wrote: On Tue, Oct 1, 2013 at 1:56 AM, st...@ouestil.ch javascript: wrote: Hi everyone I'm having a strange behavior. The mco puppet status and count commands return that 3 agents are known, but 2 are the same node

[Puppet Users] Newbie basic parameterized class usage question

2013-10-01 Thread Patrick Spinler
I'd like to create and call a parameterized class from another class, both in modules. Here's what I'm trying to do: First, my module path: ap00375@ROFTMA901A ~ $ sudo puppet apply --configprint modulepath /modules:/shares/nfs/unixnoarch/config/puppet:/shares/nfs/unixnoarch/config/puppet/linux

[Puppet Users] Still no nagios joy

2013-10-01 Thread David Thompson
I continue to be unable to get puppetdb to create nagios resources. I have a very standard nagios host definition: notify {Nagios Base: $fqdn $hostname $ipaddress: } @@nagios_host { $fqdn: ensure = present, alias = $hostname, address = $ipaddress,

[Puppet Users] Re: [Puppet-dev] Announce: PuppetDB 1.5.0 Available

2013-10-01 Thread Matthaus Owens
Sorry about that. Something went awry in the ship of 1.5.0. We've updated the apt repos and 1.5.0 is now there for all of the debian and ubuntu flavors. And as Ken said, thanks for letting us know! On Tue, Oct 1, 2013 at 3:47 AM, Ken Barber k...@puppetlabs.com wrote: Hmm ... thanks for letting

[Puppet Users] Odd (fatal) error noted in logs

2013-10-01 Thread Peter Berghold
What does Could not prefetch package provider 'apt': invalid byte sequence in US-ASCII mean exactly? This started showing up in the logs of some of my servers... -- Peter L. Berghold salty.cowd...@gmail.com http://blog.berghold.net -- You received this message because

[Puppet Users] Re: [Puppet-dev] Announce: PuppetDB 1.5.0 Available

2013-10-01 Thread Chris Price
Someone kindly pointed out that the link to the docs in the original release e-mail was pointing to an older version of the docs. The correct link is: http://docs.puppetlabs.com/puppetdb/1.5 On Tue, Oct 1, 2013 at 10:11 AM, Matthaus Owens matth...@puppetlabs.comwrote: Sorry about that.

RE: [Puppet Users] Odd (fatal) error noted in logs

2013-10-01 Thread Ayers, Mike
From: puppet-users@googlegroups.com [mailto:puppet- us...@googlegroups.com] On Behalf Of Peter Berghold What does Could not prefetch package provider 'apt': invalid byte sequence in US-ASCII mean exactly? This started showing up in the logs of some of my servers... If a file is

[Puppet Users] Pulling my hair out with CA proxying

2013-10-01 Thread Pete Hartman
I am trying to establish what looks like a common pattern for scaling puppet. My main departure is that I'm using an F5 rather than an apache load balancer. Namely, I want to have my puppet agents go through the F5 to a pool of master only systems, and any Certificate activity to get proxied

Re: [Puppet Users] Odd (fatal) error noted in logs

2013-10-01 Thread Peter Berghold
Now I'm really confused... I use emacs and vi exclusively and neither of those should be US-ASCII. This leads me to wonder which file. Is it the provider itself or ??? On Tue, Oct 1, 2013 at 2:57 PM, Ayers, Mike mike_ay...@cable.comcast.comwrote: From: puppet-users@googlegroups.com

Re: [Puppet Users] Odd (fatal) error noted in logs

2013-10-01 Thread David Schmitt
Actually, the ruby code for the apt provider is UTF-8 (most probably it has the BOM at the beginning). Puppet will ONLY run under an UTF-8 using locale. This is thanks to the Great Idea[tm] of the ruby interpreter that only allows source code in the locale of the running process. Regards,

Re: [Puppet Users] Odd (fatal) error noted in logs

2013-10-01 Thread Simon Oakes
I also have been experiencing this same issue since puppet version 3.3.0-1 (latest) as well as with RC2 in the devel repo. With the previous version of 3.2.4-1 this behaviour was not present. After doing some testing/research the other day, I found that if you force locales to en_US.UTF-8 before

Re: [Puppet Users] Re: Including files in a template

2013-10-01 Thread Tom Noonan
% require File.dirname(__FILE__) + /foo.rb % This suits my needs perfectly. Thanks! On Tue, 1 Oct 2013 06:32:15 -0700 (PDT) jcbollinger john.bollin...@stjude.org wrote: On Tuesday, October 1, 2013 7:02:00 AM UTC-5, Sneha More wrote: Hi, You can use here the concept of partial

Re: [Puppet Users] Pulling my hair out with CA proxying

2013-10-01 Thread Pete Hartman
I have to do more testing to determine for certain, but it appears to have been some combination of 1) the order in which modules were loaded, and 2) not having mod_proxy_http loaded. On Tue, Oct 1, 2013 at 2:39 PM, Pete Hartman pete.hart...@gmail.com wrote: I am trying to establish what

Re: [Puppet Users] firewallchain issues w/ 1.0.0 release

2013-10-01 Thread Robin Lee Powell
It turns out that it has to be :filter:, not :FILTER: as the docs state. -Robin On Wed, Nov 14, 2012 at 01:23:36PM -0500, oogs wrote: Hi, Yes, I did! I can create rules at will, the problem is that I can't create chains using firewallchain. Here's another snippet from my class: