Skip to content

Commit

Permalink
Start reporting Puppet status again
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamgilbert committed Nov 25, 2014
1 parent 55bcaee commit 60a22a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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.2
PACKAGE_VERSION=0.2.3
TITLE=sal_scripts
PACKAGE_NAME=sal_scripts
REVERSE_DOMAIN=com.grahamgilbert
Expand Down
3 changes: 1 addition & 2 deletions scripts/sal-postflight
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ system_profile = FoundationPlist.readPlistFromString(stdout)
try:
f = open('/var/lib/puppet/state/last_run_summary.yaml', 'r')
puppetreport = yaml.load(f.read())
report['Puppet']['time']['last_run'] = puppetreport['time']['last_run']
report['Puppet']['events']['failure'] = puppetreport['events']['failure']
report['Puppet'] = puppetreport
except:
pass

Expand Down

0 comments on commit 60a22a4

Please sign in to comment.