Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #30 from ApplauseOSS/allow-registration-failures
Browse files Browse the repository at this point in the history
Allow registration failures
  • Loading branch information
wolf31o2 committed Apr 2, 2019
2 parents aac247b + 47ef2fb commit 8f5702b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions attributes/default.rb
Expand Up @@ -20,6 +20,9 @@
# Set this however you see fit
default['strongdm']['admin_token'] = nil

# Allow failures to prevent failing Chef run
default['strongdm']['ignore_registration_failures'] = false

# Installation user
default['strongdm']['url'] = 'https://app.strongdm.com/releases/cli/linux'
default['strongdm']['user'] = 'strongdm'
Expand Down
1 change: 1 addition & 0 deletions recipes/gateway.rb
Expand Up @@ -26,5 +26,6 @@
bind_port node['strongdm']['gateway_bind_port']
port node['strongdm']['gateway_port']
user_name node['strongdm']['user']
ignore_failure node['strongdm']['ignore_registration_failures']
action :create
end
1 change: 1 addition & 0 deletions recipes/relay.rb
Expand Up @@ -26,5 +26,6 @@
port node['strongdm']['relay_port']
user_name node['strongdm']['user']
type 'relay'
ignore_failure node['strongdm']['ignore_registration_failures']
action :create
end
1 change: 1 addition & 0 deletions recipes/server.rb
Expand Up @@ -23,4 +23,5 @@
admin_token node['strongdm']['admin_token']
advertise_address node['ipaddress']
granted_roles node['strongdm']['default_grant_roles']
ignore_failure node['strongdm']['ignore_registration_failures']
end

0 comments on commit 8f5702b

Please sign in to comment.