Skip to content

Commit 1cf7eac

Browse files
committed
Add OP_SERVICE_ACCOUNT_TOKEN
1 parent 4af785a commit 1cf7eac

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.kitchen.local.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,13 @@ suites:
9393
- recipe[boxcutter_ohai]
9494
- recipe[boxcutter_ci_fixes]
9595
- recipe[boxcutter_init]
96+
lifecycle:
97+
pre_converge:
98+
- remote: |
99+
bash -xc '
100+
set +x
101+
mkdir -p /etc/cinc
102+
ln -s /etc/cinc /etc/chef
103+
echo "<%= ENV['OP_SERVICE_ACCOUNT_TOKEN'] %>" > /etc/chef/op_service_account_token
104+
set -x
105+
'

0 commit comments

Comments
 (0)