浏览代码

Fix salt-ssh, fix version

tags/0.4^0
Filip Pytloun 8 年前
父节点
当前提交
e3a26aea43
共有 8 个文件被更改,包括 41 次插入29 次删除
  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 查看文件

@@ -3,26 +3,26 @@
salt-formula
============

0.0.4
0.4
-----

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


0.0.3
0.3
-----

- High availability
- Cloud control updated
- Virt control added

0.0.2
0.2
-----

- Graphing of salt minion states

0.0.1
0.1
-----

- Initial state for installing Salt master

+ 1
- 1
README.rst 查看文件

@@ -1,5 +1,5 @@

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


+ 6
- 0
debian/changelog 查看文件

@@ -1,3 +1,9 @@
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

* First public release

+ 4
- 1
salt/files/roster 查看文件

@@ -1,5 +1,5 @@
{%- 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 }}:
host: {{ minion.host }}
user: {{ minion.user }}
@@ -14,3 +14,6 @@
tty: True
{%- endif %}
{%- endfor %}
{#-
vim: syntax=jinja
-#}

+ 2
- 2
salt/master/init.sls 查看文件

@@ -6,9 +6,9 @@ include:
{%- if pillar.salt.master.windows_repo is defined %}
- salt.master.win_repo
{%- endif %}
{%- if pillar.salt.master.ssh_minion is defined %}
{%- if pillar.salt.master.ssh is defined %}
- salt.master.ssh
{%- endif %}
{#
- salt.master.orchestrate
#}
#}

+ 8
- 7
tests/pillar/master_ssh_minion_key.sls 查看文件

@@ -16,10 +16,11 @@ salt:
environment:
prd:
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 查看文件

@@ -16,10 +16,11 @@ salt:
environment:
prd:
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 查看文件

@@ -16,9 +16,10 @@ salt:
environment:
prd:
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

正在加载...
取消
保存