- From: Sean OMeara <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Role Versioning?
- Date: Fri, 15 Feb 2013 09:14:17 -0500
Another options is node.set( somstuff )
-s
On Fri, Feb 15, 2013 at 9:01 AM, Brian Akins
<
>
wrote:
>
On Fri, Feb 15, 2013 at 8:52 AM, Sean OMeara
>
<
>
>
wrote:
>
> It's a great way for a recipe to "announce" that it provides a service.
>
>
I always forget about tags.
>
>
In our case we include some data in our "announcement" and tags are
>
just a single string.
>
>
Something like:
>
>
#on the node "providing" the service
>
my_announce_thing('servicename', port: 80, key: 'baz')
>
>
#on a node "looking"
>
nodes = my_lookfor_thing('servicename')
>
>
and nodes is an array of hashes. each hash is the data the "providing"
>
node announced (we put the nodename and ipaddress in the hash as
>
well).
>
>
This pattern has served us well.
>
>
--Brian
- [chef] Re: Re: Re: Re: Re: Re: Role Versioning?, (continued)
- [chef] Re: Re: Re: Re: Re: Re: Role Versioning?, Michael Glenney, 02/14/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Role Versioning?, Michael Glenney, 02/14/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Role Versioning?, Torben Knerr, 02/14/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Role Versioning?, Brian Akins, 02/15/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Role Versioning?, Andrea Campi, 02/15/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Role Versioning?, Sean OMeara, 02/15/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Role Versioning?, Brian Akins, 02/15/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Role Versioning?, Sean OMeara, 02/15/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Role Versioning?, Brian Akins, 02/15/2013
[chef] RE: Re: Re: Re: Re: Re: Role Versioning?, Kevin Keane Subscription, 02/14/2013
[chef] RE: Re: RE: Re: Re: Re: Re: Re: Role Versioning?, Kevin Keane Subscription, 02/14/2013
[chef] Re: RE: Re: Re: Re: Re: Re: Role Versioning?, Brian Akins, 02/15/2013
[chef] Re: Role Versioning?, Erik Hollensbe, 02/14/2013
Archive powered by MHonArc 2.6.16.