@@ -168,18 +168,20 @@ sudo mkdir -p /etc/cinc
168168sudo ln -snf /etc/cinc /etc/chef
169169
170170curl -L https://omnitruck.cinc.sh/install.sh | sudo bash
171+ curl -L https://omnitruck.cinc.sh/install.sh | sudo bash -s -- -v 18.4.12
172+
171173
172174# /opt/chef -> /opt/cinc
173175sudo ln -snf /opt/cinc /opt/chef
174176
175- # prime onepassword secret /etc/cinc/op_service_account_token
176- # Install 1Password cli
177- sudo apt-get update
178- sudo apt-get install unzip
179- ARCH="<choose between 386/amd64/arm/arm64>"
180- curl -o /tmp/op.zip https://cache.agilebits.com/dist/1P/op2/pkg/v2.29.0 /op_linux_amd64_v2.29.0 .zip
181- sudo unzip /tmp/op.zip op -d /usr/local/bin/
182- rm -f /tmp/op.zip
177+ ## prime onepassword secret /etc/cinc/op_service_account_token
178+ ## Install 1Password cli
179+ # sudo apt-get update
180+ # sudo apt-get install unzip
181+ # ARCH="<choose between 386/amd64/arm/arm64>"
182+ # curl -o /tmp/op.zip https://cache.agilebits.com/dist/1P/op2/pkg/v2.30.3 /op_linux_amd64_v2.30.3 .zip
183+ # sudo unzip /tmp/op.zip op -d /usr/local/bin/
184+ # rm -f /tmp/op.zip
183185
184186# op user get --me
185187
@@ -222,6 +224,7 @@ sudo tee /etc/chef/run-list.json <<EOF
222224}
223225EOF
224226
227+ sudo apt-get install git
225228sudo mkdir -p /var/chef /var/chef/repos /var/log/chef
226229cd /var/chef/repos
227230sudo git clone https://github.com/boxcutter/chef-cookbooks.git \
@@ -413,7 +416,7 @@ sudo mkdir -p /etc/cinc
413416# /etc/chef -> /etc/cinc
414417sudo ln -snf /etc/cinc /etc/chef
415418
416- curl -L https://omnitruck.cinc.sh/install.sh | sudo bash
419+ curl -L https://omnitruck.cinc.sh/install.sh | sudo bash -s -- -v 18.4.12
417420
418421# /opt/chef -> /opt/cinc
419422sudo ln -snf /opt/cinc /opt/chef
@@ -422,7 +425,7 @@ sudo ln -snf /opt/cinc /opt/chef
422425# Install 1Password cli
423426sudo dnf install unzip
424427ARCH="<choose between 386/amd64/arm/arm64>"
425- curl -o /tmp/op.zip https://cache.agilebits.com/dist/1P/op2/pkg/v2.29.0 /op_linux_amd64_v2.29.0 .zip
428+ curl -o /tmp/op.zip https://cache.agilebits.com/dist/1P/op2/pkg/v2.30.3 /op_linux_amd64_v2.30.3 .zip
426429sudo unzip /tmp/op.zip op -d /usr/local/bin/
427430rm -f /tmp/op.zip
428431
0 commit comments