Skip to content

Instantly share code, notes, and snippets.

@rhoths
Created January 11, 2018 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhoths/abb14cbc6c93b5e1d65dfedfa9bd3561 to your computer and use it in GitHub Desktop.
Save rhoths/abb14cbc6c93b5e1d65dfedfa9bd3561 to your computer and use it in GitHub Desktop.
Inconsistent behavior in new module.run format
use_superseded:
- module.run
clear_db_acl:
module.run:
- acl.wipefacls:
- '/path/to/directory'
$ 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:
$ 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
@rhoths
Copy link
Author

rhoths commented Jan 11, 2018

Minion --versions-report

Salt Version:
           Salt: 2017.7.2
 
Dependency Versions:
           cffi: 1.6.0
       cherrypy: Not Installed
       dateutil: 1.5
      docker-py: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.7.2
        libgit2: Not Installed
        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: Not Installed
         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

@rhoths
Copy link
Author

rhoths commented Jan 11, 2018

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