Close

Foreman – hooks

cat /var/log/foreman/production.log | grep hook

https://github.com/theforeman/foreman_hooks

http://m0dlx.com/blog/Extending_Foreman_quickly_with_hook_scripts.html

https://www.google.co.uk/search?q=ruby+vsphere&ie=utf-8&oe=utf-8&gws_rd=cr&ei=Des5VYeqB8i5OJKJgfAK

about mktemp:

http://www.cyberciti.biz/tips/shell-scripting-bash-how-to-create-empty-temporary-file-quickly.html

http://stackoverflow.com/questions/10956234/problems-with-mktemp

https://github.com/theforeman/foreman_custom_parameters

https://gist.github.com/rubiojr/1195252

ruby vmware api:

https://github.com/rlane/rbvmomi

rbvmomi
https://rubygems.org/gems/rbvmomi

https://gist.github.com/rubiojr/1195252

https://github.com/rlane/rbvmomi/blob/master/examples/annotate.rb

trollop
http://manageiq.github.io/trollop/

https://rubygems.org/gems/trollop