[Puppet Users] require file/package not managed by puppet

2012-09-23 Thread Justin Ryan
I would like to place a file with puppet only if a certain package is installed on the system -- but assuming this package is not puppet-managed. Checking for the presence of a non-puppet-managed file is also ok. Is this possible? using require => Package['mypkg'] doesn't work if it's not puppe

Re: [Puppet Users] require file/package not managed by puppet

2012-09-26 Thread Stefan Schulte
On Fri, Sep 21, 2012 at 05:40:52PM -0700, Justin Ryan wrote: > I would like to place a file with puppet only if a certain package is > installed on the system -- but assuming this package is not puppet-managed. > Checking for the presence of a non-puppet-managed file is also ok. Is this > possib

Re: [Puppet Users] require file/package not managed by puppet

2012-09-27 Thread jcbollinger
On Wednesday, September 26, 2012 8:18:51 PM UTC-5, Stefan Schulte wrote: > > On Fri, Sep 21, 2012 at 05:40:52PM -0700, Justin Ryan wrote: > > I would like to place a file with puppet only if a certain package is > > installed on the system -- but assuming this package is not > puppet-managed.

Re: [Puppet Users] require file/package not managed by puppet

2012-09-27 Thread Stefan Schulte
On Thu, Sep 27, 2012 at 05:58:34AM -0700, jcbollinger wrote: > That's actually kinda cool, but I think either you've missed the OP's > point, or I'm missing yours. Declaring the package for only auditing > should indeed support any Puppet relationships with that resource without > forcing the p

Re: [Puppet Users] require file/package not managed by puppet

2012-09-28 Thread jcbollinger
On Friday, September 28, 2012 12:05:03 AM UTC-5, Stefan Schulte wrote: > > But it general determining the desired state (that's what puppet tries > to enforce) by looking at the current state (is the package installed?) > may not be the best design here. So why not finding out when the package