ソースを参照

Merge pull request #143 from aboe76/slspath_variable

Remove hardcoded paths with {{ slspath }} variable
tags/v0.57.0
puneet kandhari 9年前
コミット
975dd08885
6個のファイルの変更7行の追加7行の削除
  1. +1
    -1
      salt/cloud.sls
  2. +1
    -1
      salt/master.sls
  3. +1
    -1
      salt/minion.sls
  4. +2
    -2
      salt/pkgrepo/debian/init.sls
  5. +1
    -1
      salt/ssh.sls
  6. +1
    -1
      salt/standalone.sls

+ 1
- 1
salt/cloud.sls ファイルの表示

@@ -37,7 +37,7 @@ salt-cloud:
cloud-cert-{{ cert }}-pem:
file.managed:
- name: /etc/salt/pki/cloud/{{ cert }}.pem
- source: salt://salt/files/key
- source: salt://{{ slspath }}/files/key
- template: jinja
- user: root
- group: root

+ 1
- 1
salt/master.sls ファイルの表示

@@ -8,7 +8,7 @@ salt-master:
file.recurse:
- name: {{ salt_settings.config_path }}/master.d
- template: jinja
- source: salt://salt/files/master.d
- source: salt://{{ slspath }}/files/master.d
- clean: {{ salt_settings.clean_config_d_dir }}
- exclude_pat: _*
service.running:

+ 1
- 1
salt/minion.sls ファイルの表示

@@ -8,7 +8,7 @@ salt-minion:
file.recurse:
- name: {{ salt_settings.config_path }}/minion.d
- template: jinja
- source: salt://salt/files/minion.d
- source: salt://{{ slspath }}/files/minion.d
- clean: {{ salt_settings.clean_config_d_dir }}
- exclude_pat: _*
- context:

+ 2
- 2
salt/pkgrepo/debian/init.sls ファイルの表示

@@ -1,7 +1,7 @@
saltstack-apt-key:
file.managed:
- name: /etc/apt/trusted.gpg.d/saltstack.gpg
- source: salt://salt/pkgrepo/debian/saltstack.gpg
- source: salt://{{ slspath }}/saltstack.gpg
- user: root
- group: root
- mode: 644
@@ -9,7 +9,7 @@ saltstack-apt-key:
saltstack-pkgrepo:
file.managed:
- name: /etc/apt/sources.list.d/saltstack.list
- source: salt://salt/pkgrepo/debian/sources.list
- source: salt://{{ slspath }}/sources.list
- user: root
- group: root
- mode: 644

+ 1
- 1
salt/ssh.sls ファイルの表示

@@ -9,7 +9,7 @@ ensure-salt-ssh-is-installed:
ensure-roster-config:
file.managed:
- name: {{ salt_settings.config_path }}/roster
- source: salt://salt/files/roster.jinja
- source: salt://{{ slspath }}/files/roster.jinja
- template: jinja
{% if salt_settings.install_packages %}
- require:

+ 1
- 1
salt/standalone.sls ファイルの表示

@@ -8,7 +8,7 @@ salt-minion:
file.recurse:
- name: {{ salt_settings.config_path }}/minion.d
- template: jinja
- source: salt://salt/files/minion.d
- source: salt://{{ slspath }}/files/minion.d
- clean: {{ salt_settings.clean_config_d_dir }}
- exclude_pat: _*
- context:

読み込み中…
キャンセル
保存