Browse Source

Fix salt-ssh, fix version

tags/0.4^0
Filip Pytloun 8 years ago
parent
commit
e3a26aea43
8 changed files with 41 additions and 29 deletions
  1. +5
    -5
      CHANGELOG.rst
  2. +1
    -1
      README.rst
  3. +6
    -0
      debian/changelog
  4. +4
    -1
      salt/files/roster
  5. +2
    -2
      salt/master/init.sls
  6. +8
    -7
      tests/pillar/master_ssh_minion_key.sls
  7. +8
    -7
      tests/pillar/master_ssh_minion_password.sls
  8. +7
    -6
      tests/pillar/master_ssh_minion_root.sls

+ 5
- 5
CHANGELOG.rst View File

salt-formula salt-formula
============ ============


0.0.4
0.4
----- -----


- Salt-virt - Salt-virt
- Salt API - Salt API
- Many fixes and enhancements



0.0.3
0.3
----- -----


- High availability - High availability
- Cloud control updated - Cloud control updated
- Virt control added - Virt control added


0.0.2
0.2
----- -----


- Graphing of salt minion states - Graphing of salt minion states


0.0.1
0.1
----- -----


- Initial state for installing Salt master - Initial state for installing Salt master

+ 1
- 1
README.rst View File



====
====
Salt Salt
==== ====



+ 6
- 0
debian/changelog View File

salt-formula-salt (0.4) trusty; urgency=medium

* New upstream version

-- Filip Pytloun <filip@pytloun.cz> Mon, 22 Aug 2016 14:41:59 +0200

salt-formula-salt (0.2) trusty; urgency=medium salt-formula-salt (0.2) trusty; urgency=medium


* First public release * First public release

+ 4
- 1
salt/files/roster View File

{%- from "salt/map.jinja" import master with context %} {%- from "salt/map.jinja" import master with context %}
{%- for minion_name, minion in master.get('ssh_minion', {}).items() %}
{%- for minion_name, minion in master.ssh.get('minion', {}).iteritems() %}
{{ minion_name }}: {{ minion_name }}:
host: {{ minion.host }} host: {{ minion.host }}
user: {{ minion.user }} user: {{ minion.user }}
tty: True tty: True
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
{#-
vim: syntax=jinja
-#}

+ 2
- 2
salt/master/init.sls View File

{%- if pillar.salt.master.windows_repo is defined %} {%- if pillar.salt.master.windows_repo is defined %}
- salt.master.win_repo - salt.master.win_repo
{%- endif %} {%- endif %}
{%- if pillar.salt.master.ssh_minion is defined %}
{%- if pillar.salt.master.ssh is defined %}
- salt.master.ssh - salt.master.ssh
{%- endif %} {%- endif %}
{# {#
- salt.master.orchestrate - salt.master.orchestrate
#}
#}

+ 8
- 7
tests/pillar/master_ssh_minion_key.sls View File

environment: environment:
prd: prd:
formula: {} formula: {}
ssh_minion:
node01:
host: 10.0.0.1
user: saltssh
sudo: true
key_file: /path/to/the/key
port: 22
ssh:
minion:
node01:
host: 10.0.0.1
user: saltssh
sudo: true
key_file: /path/to/the/key
port: 22

+ 8
- 7
tests/pillar/master_ssh_minion_password.sls View File

environment: environment:
prd: prd:
formula: {} formula: {}
ssh_minion:
node01:
host: 10.0.0.1
user: saltssh
sudo: true
password: password
port: 22
ssh:
minion:
node01:
host: 10.0.0.1
user: saltssh
sudo: true
password: password
port: 22

+ 7
- 6
tests/pillar/master_ssh_minion_root.sls View File

environment: environment:
prd: prd:
formula: {} formula: {}
ssh_minion:
node01:
host: 10.0.0.1
user: root
password: password
port: 22
ssh:
minion:
node01:
host: 10.0.0.1
user: root
password: password
port: 22

Loading…
Cancel
Save