Skip to content

Commit

Permalink
Potential fix for issue #30
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamgilbert committed Nov 6, 2014
1 parent 4127937 commit 769d5be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
PACKAGE_VERSION=0.2.0
PACKAGE_VERSION=0.2.1
TITLE=sal_scripts
PACKAGE_NAME=sal_scripts
REVERSE_DOMAIN=com.grahamgilbert
Expand Down
3 changes: 2 additions & 1 deletion scripts/postflight
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ system_profile = FoundationPlist.readPlistFromString(stdout)
try:
f = open('/var/lib/puppet/state/last_run_summary.yaml', 'r')
puppetreport = yaml.load(f.read())
report['Puppet'] = puppetreport
report['Puppet']['time']['last_run'] = puppetreport['time']['last_run']
report['Puppet']['events']['failure'] = puppetreport['events']['failure']
except:
pass

Expand Down

0 comments on commit 769d5be

Please sign in to comment.