Re: [Puppet Users] Issue installing on RHEL 6 (2.6.32-358.2.1.el6.x86_64)

2013-06-09 Thread Jon Stanley
On Fri, Jun 7, 2013 at 4:45 PM, Kenneth Edgar wrote: >Protected multilib versions: libselinux-2.0.94-5.3.el6.i686 != > libselinux-2.0.94-5.3.el6_4.1.x86_64 > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigest Basically this

Re: [Puppet Users] Can I exec a bash function?

2013-03-19 Thread Jon Stanley
On Tue, Mar 19, 2013 at 6:03 PM, Steffen Vulpius wrote: > I have a file foo.sh which is basically a library of various bash functions. > Is there a way to execute these functions from puppet Correct me if I'm wrong, but you have a file foo.sh, that defines a bash function called bar, and you wan

[Puppet Users] Using $name in resources?

2013-02-28 Thread Jon Stanley
Using 2.6.17, I have something like this: class yumrepos { yumrepo { ['a', 'b']: descr=>"yum repo $name", baseurl=>"http://someurl/$name";; } } Instead of using the names 'a' and 'b', like I'd expect (so a baseurl of http://someurl/a), it creates .repo fil

Re: [Puppet Users] PuppetConf speakers contact info

2012-10-01 Thread Jon Stanley
On Mon, Oct 1, 2012 at 12:33 PM, Douglas Garstang wrote: > I'm trying to find email addresses of some of the speakers from Puppet > Conf last week. They aren't on the web site... maybe due to spamming > concerns. Short of Googling, how can I get these? I was a speaker, and you now have my email

Re: [Puppet Users] systemd '.service' name suffix?

2012-08-20 Thread Jon Stanley
On Mon, Aug 20, 2012 at 5:35 PM, Eric Sorenson wrote: > There is an open question about whether it's safe to append a suffix of > '.service' to the service name for systemd -- Can someone with deep > knowledge of systemd please chime in on the ticket? Don't have an account there. But something e

Re: [Puppet Users] Infiniband and Puppet - Strange Messages

2012-01-02 Thread Jon Stanley
On Mon, Jan 2, 2012 at 5:24 AM, ew wrote: > Any ideas on that ? Looks like puppet is internally using ifconfig, which is deprecated, and some ioctl that it's doing isn't liked by the IB driver. Just a warning and nothing to be particularly concerned about (unless you're using puppet to configure

Re: [Puppet Users] Re: service stop, do something, service start

2010-01-31 Thread Jon Stanley
On Sun, Jan 31, 2010 at 1:19 PM, Dan Bode wrote: > now every refreshed that is triggered (via subscribe/notify) will run this > custom script as the restart script. Right, but the problem that you run into there is that the restart process occurs only AFTER the files have been modified - what I'

Re: [Puppet Users] Module Execution Order

2009-11-26 Thread Jon Stanley
On Thu, Nov 26, 2009 at 7:45 PM, Douglas Garstang wrote: > First post didn't appear on the list (gee, like that doesn't happen > all the time) But it did, this is the second post from you on the topic. -- You received this message because you are subscribed to the Google Groups "Puppet Us

[Puppet Users] Quick question on the exec resource

2009-11-17 Thread Jon Stanley
I haven't tried this yet, but I find puppet's file resource to be *way* too slow for what I need to do, causing runs in excess of 5 minutes. There's a base directory structure (which is very small) which I then put content into (and I think it's the checksumming of this content, which is pointless

[Puppet Users] Re: Like... a root canal

2009-11-08 Thread Jon Stanley
On Sun, Nov 8, 2009 at 1:12 AM, Douglas Garstang wrote: > I need to both make sure that the base directory exists AND the > symlink to it exists. Other than defining a file resource that ensures > the base directory exists and another file resource to create the > symlink, how else could this be

[Puppet Users] Re: Question on proper use of virtual resources

2009-09-15 Thread Jon Stanley
On Tue, Sep 15, 2009 at 9:55 AM, David Schmitt wrote: > will include "something" and "something::foo", but I'd advise against > such hacks except for the most desperate cases. So for the benefit of the list, I figured out that the problem was not *using* the virtual resource multiple times, it

[Puppet Users] Re: Question on proper use of virtual resources

2009-09-15 Thread Jon Stanley
On Tue, Sep 15, 2009 at 9:41 AM, David Schmitt wrote: > My typical pattern in that case looks like this: Right, but what if the "something" in /etc/something is unknown and you need to define multiple things under /etc/something (say /etc/something/1 and /etc/something/2)? In the end, there's

[Puppet Users] Re: Question on proper use of virtual resources

2009-09-15 Thread Jon Stanley
On Tue, Sep 15, 2009 at 8:30 AM, seph wrote: > I'd love to not worry about realizing > the same user twice. I thought that was the whole point of virtual resources, though - you can realize the same resource as many times as you'd like and only end up with one copy of it. I'm thinking the dupl

[Puppet Users] Question on proper use of virtual resources

2009-09-14 Thread Jon Stanley
I'm attempting to use virtual resources to get around multiple definition errors, but it doesn't seem to be working. I need to create a directory structure like "/apps/siteA/instance_1/resin" and "/apps/siteA/instance_2/resin". In reality it's a little more complex, because there are multiple sit

[Puppet Users] Restricted puppet?

2009-06-01 Thread Jon Stanley
I know that this sounds crazy and likely is :), but I was wondering if for application configuration management, there's a way to run puppet as a non-root user. I know that lots of the types won't be available when not running as root, but I think that the main purpose here is deploying applicati

[Puppet Users] Question on backing out a transaction

2009-04-28 Thread Jon Stanley
Is there a way in puppet to back out what it has done in a transaction? I can't seem to find this, nor any reasonably easy way to access the filebucket other than looking through the logs and knowing the md5sum of the file that you want to retrieve (not helpful when puppet inadvertently destroys a

[Puppet Users] Re: Puppet Camp

2009-04-19 Thread Jon Stanley
On Sun, Apr 19, 2009 at 4:34 PM, Paul Nasrat wrote: > It's probably easier for non-us attendees to get direct flight to the > Bay Area (or the east coast - Boston/NY) than to either Portland or > Salt Lake City. A city where driving is non-essential would be a plus > for me. Hmmm, NYC would be p

[Puppet Users] Question on recursively managing permissions

2009-02-16 Thread Jon Stanley
I've got a directory (a webapps directory for a Java app server) that I'd like to ensure all of the contents are world readable. As puppet is not really suitable for application deployment, I'd like to manage the permissions of this directory and all of it's contents. Something like: find . -ty

[Puppet Users] Re: Puppet RPMs found on Red Hat Network Satellite and RH FTP site

2009-02-13 Thread Jon Stanley
On Fri, Feb 13, 2009 at 3:42 PM, David Lutterkort wrote: > I'd recommend sticking with the EPEL packages, simply since there are > more and more varied uses (and therefore more testing) of them than for > the MRG stuff - even if the MRG packages are, for all intents and > purposes, identical to

[Puppet Users] Re: Are version 0.24.1 and 0.24.4 good enough?

2009-02-07 Thread Jon Stanley
On Sat, Feb 7, 2009 at 4:24 PM, Robin Lee Powell wrote: > I'm not sure which version includes Augeas support, but I'm pretty > hooked on that myself. Augeas support was introduced in 0.24.7 - but I'm not quite able to grok what to do with it, but I could imagine myself becoming pretty hooked on