Skip to content

Commit

Permalink
Add version string
Browse files Browse the repository at this point in the history
Adding a version string will allow the various reporting tools that hook in with Munki to collect installed versions accurately without having to rely on package strings. See munkireport/munkireport-php#737 for the MR-PHP implementation - essentially, import the middleware module and do middleware_gcs.version to return the string.
  • Loading branch information
rickheil committed Apr 19, 2017
1 parent 87bbbe1 commit 16811e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions middleware_gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from urlparse import urlparse
from urllib import quote_plus

__version__ = '1.0'
#Our json keystore file
JSON_FILE = 'gcs.json'
JSON_FILE_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), JSON_FILE))
Expand Down

0 comments on commit 16811e1

Please sign in to comment.