Last active
December 16, 2015 22:39
-
-
Save bigbigbang/5508115 to your computer and use it in GitHub Desktop.
Shinken cookbook from git
This file contains 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
# | |
# 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