Created
January 31, 2015 05:48
-
-
Save juliandunn/3bea7c46c9740e13acf5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package 'glibc' do | |
action :upgrade | |
not_if "rpm -q --changelog glibc | grep -q 'CVE-2015-0235'" | |
notifies :request_reboot, "reboot[ghost-detected]" | |
end | |
reboot 'ghost-detected' do | |
action :cancel | |
reason 'GHOST vulnerability detected, system must reboot' | |
delay_mins 2 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment