popularity
question
3
How to find out `os` name?
Where can i find the complete list of os i can use in cookbooks. e.g. in metadata,rb file , the method support takes an argument , the os name.
5
The canonical list can be drawn from Chef itself – the easiest way is to do the following, from any machine that has Chef installed:
$ ruby -rrubygems -rchef -e 'puts Chef::Platform.platforms.keys.sort.join("\n")'
The current list (as of Chef 0.9.14) is:
- amazon
- arch
- centos
- debian
- default
- fedora
- freebsd
- gentoo
- mac_os_x
- mingw32
- mswin
- redhat
- scientific
- solaris
- solaris2
- suse
- ubuntu
- windows
Regards, Adam
