[chef] File/Template file specificity: platform_family


Chronological Thread 
  • From: Jeff Blaine < >
  • To:
  • Subject: [chef] File/Template file specificity: platform_family
  • Date: Wed, 18 Sep 2013 16:53:51 -0400

If you could, in addition to the existing file+template specificity
functionality, make use of 'family-<platform_family>', would you
make use of it? Have you wished it existed?

That is, in order of precedence (highest precedence to lowest):

    host-node[:fqdn]
    node[:platform]-node[:platform_version]
    node[:platform]-version_components
    node[:platform]
    family-node[:platform_family]                        <---- NEW
    default

Or, explicitly:

    host-web.example.com
    redhat-6.4
    redhat-6
    redhat
    family-rhel                                         <---- NEW
    default

Jeff


  • [chef] File/Template file specificity: platform_family, Jeff Blaine, 09/18/2013

Archive powered by MHonArc 2.6.16.

§