[Puppet Users] Why does my puppetmaster work happily with webrick but not passenger?

2014-02-22 Thread John Florian
I've long used the built-in webrick server since like the v0.25 days and recently got things serving via passenger just fine. Then I had some issues with puppetdb-1.6 that got straightened out, but I must have made a mess out of my setup while debugging that problem. Here's what I see present

Re: [Puppet Users] Re: yum provider executes rpm -e?

2013-08-27 Thread John Florian
On Tuesday, June 30, 2009 4:58:33 AM UTC-4, Peter Meier wrote: > > While looking at the code and > > http://reductivelabs.com/trac/puppet/wiki/TypeReference#package you'll > also see that the yum provider is purgeable and that the yum provider > has an own purge method. > So if this would fit you

Re: [Puppet Users] Re: yum provider executes rpm -e?

2013-08-27 Thread John Florian
On Tuesday, June 30, 2009 6:22:26 PM UTC-4, lutter wrote: > > > The basic issue is that puppet doesn't know about dependencies (not sure > it should), but once you throw 'yum -y erase' into the mix, it becomes > very easy to write inconsistent manifests, where a package erase removes > a package

[Puppet Users] Documentation for Ruby's %x{foo}

2009-05-20 Thread John Florian
I'm trying to fix a bug in facter so that I can submit a patch and all, but I'm in need of some good documentation of this code construct. Unfortunately, every search engine I know of strips out such symbols. I've deduced that it calls an external command and captures stdout, but need more detai

[Puppet Users] Conditionally install a file resource

2009-05-04 Thread John Florian
I keep finding that I wish onlyif was a meta-parameter; right now I want it on the file resource type. I need to install a file, but only if the source exists. It's a really simple file resource that works great when the source exists, but fails when it doesn't. I don't care if it fails, but I

[Puppet Users] Re: Assign variable with content of a file?

2009-05-04 Thread John Florian
On May 1, 5:59 pm, Brandon Evans wrote: > no-can-do.  What exactly are you trying to get done? Apologies for leaving that out -- I'd hoped to not muddy the water with the details, but now it seems I must. I want to install a home-built package whose application runs on a virtual console exclus

[Puppet Users] Re: Cron presence based on file content

2009-05-04 Thread John Florian
On May 2, 10:29 am, Pete Emerson wrote: > Ah I see a new thread, "Assign variable with content of a file?" that lines > up with my needs, I'll check out the suggestions there. Yeah, it's mine! I found yours when I was looking for my own solution -- it sounds like we're both trying to achieve s

[Puppet Users] Re: Assign variable with content of a file?

2009-05-04 Thread John Florian
On May 1, 7:28 pm, James Turnbull wrote: > On the master you can use the generate function to populate a variable > value. That looks promising. However, in this particular situation, I cannot use the regular puppetmasterd/puppetd arrangement. I must use the stand-alone puppet instead. Will

[Puppet Users] Assign variable with content of a file?

2009-05-01 Thread John Florian
Anyone know of how I can do in puppet the equivalent of this from the land of shell scripting? foo=$(cat /tmp/bar) or if you prefer foo=`cat /tmp/bar` --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] Re: Cron presence based on file content

2009-05-01 Thread John Florian
Pete, The only thing affected by onlyif here is the /bin/echo command itself. You can even see this in your logged output. On May 1, 1:56 pm, Pete Emerson wrote: > I'm trying to get a cron entry to exist based on the contents of a file. > > I tried this: > >     exec { "check-cron": >        

[Puppet Users] Package type regression?

2009-04-28 Thread John Florian
I'm seeing a undesirable change in behaviour of puppet on Fedora 10 that came about with the upgrade from 0.24.6 to 0.24.8. I have been working on a wrapper package for puppet (non-daemon) that allows it to operate reliably even when the network isn't so reliable. Each client maintains (via rsyn

[Puppet Users] Re: support for upstart

2008-12-18 Thread John Florian
On Dec 17, 5:18 pm, James Turnbull wrote: > An upstart provider for the service type should be fine.  It should be > relatively easy to develop.  If you don't want to develop yourself can > you please log a feature request and I'll knock something up. > > Cheers > > James > > -- > Author of: >

[Puppet Users] Re: support for upstart

2008-12-17 Thread John Florian
> What do you need to work around?  Isn't Upstart, from a userspace > perspective, completely backwards compatible with SysV init? > > Can you cite your specific issues? Yes and no; or at least that's my understanding. From what I've seen it can be used in such a way that it appears to be sysvin

[Puppet Users] support for upstart

2008-12-17 Thread John Florian
I'm playing around with puppet 0.24.6 on Fedora 10. It appears that the service type doesn't support the new upstart way of doing things ... only the old sysvinit way. Has anyone seen any effort towards providing support or simply some decent work arounds? --~--~-~--~~~--

[Puppet Users] Re: How to make puppet continue when disconnected from network?

2008-12-12 Thread John Florian
Funny. I was nearly about to give up hope and then that very thought occurred to me a bit after posting my last message. When I had initially read the docs, I kind of got the impression that was meant more for debugging only. As it turns out, it looks to be absolutely perfect for the task. I h

[Puppet Users] Re: How to make puppet continue when disconnected from network?

2008-12-12 Thread John Florian
last successful run. Any ideas how I might achieve this? On Dec 8, 2:14 pm, John Florian wrote: > I am reviewing puppet for suitability on a project that I'm working > on.  In many regards, it looks perfect and I'm very pleased with the > overall feel thus far.  For a proof-

[Puppet Users] Puppet Client Isolated from Network

2008-12-10 Thread John Florian
I am reviewing puppet for suitability on a project that I'm working on. In many regards, it looks perfect and I'm very pleased with the overall feel thus far. For a proof-of-concept example, I've created a manifest that ensures that the ntp package is installed on the client, that it has the cor