Skip to main content

architect-client is a client CLI of Architect, the service modeling, management and visualization platform.

Project description

Client library and CLI for Architect API service.

Client Installation

Following steps show how to deploy and configure Architect Client.

pip install architect-client

Create configuration file /etc/architect/client.yml for client.

project: project-name
host: architect-api
port: 8181
username: salt
password: password

SaltStack Integration

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 Integration

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 Integration

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

Chef Integration

We can use -j parameter of chef-client command, It’s the path to a file that contains JSON data used to setup the client run. We pass

$ architect-chef-data {{ node_name }} {{ file_name }}.json
$ chef-client -j {{ file_name }}.json --environment _default

Client Usage

You can use the client to initialise the inventories.

$ architect-inventory-create <cluster-name> <cluster-domain>

You can use the client to initialise the SaltStack managers.

$ architect-manager-salt-create <manager-name> <manager-url> <manager-username> <manager-password>

Project details


Release history Release notifications

This version
History Node

0.8.1

History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
architect-client-0.8.1.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None Feb 15, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page