Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stack_needed_pkgs:
- pkg.installed:
- - pkgs:
- - python-lxml
- - python-libxslt1
- simple_stack_clone:
- git.latest:
- - order: 1
- - name: https://github.com/simple-stack/simple-stack.git
- - target: /srv/simple-stack
- - rev: master
- - runas: root
- - submodules: true
- /srv/simple-stack/install-controller-node.sh:
- file.managed:
- - source: salt://simple_stack/bin/install-controller-node.sh
- - user: root
- - group: root
- - mode: 755
- - require:
- - git: simple_stack_clone
- /srv/simple-stack/install-compute-node.sh:
- file.managed:
- - source: salt://simple_stack/bin/install-compute-node.sh
- - user: root
- - group: root
- - mode: 755
- - require:
- - git: simple_stack_clone
- /srv/simple-stack/environment.json:
- file.managed:
- - source: salt://simple_stack/envs/environment.jinja
- - user: root
- - group: root
- - mode: 644
- - template: jinja
- - defaults:
- admin_token: {{ pillar['simple_stack']['admin_token'] }}
- service_password: {{ pillar['simple_stack']['service_password'] }}
- admin_password: {{ pillar['simple_stack']['admin_password'] }}
- interfaces_control: {{ pillar['simple_stack']['interfaces_control'] }}
- interfaces_public: {{ pillar['simple_stack']['interfaces_public'] }}
- database_password: {{ pillar['simple_stack']['database_password'] }}
- openstack_public_address: {{ pillar['simple_stack']['openstack_public_address'] }}
- openstack_admin_address: {{ pillar['simple_stack']['openstack_admin_address'] }}
- openstack_internal_address: {{ pillar['simple_stack']['openstack_internal_address'] }}
- keystone_host: {{ pillar['simple_stack']['keystone_host'] }}
- keystone_db: {{ pillar['simple_stack']['keystone_db'] }}
- rabbit_host: {{ pillar['simple_stack']['rabbit_host'] }}
- rabbit_password: {{ pillar['simple_stack']['rabbit_password'] }}
- glance_host: {{ pillar['simple_stack']['glance_host'] }}
- glance_db: {{ pillar['simple_stack']['glance_db'] }}
- nova_host: {{ pillar['simple_stack']['nova_host'] }}
- nova_db: {{ pillar['simple_stack']['nova_db'] }}
- nova_libirt_type: {{ pillar['simple_stack']['nova_libvirt_type'] }}
- nova_networking_floating: {{ pillar['simple_stack']['nova_network_floating'] }}
- nova_networking_private: {{ pillar['simple_stack']['nova_network_private'] }}
- nova_networking_public_interface: {{ pillar['simple_stack']['nova_network_public_interface'] }}
- nova_networking_my_ip: {{ pillar['simple_stack']['nova_network_my_ip'] }}
- cinder_db: {{ pillar['simple_stack']['cinder_db'] }}
- quantum_host: {{ pillar['simple_stack']['quantum_host'] }}
- quantum_ovs_db: {{ pillar['simple_stack']['quantum_ovs_db'] }}
- - require:
- - git: simple_stack_clone
Advertisement
Add Comment
Please, Sign In to add comment