-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING Switch default to Globus v5, support v5.4
Switch default Globus version to v5, only support v5.4 Drop RedHat/CentOS 6 support Add RedHat/CentOS 8 support Update module dependencies
- Loading branch information
Showing
24 changed files
with
776 additions
and
580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,7 @@ jobs: | |
matrix: | ||
set: | ||
- "centos-7" | ||
- "centos-8" | ||
puppet: | ||
- "puppet5" | ||
- "puppet6" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Puppet::Functions.create_function(:'globus::endpoint_setup_args') do | ||
dispatch :args do | ||
param 'Hash', :values | ||
end | ||
def args(values) | ||
flags = [] | ||
flags << "'#{values['display_name']}'" | ||
flags << "--client-id #{values['client_id']}" | ||
flags << "--owner '#{values['owner']}'" | ||
flags << "--deployment-key #{values['deployment_key']}" | ||
flags << "--organization '#{values['organization']}'" unless values['organization'].nil? | ||
flags << "--keywords '#{values['keywords'].join(',')}'" unless values['keywords'].nil? | ||
flags << "--department '#{values['department']}'" unless values['department'].nil? | ||
flags << "--contact-email '#{values['contact_email']}'" unless values['contact_email'].nil? | ||
flags << "--contact-info '#{values['contact_info']}'" unless values['contact_info'].nil? | ||
flags << "--info-link '#{values['info_link']}'" unless values['info_link'].nil? | ||
flags << "--description '#{values['description']}'" unless values['description'].nil? | ||
flags << '--private' unless values['public'] | ||
flags.join(' ') | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Puppet::Functions.create_function(:'globus::node_setup_args') do | ||
dispatch :args do | ||
param 'Hash', :values | ||
end | ||
def args(values) | ||
flags = [] | ||
flags << "--client-id #{values['client_id']}" | ||
flags << "--deployment-key #{values['deployment_key']}" | ||
flags << "--incoming-port-range #{values['incoming_port_range'].join(',')}" unless values['incoming_port_range'].nil? | ||
flags << "--outgoing-port-range #{values['outgoing_port_range'].join(',')}" unless values['outgoing_port_range'].nil? | ||
flags << "--ip-address #{values['ip_address']}" unless values['ip_address'].nil? | ||
flags << "--export-node #{values['export_node']}" unless values['export_node'].nil? | ||
flags << "--import-node #{values['import_node']}" unless values['import_node'].nil? | ||
flags.join(' ') | ||
end | ||
end |
Oops, something went wrong.