Last active
December 20, 2015 07:39
-
-
Save jakubjedelsky/6094695 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# CentOS 6 | |
yum -y remove httpd bind ; yum -y update | |
rpm -ivh http://ftp.linux.cz/pub/linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm | |
yum -y install puppet git | |
wget "https://raw.github.com/jakubjedelsky/puppet/9c49519266c7a3f9f761bc5f6041c66d42c80d1f/lib/puppet/provider/service/monit.rb" -O /usr/lib/ruby/site_ruby/1.8/puppet/provider/service/monit.rb | |
git clone https://github.com/jakubjedelsky/puppet-monit-httpd.git | |
cd puppet-monit-httpd | |
puppet apply --modulepath=$(pwd)/modules -d -e "include httpd::task" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment