Created
October 2, 2012 01:44
-
-
Save travisdmathis/3815672 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install Zabbix agent | |
| script "install_zabbix_agent" do | |
| interpreter "bash" | |
| user "root" | |
| cwd "/tmp" | |
| action :nothing | |
| notifies :restart, "service[zabbix_agentd]" | |
| code <<-EOH | |
| tar xvfz zabbix-agent.tar.gz | |
| rm -rf zabbix-agent.tar.gz | |
| (cd zabbix-2.0.2 && ./configure --enable-agent) | |
| (cd zabbix-2.0.2 && make install) | |
| EOH | |
| end | |
| STDERR: /tmp/chef-script20121002-16791-c08ut5: line 4: make: command not found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment