Skip to content

Instantly share code, notes, and snippets.

Created September 4, 2015 20:20
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 anonymous/ae79747a1bf79142e9c5 to your computer and use it in GitHub Desktop.
Save anonymous/ae79747a1bf79142e9c5 to your computer and use it in GitHub Desktop.
trivial salt patch
Trivial patch below.
Without it, 'salt --versions-report' didn't report python-gnupg and gitpython as installed.
Now it does.
salt --versions-report
Salt Version:
Salt: 2015.8.0
Dependency Versions:
Jinja2: 2.8
M2Crypto: Not Installed
Mako: 1.0.1
PyYAML: 3.11
PyZMQ: 14.7.0
Python: 2.7.10 (default, Jun 12 2015, 19:24:00)
RAET: 0.6.3
Tornado: 4.2.1
ZMQ: 4.1.3
cffi: 1.2.1
cherrypy: Not Installed
dateutil: 2.4.2
gitdb: 0.6.4
gitpython: 1.0.1
ioflo: 1.2.1
libnacl: 1.4.3
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: Not Installed
pycparser: 2.14
pycrypto: 2.6.1
pygit2: 0.23.0
python-gnupg: 0.3.7
smmap: 0.9.0
timelib: Not Installed
System Versions:
dist: crux 3.1
machine: x86_64
release: 4.1.6-crux
system: CRUX version 3.1
diff -Naur salt-2015.8.0/salt/version.py salt-2015.8.0.new/salt/version.py
--- salt-2015.8.0/salt/version.py 2015-09-03 21:29:11.000000000 +0200
+++ salt-2015.8.0.new/salt/version.py 2015-09-04 20:29:13.223353173 +0200
@@ -559,8 +559,8 @@
('cffi', 'cffi', '__version__'),
('pycparser', 'pycparser', '__version__'),
('gitdb', 'gitdb', '__version__'),
- ('gitpython', 'gitpython', '__version__'),
- ('python-gnupg', 'python-gnupg', '__version__'),
+ ('gitpython', 'git', '__version__'),
+ ('python-gnupg', 'gnupg', '__version__'),
('mysql-python', 'mysql-python', '__version__'),
('cherrypy', 'cherrypy', '__version__'),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment