{"push_id":548758614,"size":1,"distinct_size":1,"ref":"refs/heads/fix_apt_updates_facts","head":"e7fee16589fc478f4d73ea0782df975b03e4478b","before":"7ad7669dfa388e4bd0a6069ce2afa7620a3e092e","commits":[{"sha":"e7fee16589fc478f4d73ea0782df975b03e4478b","author":{"email":"64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@uni-nets.com","name":"WolverineFan"},"message":"Fix apt_has_updates fact not parsing apt-check output correctly\n\nThe /usr/lib/update-notifier/apt-check script returns its output\nto STDERR but a recent change to the script redirects STDERR to\n/dev/null.  This will cause the array to always be empty.\n\nCombined with that problem, while we were checking for the result\nbeing nil, we never checked for an invalid array.  As a result,\nthe apt_has_updates was always true and the apt_updates and\napt_security_updates facts were trying to read from an empty array\nand failing.","distinct":true,"url":"https://api.github.com/repos/WolverineFan/puppetlabs-apt/commits/e7fee16589fc478f4d73ea0782df975b03e4478b"}]}