[Puppet Users] Re: I can't seem to create mountpoint and change permissions after mounting in 2.7.3

2011-09-30 Thread rvlinden
John, At this moment I'm trying to reproduce the problem by starting small and add more modules to it. I have been able to succesfully create a puppet config that creates a mountpoint directory with 'mkdir -p' as root, mount a filesystem on top of that directory and change the ownership once is ha

[Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-09-30 Thread jcbollinger
On Sep 29, 9:01 pm, Nigel Kersten wrote: > On Thu, Sep 29, 2011 at 5:28 PM, Doug Balmer wrote: > > 'Note that periods are only allowed when they serve to delimit components > >> of "domain style names".' > > > Let's give this sentence some context. > > > > >   ASSUMPTIONS > > >    1. A "name"

Re: [Puppet Users] Community Package Repos for Puppet Labs products

2011-09-30 Thread Steven L. Seed
Thanks. This is much appreciated! On Sep 12, 2011 2:36 PM, "Michael Stahnke" wrote: > I've had a vision of having packages for Puppet, Dashboard, > mcollective, facter, et al, available in native packaging formats for > as many distributions as possible. > > > I've updated http://yum.puppetlabs.co

Re: [Puppet Users] undefined class results in error instead of warning in 2.7.3

2011-09-30 Thread Steven L. Seed
I see now after trying to post a bug on this that this behavior is now by design as of 2.7. I understand the reasoning behind the change to keep the behavior consistent with including undefined classes in manifests. My problem is being an “external' node classifier, I don’t currently have a way to

[Puppet Users] Re: Recursively pushing sym links in 2.6.6

2011-09-30 Thread jcbollinger
On Sep 29, 1:16 pm, Josh wrote: > Background: > > I like to keep installed apps in a non-standard area and sym link to > the binaries, libraries and other files through the /usr/local tree so > that they're in the user's path. The purpose of this is to help with > software versions, upgrades and

[Puppet Users] Re: Variable interpolation in class parameters

2011-09-30 Thread jcbollinger
On Sep 29, 10:07 am, Carlos Sanchez wrote: > Hi, > > In class parameters, things like x="x", y="y${x}" don't always evaluate > right (y="yx"), seems random. I'm using 2.7.1 > > class test1( >     $servicex = "sonar", >     $logfoldera = "${homex}/logs", >     $logfoldere = "${homey}/logs", >    

[Puppet Users] Sudden failure with storeconfigs in 2.7.4

2011-09-30 Thread Ashley Penney
Hi, I export a @@host for each box (for horrible reasons) and do various things with that including building a /etc/hosts on each server. Sometime today after upgrading to 2.7.4 I realized that all my exported entries are failing and are being stripped from the /etc/hosts which is causing me sign

[Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-09-30 Thread Matt
You are trying to cherry pick from the assumptions. They explicitly state that the period delimits components of "domain style names". I know that phrase seems questionable and had me confused a little but if you look at the RFC and the date it was created DNS was just coming about. In fact, I thin

Re: [Puppet Users] Community Package Repos for Puppet Labs products

2011-09-30 Thread Mark Phillips
Are you considering Solaris in this initiative too? Puppet, Facter, Augeas and ruby-augeas are all available from opencsw.org. I should look at doing mcollective too - when I have time ;-) On Fri, Sep 30, 2011 at 4:42 PM, Steven L. Seed wrote: > Thanks. This is much appreciated! > On Sep 12, 201

[Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-09-30 Thread easybeats
Just to weigh into the debate. To give the Unix administrator choice to set the hostname to what they determine falls into line with what Unix already provides. Generally whether its a bad or good decision to use the returned uname() system call variable or uname() regexed to the first dot its up

[Puppet Users] Unable to run puppetrun properly, puppet --test works fine

2011-09-30 Thread Jnimo
Hello. I have been using puppet for the last 10 months and everything is working fine, however, at the moment we have a cron job running in the clients that pull the configuration from the servers, we want to change this and be able to do a puppetrun from the server to the clients (just in case we

[Puppet Users] Trigger when on any package change

2011-09-30 Thread GeekBiker
I need to exec a program if ANY packages have been modified (added, removed, updated, etc). I tried subscribing to Package with a wildcard, but that isn't supported. Is there any way to trigger an exec if there were any packages changes were made or if yum was executed? Specifically, I need to e

[Puppet Users] Package cannot be installed error.

2011-09-30 Thread Namrata
I am trying to install hudson using puppet and I get the following error: err: /Stage[main]//Node[default]/Package[hudson]/ensure: change from absent to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install hudson' returned 100: Reading package lists... Bu

[Puppet Users] weekend maintennce schedule

2011-09-30 Thread Kanishka Hettiarachchi
Hello, This may have been asked before (apologies), however, did not find a good way to implement a schedule for puppet runs for a speciifc day (say weekend maintennace window). Could anyone suggest a clever workaround for that ? Thanks Kanishka -- You received this message because you are su

Re: [Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-09-30 Thread Ken Barber
So the two solutions I'm groking from this conversation are: 1) New fact that maps closer to the 'hostname' command (for example) 2) Configuration item that changes behaviour of the hostname fact. Obviously we don't support configuration specifically in facter at this point - but ignoring that fo

Re: [Puppet Users] Unable to run puppetrun properly, puppet --test works fine

2011-09-30 Thread Christopher Wood
On Fri, Sep 30, 2011 at 03:47:56AM -0700, Jnimo wrote: > Hello. > > I have been using puppet for the last 10 months and everything is > working fine, however, at the moment we have a cron job running in the > clients that pull the configuration from the servers, we want to > change this and be abl

Re: [Puppet Users] Hostname fact doesn't handle hostnames with periods

2011-09-30 Thread Brian Gallew
ALso, let's not forget that "all the world is *not* linux". "hostname -s" doesn't do what you think it does when it's not the GNU toolset. On Sep 29, 2011, at 9:13 PM, Doug Balmer wrote: > Our concept of 'hostname' as a fact is equivalent to hostname -s up > until now - it doesn't mean the resu

Re: [Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-09-30 Thread Aaron Grewell
I'd prefer that the existing behavior remain the same and that a new fact be added for those that require it. I'd rather not have to interrogate a hypothetical Facter config file to determine what it means by 'hostname' on each given system. On Fri, Sep 30, 2011 at 10:49 AM, Ken Barber wrote: >

Re: [Puppet Users] Trigger when on any package change

2011-09-30 Thread Matthias Pigulla
Does Package<||> ~> exec { ..., refreshonly => true } do the trick? -mp. Am 30.09.2011 um 19:43 schrieb "GeekBiker" : > I need to exec a program if ANY packages have been modified (added, > removed, updated, etc). I tried subscribing to Package with a > wildcard, but that isn't supported. >

Re: [Puppet Users] Unable to run puppetrun properly, puppet --test works fine

2011-09-30 Thread Jimmy Nimo
Thank I will try that on monday. Good weekend everybody On Fri, Sep 30, 2011 at 6:54 PM, Christopher Wood wrote: > On Fri, Sep 30, 2011 at 03:47:56AM -0700, Jnimo wrote: >> Hello. >> >> I have been using puppet for the last 10 months and everything is >> working fine, however, at the moment we h

[Puppet Users] Re: weekend maintennce schedule

2011-09-30 Thread Rob Braden
Maybe run it from a cron (or at) job, or use something like mcollective to trigger your runs. On Sep 29, 9:47 pm, Kanishka Hettiarachchi wrote: > Hello, > > This may have been asked before (apologies), however, did not find a > good way to implement a schedule for puppet runs for a speciifc day >

[Puppet Users] What's the best way to deal with multiple OS's

2011-09-30 Thread Jeff Falgout
We're in the situation of dealing with multiple operating systems (and will likely add another) and I'm quickly realizing that building logic in the manifest to deal with the differences in Red Hat i386 vs Red Hat x86_64 vs SuSE i586 vs SuSE x86_64 vs Mac is getting tedious. For instance, in the ss

Re: [Puppet Users] Community Package Repos for Puppet Labs products

2011-09-30 Thread Michael Stahnke
On Fri, Sep 30, 2011 at 10:23 AM, Mark Phillips wrote: > Are you considering Solaris in this initiative too? Puppet, Facter, Augeas > and ruby-augeas are all available from opencsw.org. > > I should look at doing mcollective too - when I have time ;-) > I'd be happy to put Solaris on our website

[Puppet Users] Building yaml files

2011-09-30 Thread Greg Caldwell
Has anyone used facter to gather and build host specific yaml files before, was wondering how others were gathering and building this info for their host. Any suggestions are appreciated. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post t

Re: [Puppet Users] Building yaml files

2011-09-30 Thread Gary Larizza
`facter --yaml` will build a yaml file for you, if that's what you're looking for? On Fri, Sep 30, 2011 at 11:49 AM, Greg Caldwell wrote: > Has anyone used facter to gather and build host specific yaml files before, > was wondering how others were gathering and building this info for their > hos

Re: [Puppet Users] What's the best way to deal with multiple OS's

2011-09-30 Thread Aaron Grewell
We use different manifests per OS. It makes the underlying logic much simpler, and is easily called by using either the 'kernel' fact or the 'operatingsystem' fact depending. For things that are the same across supported Linuxes but different on Solaris: include module::$kernel Where moduledir/m

Re: [Puppet Users] What's the best way to deal with multiple OS's

2011-09-30 Thread Nigel Kersten
On Fri, Sep 30, 2011 at 11:33 AM, Jeff Falgout wrote: > We're in the situation of dealing with multiple operating systems (and will > likely add another) and I'm quickly realizing that building logic in the > manifest to deal with the differences in Red Hat i386 vs Red Hat x86_64 vs > SuSE i586 v

Re: [Puppet Users] Building yaml files

2011-09-30 Thread Greg Caldwell
That's nice and simple, thanks. On Sep 30, 2011 2:58 PM, "Gary Larizza" wrote: > `facter --yaml` will build a yaml file for you, if that's what you're > looking for? > > > On Fri, Sep 30, 2011 at 11:49 AM, Greg Caldwell wrote: > >> Has anyone used facter to gather and build host specific yaml file

[Puppet Users] Re: Passing additional dependencies into a class

2011-09-30 Thread John Morrissey
On Thu, Sep 22, 2011 at 01:11:28PM -0700, jcbollinger wrote: > On Sep 22, 12:54 pm, Robin Lee Powell > wrote: > > On Thu, Sep 22, 2011 at 09:53:46AM -0400, John Morrissey wrote: > > > I'm using an Apache 2 base class based on > > >http://projects.puppetlabs.com/projects/1/wiki/Debian_Apache2_Recip

[Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-09-30 Thread jcbollinger
On Sep 30, 1:16 pm, Aaron Grewell wrote: > I'd prefer that the existing behavior remain the same and that a new fact be > added for those that require it.  I'd rather not have to interrogate a > hypothetical Facter config file to determine what it means by 'hostname' on > each given system. I

[Puppet Users] Re: Package cannot be installed error.

2011-09-30 Thread Namrata
Also, during manual installation of hudson , this is necessary: Install these packages without verification [y/N]? I am not sure if it is not able to take "y" during installation. Please help, thanks! On Sep 30, 10:41 am, Namrata wrote: > I am trying to install hudson using puppet and I get the

[Puppet Users] Announce: New Puppet releases due to four security issues [critical security updates]

2011-09-30 Thread Michael Stahnke
Announce: New Puppet releases due to four security issues = Following the security vulnerability announced yesterday (CVE-2011-3848), Ricky Zhou () alerted us to an unrelated vulnerability. Our subsequent code audit uncovered three more vulnerabilities, and we have now fixed all four of these

[Puppet Users] Announce: Puppet 2.6.11 Available [security updates]

2011-09-30 Thread Michael Stahnke
Puppet 2.6.11 is a security update release in the 2.6.x branch. The only changes since 2.6.10 are security fixes for the following vulnerabilities: * CVE-2011-3870, a symlink attack via a user's SSH authorized_keys file * CVE-2011-3869, a symlink attack via a user's .k5login file * CVE-2011-3871,

[Puppet Users] Announce: Puppet 2.7.5 available [security updates]

2011-09-30 Thread Michael Stahnke
Puppet 2.7.5 is a security update release in the 2.7.x branch. The only changes since 2.7.4 are security fixes for the following vulnerabilities: * CVE-2011-3870, a symlink attack via a user's SSH authorized_keys file * CVE-2011-3869, a symlink attack via a user's .k5login file * CVE-2011-3871, a

Re: [Puppet Users] Trigger when on any package change

2011-09-30 Thread GeekBiker
I suspect that is in a later version than we are using at the moment. We plan to upgrade, but aren't in a rush. -- 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-us

Re: [Puppet Users] Official puppetlabs position on cron vs puppet as a service?

2011-09-30 Thread Joshua Anderson
Are you using custom facts? If so, you should check to see if any of them are unintentionally doing Bad Things, e.g., modifying global state like environment variables. -Josh On Sep 24, 2011, at 7:22 AM, treydock wrote: > > > On Sep 23, 5:42 pm, Brian Gupta wrote: >> Over the years many sho