Created
January 11, 2018 22:41
-
-
Save rhoths/abb14cbc6c93b5e1d65dfedfa9bd3561 to your computer and use it in GitHub Desktop.
Inconsistent behavior in new module.run format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_superseded: | |
- module.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear_db_acl: | |
module.run: | |
- acl.wipefacls: | |
- '/path/to/directory' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo salt 'minion' state.apply acl | |
minion: | |
---------- | |
ID: clear_db_acl | |
Function: module.run | |
Result: False | |
Comment: Module function clear_db_acl is not available | |
Started: 22:20:22.551383 | |
Duration: 2.597 ms | |
Changes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo salt-call state.apply acl | |
local: | |
---------- | |
ID: clear_db_acl | |
Function: module.run | |
Result: True | |
Comment: acl.wipefacls: True | |
Started: 22:19:17.459049 | |
Duration: 5.896 ms | |
Changes: | |
---------- | |
acl.wipefacls: | |
True |
Master --versions-report
Salt Version:
Salt: 2017.7.2
Dependency Versions:
cffi: 1.6.0
cherrypy: Not Installed
dateutil: Not Installed
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.7.2
libgit2: 0.24.6
libnacl: Not Installed
M2Crypto: 0.21.1
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: 1.2.5
pycparser: 2.14
pycrypto: 2.6.1
pycryptodome: 3.4.3
pygit2: 0.24.2
Python: 2.7.5 (default, Aug 4 2017, 00:39:18)
python-gnupg: 0.3.8
PyYAML: 3.11
PyZMQ: 15.3.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: centos 7.4.1708 Core
locale: UTF-8
machine: x86_64
release: 4.9.36-x86_64-linode85
system: Linux
version: CentOS Linux 7.4.1708 Core
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minion --versions-report