Commit 5d278eb0 authored by Daniele Valeriani's avatar Daniele Valeriani

Use the version in master

parent d1b303c4
#!/bin/sh
set -eux
cd "${chef_repo_dir}"
......@@ -6,7 +7,7 @@ bundle exec knife bootstrap "${ssh_user}@${ip_address}" \
--ssh-identity-file "${ssh_private_key}" \
--no-host-key-verify \
--sudo \
--environment ${environment == "prod" ? "prd" : environment} \
--environment "${environment == "prod" ? "prd" : environment}" \
--node-name "${hostname}" \
--bootstrap-version "${chef_version}" \
--run-list 'role[gitlab]' \
......@@ -14,4 +15,4 @@ bundle exec knife bootstrap "${ssh_user}@${ip_address}" \
--bootstrap-vault-json '${chef_vaults}' \
--yes
bundle exec knife node from file nodes/${hostname}.json
bundle exec knife node from file "nodes/${hostname}.json"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment