Skip to content

Commit

Permalink
Make lintastic
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Dec 22, 2024
1 parent 24c00ab commit 20052d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cookbooks/boxcutter_builder/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,10 @@
if aws_amd64_github_self_host_runner_list.include?(node['hostname'])
# op item get 'tailscale oauth automation-sandbox-write-blue' --vault Automation-Sandbox
# op item get v5zvz2gomyzhgow46esj7txneu --format json
tailscale_oauth_client_id_write_blue = Polymath::OnePassword.op_read('op://Automation-Sandbox/tailscale oauth write blue/username')
tailscale_oauth_client_secret_write_blue = Polymath::OnePassword.op_read('op://Automation-Sandbox/tailscale oauth write blue/credential')
tailscale_oauth_client_id_write_blue =\
Polymath::OnePassword.op_read('op://Automation-Sandbox/tailscale oauth write blue/username')
tailscale_oauth_client_secret_write_blue = \
Polymath::OnePassword.op_read('op://Automation-Sandbox/tailscale oauth write blue/credential')
node.run_state['boxcutter_tailscale'] ||= {}
node.run_state['boxcutter_tailscale']['oauth_client_id'] = tailscale_oauth_client_id_write_blue
node.run_state['boxcutter_tailscale']['oauth_client_secret'] = tailscale_oauth_client_secret_write_blue
Expand Down

0 comments on commit 20052d5

Please sign in to comment.