We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
list
1 parent f730501 commit e79e24eCopy full SHA for e79e24e
lib/puppet/resource_api/transport.rb
@@ -18,6 +18,12 @@ def register(schema)
18
end
19
module_function :register # rubocop:disable Style/AccessModifierDeclarations
20
21
+ # retrieve a Hash of transport schemas, keyed by their name.
22
+ def list
23
+ @transports || {}
24
+ end
25
+ module_function :list # rubocop:disable Style/AccessModifierDeclarations
26
+
27
def connect(name, connection_info)
28
validate(name, connection_info)
29
require "puppet/transport/#{name}"
0 commit comments