Skip to content

Commit

Permalink
Fix cookstyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Apr 25, 2024
1 parent c9d2107 commit 73505a3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cookbooks/boxcutter_tailscale/resources/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ class Helpers
&& node.run_state['boxcutter_tailscale'].key?('oauth_client_secret') \
|| node['boxcutter_tailscale']['oauth_client_id'] && node['boxcutter_tailscale']['oauth_client_secret']
api_key = get_oauth_token(new_resource.api_base_url, oauth_client_id, oauth_client_secret)
one_time_auth_key = create_auth_key(new_resource.api_base_url, new_resource.tailnet, api_key, new_resource.ephemeral,
new_resource.tags)
one_time_auth_key = create_auth_key(new_resource.api_base_url,
new_resource.tailnet,
api_key,
new_resource.ephemeral,
new_resource.tags)
shell_out!(tailscale_up_cmd(one_time_auth_key))
elsif node.run_state.key?('boxcutter_tailscale') && node.run_state['boxcutter_tailscale'].key?('auth_key') \
|| node['boxcutter_tailscale']['auth_key']
Expand Down

0 comments on commit 73505a3

Please sign in to comment.