- From: ItsMikeE <
>
- To:
- Subject: [chef] Case statement with wildcards?
- Date: Mon, 4 Jul 2011 08:18:46 -0700 (PDT)
I was intending to set up some Chef environments for different parts of the
network but noticed that the information is already present within the FQDN.
Taking the simple example of
node1.primary.mycompany.com
node2.secondary.mycompany.com
node3.dmz.mycompany.com
how can I write a case statement to process differently according to whether
node is in primary, secondary or dmz?
- [chef] Case statement with wildcards?, ItsMikeE, 07/04/2011
Archive powered by MHonArc 2.6.16.