Re: [Puppet Users] Variable interpolation challenge

2014-08-27 Thread José Luis Ledesma
Hi, You can also use getvar or inline_template. Regards El 27/08/2014 18:00, "Henrik Lindberg" escribió: > On 2014-27-08 15:02, Gav wrote: > >> Aaron, have you had problems with this in Puppet 3? Using similar code >> in 3.6.0 does not return the fact value. >> >> Cheers, >> Gavin >> >> On Tues

Re: [Puppet Users] Puppet Error during Yum execution

2014-08-27 Thread Cosmin Lehene
This is extremely confusing. Yum helper should output the entire error. On Thursday, August 25, 2011 8:10:09 PM UTC-6, LenR wrote: > > You can confirm that by trying to run yum outside of puppet. > > On Thu, Aug 25, 2011 at 8:42 AM, R.I.Pienaar > > wrote: > >> >> >> - Original Message - >

Re: [Puppet Users] Re: Announce: Facter 2.2.0

2014-08-27 Thread Kylo Ginsberg
On Tue, Aug 26, 2014 at 11:57 PM, Daniele Sluijters < daniele.sluijt...@gmail.com> wrote: > Hey, > > I agree with the spirit of the fix but the fact that it isn't mentioned > anywhere in the release notes is a bit annoying. > Yep, it's a release notes fail, and it happened because we didn't track

[Puppet Users] Report processor failed: wrong status line: ""

2014-08-27 Thread Brian Wilkins
I am seeing this issue every time puppet runs. I am using Puppet Dashboard. I have reports being delivered via https and my puppetmaster runs in Passenger. I see to have configured everything correctly and even copied over the proper ruby scripts to their directories to get https to work. Any i

Re: [Puppet Users] PuppetDB connection issue - Failed to connect!!

2014-08-27 Thread Matthias Raithel
For the next one hitting this - in my case this was related to a old version of the puppetdb module (v2.0.0) which queried a URL that was no longer existent. Updating the module cleared the error right up. The module was previousely not update because of a dependency lockup through puppetlabs/

Re: [Puppet Users] Order preference for defines

2014-08-27 Thread jcbollinger
On Wednesday, August 27, 2014 2:05:29 PM UTC-5, Christopher Wood wrote: > > Ordering! > > https://docs.puppetlabs.com/learning/ordering.html > https://docs.puppetlabs.com/puppet/latest/reference/lang_relationships.html > https://docs.puppetlabs.com/references/latest/metaparameter.html > > +1

[Puppet Users] Re: Testing with rspec-puppet and ripienaar/module_data

2014-08-27 Thread Matthew Haughton
I worked it out - here's the solution for anyone who might stumble across this: In spec/spec_helper.rb: require 'fixtures/modules/module_data/lib/hiera/backend/module_data_backend.rb'RSpec.configure do |c| c.hiera_config = File.join('spec', 'fixtures', 'hiera', 'hiera.yaml')end In spec/

Re: [Puppet Users] Order preference for defines

2014-08-27 Thread Christopher Wood
Ordering! https://docs.puppetlabs.com/learning/ordering.html https://docs.puppetlabs.com/puppet/latest/reference/lang_relationships.html https://docs.puppetlabs.com/references/latest/metaparameter.html Probably a "requires => Iis::Manage_Site['Default Web Site']," in the Manager site thing below

[Puppet Users] Order preference for defines

2014-08-27 Thread Matt Shields
I'm running Puppet 3.4.3 and was wondering is there a way to call the defines below in the order they're written. The problem I'm having is while using Opentable/IIS forge module, I want to delete the "Default Web Site" which is running on port 80, then create a new site which runs on 80. What ha

Re: [Puppet Users] "Server configurations require Augeas >= 1.0.0" on Ubuntu 14.04 LTS puppetmaster

2014-08-27 Thread Morgan Haskel
Ah, ok. I see what the issue is. We're depending on the $::augeasversion fact in puppetlabs-tomcat and facts are loaded at the beginning of the run (before augeas is installed). So, the bad news is it will require two runs. On the other hand, you can add a check that will cause it not to fail if y

[Puppet Users] PuppetDB 2.2.0 final now available

2014-08-27 Thread Ken Barber
PuppetDB 2.2.0 final - August 27th, 2014 PuppetDB 2.2.0 Downloads Available in native package format in the release repositories at: http://yum.puppetlabs.com and http://apt.puppetlabs.com For information on how to enable the Puppet Labs repos, see: http://docs.puppetlab

[Puppet Users] Re: Puppet Explorer 1.2.0 released

2014-08-27 Thread Martijn
Very nice, thanks! Op dinsdag 26 augustus 2014 15:04:39 UTC+2 schreef Erik Dalén: > > A new release of Puppet Explorer is out. It includes a new look which you > can check out at the new public demo site: http://demo.puppetexplorer.io/ > -- You received this message because you are subscribed t

[Puppet Users] Re: Puppet logging agent/master

2014-08-27 Thread Martijn
We still use Puppet Dasboard (with PuppetDB) to get a quick overview of the state of nodes and the logs of their Puppet runs. Not very fancy and a little hard to search, but it works well as a read-only dashboard. Furthermore we use the ELK-stack (Logstash, Elasticsearch, Kibana) (See http://ww

Re: [Puppet Users] Unrecognised escape sequence '\[' in file

2014-08-27 Thread Wil Cooley
On Wed, Aug 27, 2014 at 8:24 AM, Brian Wilkins wrote: > Have you tried with two backslashes '\\' ? >> > > Ah, that was it :) > An alternative is to "quote" the bracket by making it a character class: "[[]" I used to like this for some reason, but I cannot quite remember why now; it certainly is

[Puppet Users] Re: Announce: Facter 2.2.0

2014-08-27 Thread Daniel Schaefer
I've opened a bug here: https://tickets.puppetlabs.com/browse/FACT-686 > > -- 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...@googlegroup

[Puppet Users] Re: Challenge: who am i and what do i do

2014-08-27 Thread Martijn
We use the Cloud-init system built into Ubuntu for our Amazon VPC instances. When starting a new instance we pass it User-data which contains commands in Cloud-config format that sets the hostname and domain, adds the puppetlabs repo, updates the package cache, installs puppet and enters some v

Re: [Puppet Users] Re: Announce: nightly repos available

2014-08-27 Thread Eric Shamow
+1 great news Eric, thanks. -Eric On Aug 27, 2014, at 8:27 AM, Martijn wrote: > That's very nice. Should make testing a pre-release easier for many users > than building from Git. > > Thanks, > Martijn > > Op dinsdag 26 augustus 2014 19:23:54 UTC+2 schreef Eric Sorenson: > After the Puppet 3

Re: [Puppet Users] Variable interpolation challenge

2014-08-27 Thread Henrik Lindberg
On 2014-27-08 15:02, Gav wrote: Aaron, have you had problems with this in Puppet 3? Using similar code in 3.6.0 does not return the fact value. Cheers, Gavin On Tuesday, 24 May 2011 16:22:23 UTC+1, Aaron Grewell wrote: Thanks Nan, until they make a function out of that I'll keep the te

[Puppet Users] Re: Announce: nightly repos available

2014-08-27 Thread Martijn
That's very nice. Should make testing a pre-release easier for many users than building from Git. Thanks, Martijn Op dinsdag 26 augustus 2014 19:23:54 UTC+2 schreef Eric Sorenson: > > After the Puppet 3.5.0 release problems, we had a retrospective and tried > to figure out some process improvem

Re: [Puppet Users] Re: Announce: Facter 2.2.0

2014-08-27 Thread Matt Wise
+2 here. I support the fix -- but not in a minor-revision of the tool. In our case, it was indeed a reasonably simple regex change everywhere, but the potential for failure around puppet-forge modules is massive here. I strongly recommend reverting this change and releasing it in a 3.xx version of

Re: [Puppet Users] Unrecognised escape sequence '\[' in file

2014-08-27 Thread Brian Wilkins
> > Have you tried with two backslashes '\\' ? > Ah, that was it :) Also, but why not manage multiple files in /etc/nagios/nrpe.d/ based on > templates instead of managing a single file, since that's much trickier? > Oh, that is how I am doing it (sort of): class profiles::nagios_resource::

Re: [Puppet Users] Re: Puppet 'node data' when using common node_names?

2014-08-27 Thread jcbollinger
On Tuesday, August 26, 2014 6:24:57 PM UTC-5, Nigel Kersten wrote: > > > > > On Tue, Aug 26, 2014 at 12:27 PM, Erik Dalén > wrote: > >> >> >> >> On 26 August 2014 20:22, jcbollinger >> > wrote: >> >>> >>> >>> On Monday, August 25, 2014 11:13:40 AM UTC-5, Matt W wrote: >>> Comments inline >

Re: [Puppet Users] Unrecognised escape sequence '\[' in file

2014-08-27 Thread Matthias Saou
On Wed, 27 Aug 2014 05:31:39 -0700 (PDT) Brian Wilkins wrote: > I am having to escape a regular expression in my match and puppet > complains on the puppetmaster of an "Unrecognised escape sequence". > How do I fix this so the logs don't get cluttered with this message? > I am using Puppet 3.6.2.

Re: [Puppet Users] "Server configurations require Augeas >= 1.0.0" on Ubuntu 14.04 LTS puppetmaster

2014-08-27 Thread Trey Duskin
Morgan, I tried using the chaining, but I still get the error on the client (and back on the master). Here is what my node manifest looks like: node 'test-rest-portal' { class { 'java': distribution => 'jre', } class{ 'augeas': }-> class { 'tomcat': }-> tomcat::instance { 'default

[Puppet Users] Re: Any Web Gui for MCollective ?

2014-08-27 Thread Byron Miller
I'd imagine if gui was important for mco, that most people probably just buy puppet enterprise which includes integration. On Wednesday, August 27, 2014 8:37:44 AM UTC-5, Stella wrote: > > Nobody has used any Web Gui for MCollective? Guess I have to try it out > all by myself :) > > On Thursday,

[Puppet Users] Re: Announce: nightly repos available

2014-08-27 Thread Byron Miller
Glad to see this Eric! I'll be following this closely to see how well the community picks up running with nightly builds. Time to setup another lab environment to check this out :) On Tuesday, August 26, 2014 12:23:54 PM UTC-5, Eric Sorenson wrote: > > After the Puppet 3.5.0 release problems, we

[Puppet Users] Re: Any Web Gui for MCollective ?

2014-08-27 Thread Stella
Nobody has used any Web Gui for MCollective? Guess I have to try it out all by myself :) On Thursday, August 7, 2014 4:39:31 PM UTC-4, Stella wrote: > > As we know, live management is not available in open source dashboard. > So I installed MCollective command line to achieve most of the same

Re: [Puppet Users] My Puppet Dashboard Can't Start After Machine Reboot

2014-08-27 Thread Stella
I figured it out. During my setup of Puppet/Passenger/Dashboard, I set SeLinux to Permissive on command line, but I forget to change it permanently in /etc/selinux/config. That's why it got permission denied problem after reboot. I set it in the file and now it is working. Thanks a lot! [Tue Au

Re: [Puppet Users] Variable interpolation challenge

2014-08-27 Thread Gav
Aaron, have you had problems with this in Puppet 3? Using similar code in 3.6.0 does not return the fact value. Cheers, Gavin On Tuesday, 24 May 2011 16:22:23 UTC+1, Aaron Grewell wrote: > > Thanks Nan, until they make a function out of that I'll keep the template > in my cheat sheet. > > On Mo

Re: [Puppet Users] Re: Announce: Facter 2.2.0

2014-08-27 Thread Konrad Scherer
On 08/26/2014 04:42 PM, Will Hopper wrote: Hi, Mark! Thanks for raising your concerns on this. This change was actually intentional, as we have been reporting the Ubuntu major release incorrectly for some time in Facter. In most platforms, splitting on the first ‘.’ of an X.Y.Z release would

Re: [Puppet Users] custom script execution and sending output back to master

2014-08-27 Thread Felix Frank
On 08/27/2014 02:06 PM, kaustubh chaudhari wrote: > Thanks for the reply Felix, > > I was wondering if we can get the output of a executable custom fact to > a specific-seperate file instead of standard servername.yml file ? > > > > With Warm Regards > Kaustubh.A.Chaudhari Hi, I'm at a loss t

[Puppet Users] Unrecognised escape sequence '\[' in file

2014-08-27 Thread Brian Wilkins
I am having to escape a regular expression in my match and puppet complains on the puppetmaster of an "Unrecognised escape sequence". How do I fix this so the logs don't get cluttered with this message? I am using Puppet 3.6.2. file_line { "nagios_monitor_check_${title}": path => '/etc/na

Re: [Puppet Users] custom script execution and sending output back to master

2014-08-27 Thread kaustubh chaudhari
Thanks for the reply Felix, I was wondering if we can get the output of a executable custom fact to a specific-seperate file instead of standard servername.yml file ? With Warm Regards Kaustubh.A.Chaudhari (M)-09373102619 On Mon, Aug 25, 2014 at 5:46 PM, Felix Frank < felix.fr...@alumni.tu-be

Re: [Puppet Users] Support for multiple PHP projects on one server along with the ability to use Vagrant

2014-08-27 Thread Felix Frank
On 08/15/2014 03:05 PM, Szerémi Attila wrote: > but I want to cut off a little bit accuracy and add some complexity in > exchange for saving costs by not having to always open an entire new VM > for every single project especially if many projects are very small. If there is a distinct Vagrantfile

Re: [Puppet Users] Trying to install the Dashboard on Ubuntu 14

2014-08-27 Thread Jason Oakley
Well. I used rvm to switch and uninstall anything higher. In the end I just used the tarball and web installer. Seems tarball always works. Any other way fails for some reason. On Wednesday, 27 August 2014 16:00:10 UTC+10, Ramin K wrote: > > On 8/26/2014 5:41 PM, Jason Oakley wrote: > > > Do I