- From: Tollef Fog Heen <
>
- To: "
" <
>
- Subject: [chef-dev] Re: Re: Re: A strawman to fix platform dependencies
- Date: Tue, 27 Mar 2012 22:28:24 +0200
]] Joseph Holsten
>
case platform
>
when 'redhat', 'centos', 'scientific', 'oracle', 'fedora', 'amazon'
>
...
>
>
I'd hate to see that reflected in file structure.
Why? symlinks should be your friend.
(relatedly, I'd like to have file specificity along other variables than
platform, so you can have templates/kernel/machine=x86_64 (or some
variation thereof) which will then be applied for all machines with
uname -m = x86_64. An exception will be raised if multiple templates
match, or you have a way to specify the dimension in the recipe.)
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
Archive powered by MHonArc 2.6.16.