Architect Inventory Consumers¶
SaltStack Consumer¶
http_architect
pillar backend¶
To enable Salt Master inventory, you need to install http_architect
Pillar
and Top modules and add following to the Salt Master configuration files. To
support the grains.
http_architect: &http_architect
project: local-salt
host: architect.service.host
port: 8181
ext_pillar:
- http_architect: *http_architect
master_tops:
http_architect: *http_architect
Native pillar backend¶
To setup architect as Salt master Pillar source, set following configuration
to your Salt master at /etc/salt/master.d/_master.conf
file.
ext_pillar:
- cmd_yaml: 'architect-salt-pillar %s'
To setup architect as Salt master Tops source, set following configuration
to your Salt master at /etc/salt/master.d/_master.conf
file.
master_tops:
ext_nodes: architect-salt-top
You can test the SaltStack Pillar by calling command:
$ architect-salt-pillar {{ minion-id }}
Ansible Consumer¶
To setup architect as Ansible dynamic inventory source, set following configuration to your Ansible control node.
$ ansible -i architect-ansible-inventory
You can test the ansible inventory by calling command:
$ architect-ansible-inventory --list
Puppet Consumer¶
To tell Puppet Server to use an ENC, you need to set two settings:
node_terminus
has to be set to “exec”, and external_nodes
must have
the path to the executable.
[master]
node_terminus = exec
external_nodes = /usr/local/bin/architect-puppet-classifier