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: Ib0d89de28476a2098382a89abc153b72c87efccb
diff --git a/sphinx/meta/sphinx.yml b/sphinx/meta/sphinx.yml
index 311bd3e..14a85eb 100644
--- a/sphinx/meta/sphinx.yml
+++ b/sphinx/meta/sphinx.yml
@@ -8,4 +8,4 @@
name: server
param:
version:
- value: "{{ salt['cmd.run']('sphinx-build --version 2>/dev/null || echo unknown')|replace('Sphinx (sphinx-build) ', '') }}"
+ value: "{{ salt['cmd.shell']('sphinx-build --version 2>/dev/null || echo unknown')|replace('Sphinx (sphinx-build) ', '') }}"