Skip to content

Instantly share code, notes, and snippets.

@bigbigbang
Last active December 16, 2015 22:39
Show Gist options
  • Save bigbigbang/5508115 to your computer and use it in GitHub Desktop.
Save bigbigbang/5508115 to your computer and use it in GitHub Desktop.
Shinken cookbook from git
#
# Cookbook Name:: shinken
# Recipe:: default
#
# Copyright 2013, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#
execute "mkdir" do
command "mkdir -p ~/test/shinken/"
end
execute "git clone" do
command "cd ~/test/shinken/"
command "git clone https://github.com/naparuba/shinken.git ~/test/shinken/"
end
template "./etc/shinken-specific.cfg" do
source "shinken-specific.cfg"
end
execute "chmod" do
command "chmod 777 ~/test/shinken/var/"
end
execute "launch" do
command "sudo ~/test/shinken/bin/launch_all.sh"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment