Guest User

Untitled

a guest
Aug 21st, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. case node[:lsb][:codename]
  2. when "lucid"
  3. unless node['virtualization']['system'].nil?
  4. if node['virtualization']['system'] == 'vmware'
  5. package "linux-headers-virtual" do
  6. action :install
  7. end
  8. package "open-vm-dkms" do
  9. options "--no-install-recommends"
  10. action :install
  11. end
  12. package "open-vm-tools" do
  13. options "--no-install-recommends"
  14. action :install
  15. end
  16. #when vmware
  17. end
  18. #exempt not virtualization
  19. end
  20. # only on lucid
  21. end
Add Comment
Please, Sign In to add comment