[chef] Re: Feature test vs platform test


Chronological Thread 
  • From: Noah Kantrowitz < >
  • To:
  • Subject: [chef] Re: Feature test vs platform test
  • Date: Tue, 28 Jan 2014 10:30:08 -0800

if File.exists?('/etc/init') maybe?

--Noah

On Jan 28, 2014, at 8:52 AM, Gregory Patmore 
< >
 wrote:

> Hi all, 
> 
> I was wondering if there was any recommended way to feature test for 
> upstart vs SysV init.  I've seen the examples of branching on platform, but 
> in our hybrid environment we have versions of debian that use init, and 
> some that use upstart, so platform branching isn't specific enough for me.
> 
> 
> Thanks for any info/advice you can provide.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail




Archive powered by MHonArc 2.6.16.

§