Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Release 0.6.3 (2018-10-03)

- Fix debian nodes not showing the reboot_required fact if one is required

## Release 0.6.2 (2018-10-03)

- Reenable security only patching on debian based systems
Expand Down
10 changes: 10 additions & 0 deletions files/os_patching_fact_generation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ then
esac
fi

if [ $(facter osfamily) = 'Debian' ]
then
if [ -f '/var/run/reboot-required' ]
then
echo "true" > $DATADIR/reboot_required
else
echo "false" > $DATADIR/reboot_required
fi
fi

puppet facts upload 2>/dev/null 1>/dev/null
logger -p info -t os_patching_fact_generation.sh "patch data fact refreshed"

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "albatrossflavour-os_patching",
"version": "0.6.2",
"version": "0.6.3",
"author": "Tony Green",
"summary": "Perform OS level patching through tasks and report on patch levels through facts",
"license": "Apache-2.0",
Expand Down