- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Added some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Last active
August 29, 2015 14:16
-
-
Save vpack/7a9d19aff6a785e0ea50 to your computer and use it in GitHub Desktop.
Chef dk install in Amazon Linux
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
curl -L https://www.opscode.com/chef/install.sh | bash | |
or | |
curl -L https://www.opscode.com/chef/install.sh | bash -s -- -v 11 | |
rpm -Uvh https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.4.0-1.x86_64.rpm | |
mkdir /var/chef | |
cd /var/chef | |
yum -y install git | |
# knife cookbook site download apache2 | |
# tar -zxvf apache2-3.0.1.tar.gz | |
cat > metadata.rb <<EOF | |
name 'my-wiki' | |
EOF | |
cat > Berksfile << EOF | |
source 'https://supermarket.chef.io' | |
cookbook 'mysql-chef_gem', '= 0.0.5' | |
cookbook 'mediawiki' | |
EOF | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment