On Fri, 24 Jul 2015 00:10:41 -0700 (PDT) Joaquin Menchaca <
joaqu...@gmail.com> wrote:
JM> I want to put unique sequence of bundles on particular hosts, e.g. variety
JM> of web servers (analytics, main web app server, website), database
JM> (datawarehouse, application databases), no-sql memory servers, queue
JM> servers, search nodes, etc. Example: I would like to configure a set of
JM> hosts, e.g. prod-web01-04 one way, stg-web01-04 another way, delivery-web01
JM> another way, staging/production shard master/slave servers, and so on.
JM> Every system has an easy mechanism for this: Chef) node/hostname.json file
JM> to have a run list of cookbooks, Puppet) site manifest dsl that has a list
JM> modules, Puppet+Hiera) json or yaml that is organized per hostname (or
JM> other organization, such as role, environment, or hierarchical combination)
JM> that includes list of modules, and Ansible, which has groupings of
JM> hostnames in an inventory ini file, and unique playbooks that list the
JM> groups they apply to.
There's no built-in standard way currently, but I just recently posted a
proposal to do this, even possibly using Ansible's standard for a
server-side inventory system, see
https://groups.google.com/d/msg/help-cfengine/q9yAkRIOs8g/7YmWySc31J0J
It's pretty easy to do it yourself in policy, simply assign classes to
hosts using the many available functions, then change behavior based on
the classes. But I agree, it would be nice to standardize it.
Ted