Bladeren bron

Deleting deprecated function

The patch deletes deprecated cmd.run function which actually was defined
in salt 2016 as alias for cmd.shell therefore this change supports backward
compatibility.

Change-Id: I54c3cc524b9e5ecb7044f39532ca16632355a73b
pull/73/head
Oleh Hryhorov 6 jaren geleden
bovenliggende
commit
4a5386dc01
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      salt/meta/sphinx.yml

+ 2
- 2
salt/meta/sphinx.yml Bestand weergeven

@@ -8,7 +8,7 @@ doc:
name: minion
param:
version:
value: {{ salt['cmd.run']('salt-minion --version')|replace('salt-minion ', '') }}
value: {{ salt['cmd.shell']('salt-minion --version')|replace('salt-minion ', '') }}
{%- endif %}
{%- if pillar.salt.master is defined %}
{%- from "salt/map.jinja" import master with context %}
@@ -16,5 +16,5 @@ doc:
name: master
param:
version:
value: {{ salt['cmd.run']('salt --version')|replace('salt ', '') }}
value: {{ salt['cmd.shell']('salt --version')|replace('salt ', '') }}
{%- endif %}

Laden…
Annuleren
Opslaan