diff options
author | kwadronaut <kwadronaut@leap.se> | 2015-05-05 13:06:35 +0200 |
---|---|---|
committer | kwadronaut <kwadronaut@leap.se> | 2015-05-05 13:06:35 +0200 |
commit | 46c20e44ffd4f1454a607d2c4b3de8497e977bc7 (patch) | |
tree | ac63fc5537fdf84eac77a5c12afa387690661e91 /templates/Debian-8.0-amd64-netboot/chef.sh | |
parent | 2f37bc5b0c87f626c52bfbadebe10f4ec4a21803 (diff) |
Fixed manual boot device choosing in jessie
Removed templates/ no need to duplicate this
Updated Readme, including downloads move to hashicorp
Diffstat (limited to 'templates/Debian-8.0-amd64-netboot/chef.sh')
-rw-r--r-- | templates/Debian-8.0-amd64-netboot/chef.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/templates/Debian-8.0-amd64-netboot/chef.sh b/templates/Debian-8.0-amd64-netboot/chef.sh deleted file mode 100644 index cd11958..0000000 --- a/templates/Debian-8.0-amd64-netboot/chef.sh +++ /dev/null @@ -1,49 +0,0 @@ -if [ -f .veewee_params ] -then - . .veewee_params -fi - -# Default to Gem install -if [ -z "$CHEF_INSTALLMETHOD" ]; then - export CHEF_INSTALLMETHOD="gems" -fi - -# Installing chef -case $CHEF_INSTALLMETHOD in - "gems") - # Using gems - if [ -z "$CHEF_VERSION" ]; then - # Default to latest - gem install chef --no-ri --no-rdoc - else - gem install chef --no-ri --no-rdoc --version $CHEF_VERSION - fi - ;; - - "omnibus") - # Using omnibus - if [ -z "$CHEF_VERSION" ]; then - # Default to latest - wget -O - http://opscode.com/chef/install.sh | sudo bash -s - else - wget -O - http://opscode.com/chef/install.sh | sudo bash -s -- -v $CHEF_VERSION - fi - ;; - - "package") - # Using packages - apt-get install -y debconf-utils - echo "chef chef/chef_server_url string $CHEF_SERVER_URL" | debconf-set-selections - if [ -z "$CHEF_VERSION" ]; then - # Default to latest - apt-get install -y chef - else - apt-get install -y chef=$CHEF_VERSION - fi - ;; - - *) - echo "Unsupported method for installing chef" - exit -1 - ;; -esac |