Follow

Chef Cookbook to Install Cloudamize Agent

Below is the chef cookbook code that can be used to install Cloudamize Agent.

cookbook_file "install_agent_v2.sh" do
  owner "root"
  group "root"
  mode "0755"
  path "/tmp/install_agent_v2.sh"
end

execute "install Cloudamize Agent" do
  environment { "CLOUDAMIZE_CUSTOMER_KEY" => node[:cloudamize][:customer_key] }
  command "/tmp/install_agent_v2.sh"
  creates "/usr/local/cloudamize"
end

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.