Re: [Puppet Users] Re: Installing packages on windows - fail :(

2013-05-02 Thread Klavs Klavsen
Den fredag den 3. maj 2013 00.22.29 UTC+2 skrev denmat: > > Sorry, I don't do much windows so can't be of much help but how does > running the install command from the windows command line go? Does that > install okay? > > Yup - works just fine. The fact that the same paths work fine on windows

[Puppet Users] IPS repo module or provider/type for Solaris/OpenIndiana

2013-05-02 Thread William Van Hevelingen
Hi Everyone, Does anyone know of a good IPS repo module or provider/type for Solaris/OpenIndiana? I looked on the forge and github and didn't find anything promising. I've created this snippet for the Oracle supported repo but I'm looking for a more functional solution for more than just the Orac

[Puppet Users] How to refer to common variables across multiple modules?

2013-05-02 Thread rogerlawfield
We need to refer to common variables across multiple modules. For example, our dns module, firewall module and monitoring module need knowledge of our radius server IP address. Is the correct approach to create a 'common' class where these variables are defined and then reference them from each

[Puppet Users] hiera json backend broken on puppet 3.1.1 for windows

2013-05-02 Thread Gorozco
Hello, Sems that hiera json backend is broken on puppet 3.1.1 for windows :-( >From this example: http://www.craigdunn.org/2011/10/puppet-configuration-variables-and-hiera/ -- hiera.yaml -- C:\Users\Administrator\temp>type hiera.yaml :backends: - json :logger: console :hierarchy: - %{en

Re: [Puppet Users] Problems relocating $confdir on Puppet Master

2013-05-02 Thread Dan White
How do I do it ? I tried ... confdir ::confdir settings::confdir and ::settings::confdir On May 2, 2013, at 6:30 PM, Denmat wrote: > Well that kinda makes sense for the top scope variable on the master to > return like that. Your options would be like any other fact/var you want to > query on

Re: [Puppet Users] ppg: Scheduled rollouts and dashboard with git in decentralized setup

2013-05-02 Thread Martin Langhoff
On Mon, Apr 29, 2013 at 6:19 PM, Felix Frank wrote: > Interesting. It seems nicely thought out, but I stumbled here, reading: thanks for reading! > On 04/23/2013 11:22 PM, Martin Langhoff wrote: >> I am less certain of this part, and input will be specially valuable here. >> >> ppg pullapply wil

Re: [Puppet Users] Fileserver on a client rather than a puppetmaster

2013-05-02 Thread Ken Coar
On Thursday, May 2, 2013 6:37:00 PM UTC-4, jcbollinger wrote: > > Although the 'file server' item is "under" the 'Shared master & agent API' > section in that it comes later in the document, it is *part of* the next > section, 'The master HTTP > API

Re: [Puppet Users] Fileserver on a client rather than a puppetmaster

2013-05-02 Thread jcbollinger
On Thursday, May 2, 2013 1:37:53 PM UTC-5, Ken Coar wrote: > > On Monday, April 22, 2013 9:48:21 AM UTC-4, jcbollinger wrote: > >> >> Well, no. The Puppet agent does not function as a file server, so you're >> not proposing to make use of anything that's already there. And, even if >> the age

Re: [Puppet Users] Problems relocating $confdir on Puppet Master

2013-05-02 Thread Denmat
Well that kinda makes sense for the top scope variable on the master to return like that. Your options would be like any other fact/var you want to query on the client, no? Den On 02/05/2013, at 22:38, Dan White wrote: > Reference: > http://www.mail-archive.com/puppet-users@googlegroups.com/

Re: [Puppet Users] Re: Installing packages on windows - fail :(

2013-05-02 Thread Denmat
Sorry, I don't do much windows so can't be of much help but how does running the install command from the windows command line go? Does that install okay? Den On 03/05/2013, at 0:08, Klavs Klavsen wrote: > On windows server 2008 - it works perfectly. > > Den torsdag den 2. maj 2013 15.41.35 U

[Puppet Users] Re: High-level design question concerning Hiera with Puppet

2013-05-02 Thread Larry Fast
Not quite sure how you're using environments but here's what we do... - Environments are configured in puppet.conf and we select the environment at runtime: puppet -t --environment my_env - Each environment is a complete copy of our git source tree, including hiera - We pipeline our release proce

[Puppet Users] What do YOU do to catch undefined variables

2013-05-02 Thread Larry Fast
I'm still a puppet newbie and these days I'm struggling with undefined variables. At least once a week I hit an error message like this: Error: Failed to apply catalog: '' is not qualified and no path was specified. Please qualify the command or specify a path. IMO, the core issue is th

Re: [Puppet Users] Puppet 2.6.x is now EOL

2013-05-02 Thread Gabriel Filion
On 30/04/13 05:05 PM, Michael Stahnke wrote: > The time has come for us to say good-bye to Puppet 2.6.x. Puppet 2.6.x > is now end of Life, as originally announced Jan 17, 2013. hmm .. so that means that puppet squeeze won't get any more security updates? kinda sucks cause squeeze'll be around for

[Puppet Users] Re: how do you test and release puppet changes?

2013-05-02 Thread Klavs Klavsen
I've heard of some, who use mcollective to order a test-run on all nodes, against an environment - with --noop - and then they watch puppet-dashboard for nodes that had changes (which ofcourse weren't actually done - because of --noop). I was thinking of doing exactly that - and then exploiting

Re: [Puppet Users] Fileserver on a client rather than a puppetmaster

2013-05-02 Thread Ken Coar
On Monday, April 22, 2013 9:48:21 AM UTC-4, jcbollinger wrote: > > Well, no. The Puppet agent does not function as a file server, so you're > not proposing to make use of anything that's already there. And, even if > the agent could provide file services, you're still talking about setting >

[Puppet Users] Facter and Puppet Agent custom confdir

2013-05-02 Thread Andriy Yurchuk
I set custom confdir for Puppet Agent, start Puppet Agent as non-root user and then use pluginsync to sync my custom Facter facts to this agent (as a result they reside in $custom_confdir/var/lib/facter). With this config Facter fails to pick up my custom facts (facter -p does not show them). Th

[Puppet Users] Re: compare md5

2013-05-02 Thread Roque Moyano
thanks!! the solution was a "grep" . Regards, El jueves, 2 de mayo de 2013 08:31:43 UTC-5, Roque Moyano escribió: > > Hi > > I wanna to download a file and compare the md5 result of it with the md5 > file downloaded, is there any way to do it? Is to verify that the file was > downloaded correc

[Puppet Users] Re: puppetmaster crashes silently

2013-05-02 Thread ed-rfmd
Found the issue. While /var was full puppetmaster attempted to create the file /var/lib/puppet/ssl/ca/ca_crl.pem. It had a zero length so I deleted it and did a start of puppetmaster. All is working again. Ed On Thursday, May 2, 2013 11:36:15 AM UTC-4, ed-rfmd wrote: > > I had /var fill up due

Re: [Puppet Users] Puppet 3.1.1, hiera and parameter autoload

2013-05-02 Thread Nan Liu
On Thu, May 2, 2013 at 10:32 AM, David Campos wrote: > Hello all, > > I don't know if I have hit a strange bug or it's just an incorrect > interpretation about how parameter autoloading works... Today I have been > searching, analysing and about to hit my head against a wall trying to > figure ou

[Puppet Users] Beginner : First Agent/Master, Passenger Error

2013-05-02 Thread Charly Mathieu
Hello, I'm new to Puppet, and I'm trying to configure my first Agent/Master node. It's running under 3 VM's (Ubuntu server 12.04), a master running with Passenger, and 2 Agents. (But I'm only configuring one at the moment) Well, I followed this

[Puppet Users] puppetmaster crashes silently

2013-05-02 Thread ed-rfmd
I had /var fill up due to the masterhttpd.log files. While puppet was running I removed the masterhttpd.log.1 and .2 files. The puppetmasterd daemon crashed and it crashes every time it is started. Running puppet 2.6.12 on CentOS 5.5. Any help is really appreciated. Ed -- You received this

[Puppet Users] Puppet 3.1.1, hiera and parameter autoload

2013-05-02 Thread David Campos
Hello all, I don't know if I have hit a strange bug or it's just an incorrect interpretation about how parameter autoloading works... Today I have been searching, analysing and about to hit my head against a wall trying to figure out why a call to hiera_hash was not merging data from top level

Re: [Puppet Users] compare md5

2013-05-02 Thread Nan Liu
On Thu, May 2, 2013 at 6:31 AM, Roque Moyano wrote: > I wanna to download a file and compare the md5 result of it with the md5 > file downloaded, is there any way to do it? Is to verify that the file was > downloaded correctly. I did it but it doesn't work me > > exec {'download-FILE-tgz'

[Puppet Users] console_auth database is not configured?

2013-05-02 Thread Thomas
I ran out of space on the file system that I have the puppet database on. I cleared off some space and I thought I'd perform the following to remove old reports: cd /opt/puppet/share/puppet-dashboard ; rake RAILS_ENV=development reports:prune upto=1 unit=mon However, when I run that it aborts b

[Puppet Users] switching checksums

2013-05-02 Thread Stefan Wiederoder
Hello puppet users, I´de like to switch from md5 checksums to md5lite to save a few cpu cycles on my (overloaded) puppetmaster. so it is just replacing md5 to md5lite within my manifests and I´m done or do I have to keep things like the local clientbucket in mind? are there any procedures/reco

[Puppet Users] Re: Installing packages on windows - fail :(

2013-05-02 Thread Klavs Klavsen
On windows server 2008 - it works perfectly. Den torsdag den 2. maj 2013 15.41.35 UTC+2 skrev Klavs Klavsen: > > Hi guys, > > I'm trying to make puppet install packages on windows. > > It will install exe files just fine - but msi files won't be installed. > They fail consistently :( > > I've tri

[Puppet Users] High-level design question concerning Hiera with Puppet

2013-05-02 Thread Reginald Choudari
Hello, I have been reading for a while now about the uses of Hiera and separating data from configuration. I am planning on migrating my existing Puppet code into a Hiera structured project. I am facing a dilemma dealing with different versions of data. Right now I am configuring a web applica

[Puppet Users] Installing packages on windows - fail :(

2013-05-02 Thread Klavs Klavsen
Hi guys, I'm trying to make puppet install packages on windows. It will install exe files just fine - but msi files won't be installed. They fail consistently :( I've tried both having the files on a central directory - and give an UNC path to it, and with a file resource, putting the file in

[Puppet Users] compare md5

2013-05-02 Thread Roque Moyano
Hi I wanna to download a file and compare the md5 result of it with the md5 file downloaded, is there any way to do it? Is to verify that the file was downloaded correctly. I did it but it doesn't work me exec {'download-FILE-tgz': user => $user,

[Puppet Users] Re: IBM gpfs file system and mount resource

2013-05-02 Thread jcbollinger
On Thursday, May 2, 2013 4:32:53 AM UTC-5, George Brown wrote: > > Hi, > > I don't think you can do this using the standard mount recourse as it > seems to be tightly coupled to the mount command itself from looking in the > below files. > > /usr/lib/ruby/site_ruby/1.8/puppet/provider/mount.rb

[Puppet Users] Re: Puppet Mail notification configuration

2013-05-02 Thread Puppet 3.0 Powershell 2.0 Set ExecutionPolicy Err
Also looking for this info as well On Wednesday, May 1, 2013 12:33:03 AM UTC-4, Jithin Xavier wrote: > > Hi All- > > How we can configure mail notification in Puppet enterprise server, like > if any changes happened in agent it should notify through mail. I have seen > some of the documentation

Re: [Puppet Users] Occasional SSL_connect errors to PuppetDB

2013-05-02 Thread Ken Barber
Are you running version 7 of the JDK? We believe this was a bug introduced during a CVE fix into a minor revision of Java 7: http://projects.puppetlabs.com/issues/19884 If you downgrade to JDK 6 the issue should disappear. ken. On Thu, May 2, 2013 at 11:32 AM, Martijn wrote: > Several times a

[Puppet Users] Problems relocating $confdir on Puppet Master

2013-05-02 Thread Dan White
Reference: http://www.mail-archive.com/puppet-users@googlegroups.com/msg41278.html Still having issues. Even if I explicitly set confdir in the command line: puppet agent --no-daemonize --onetime --test --noop --no-report --confdir=/etc/puppet Manifests containing %{::settings::confdir} g

[Puppet Users] Re: puppet master on the internet

2013-05-02 Thread Martijn
Op maandag 29 april 2013 08:24:35 UTC+2 schreef Klavs Klavsen het volgende: > > I'd probably filter access to puppet, based on ip-ranges - just to heavily > lessen the potential attacking base :) > Exactly. That's what we do with our public-facing puppet master. We explicitly allow agent IP's th

Re: [Puppet Users] rspec-puppet testing with puppet $::settings

2013-05-02 Thread Simon Piette
Hi Wolf, On Wed, May 1, 2013 at 11:13 AM, Wolf Noble wrote: > > > I suspect what's going on here, is the class you're testing doesn't have > the ability to override the $::settings::vardir variable. > I've found that if I make the relevant variable a parameter to the class > in question, I can

[Puppet Users] Re: Validation failed: Host already has a report for time and kind

2013-05-02 Thread Dwayne Lee
Greetings, I have the very same issue. Have you been able to find a solution? I've done a pretty exhaustive search online but have not been able to find a root cause or a fix. I'm using the latest version of Puppet and Puppet Dashboard. Thanks. Dwayne On Thursday, December 1, 2011 3:55:42

[Puppet Users] Occasional SSL_connect errors to PuppetDB

2013-05-02 Thread Martijn
Several times a day I receive the below error from Puppet runs on my nodes: err Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit 'replace catalog' command for i-7b51c334.example.com to PuppetDB at puppet.internal.example.com:8081: SSL_connect SYSCALL retu

[Puppet Users] Re: IBM gpfs file system and mount resource

2013-05-02 Thread George Brown
Hi, I don't think you can do this using the standard mount recourse as it seems to be tightly coupled to the mount command itself from looking in the below files. /usr/lib/ruby/site_ruby/1.8/puppet/provider/mount.rb /usr/lib/ruby/site_ruby/1.8/puppet/provider/mount/parsed.rb I think the best