
cookbook for update glibc. CVE-2015-0235(GHOST)
cookbook for update glibc. CVE-2015-0235(GHOST)
update glibc by Chef Solo.
Attention. this cookbook need to reboot.
Platform is Ubuntu and CentOS.
bundle install
{
"run_list": [
"recipe[security_check_glibc]", # set exploit code and compile
"recipe[security_update_glibc]" # node reboot after glibc update
]
}
$ mv spec/webapp spec/YourServer
$ rake spec LOGIN_USER=loginuser PASS=userpassword
$ bundle exec knife solo bootstrap YourServer
install virtualbox
install vagrant
bootstrapping
vagrant up
vagrant ssh-config >> ~/.ssh/config
$ vim ~/.ssh/config
- Host default
+ Host webapp
$ rake spec LOGIN_USER=vagrant PASS=vagrant
$ bundle exec knife solo bootstrap webapp