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.
1 parent c226f63 commit 61ca07eCopy full SHA for 61ca07e
lib/puppet/provider/package/openbsd.rb
@@ -32,12 +32,11 @@ def self.instances
32
packages = listcmd
33
packages.each { |package, value|
34
if !package.empty?()
35
- value[:provider] = self.name
+ value[:provider] = name
36
final << new(value)
37
end
38
}
39
- return final
40
-
+ final
41
rescue Puppet::ExecutionFailure
42
nil
43
@@ -97,9 +96,9 @@ def get_full_name(action = "install")
97
96
98
99
if @resource[:flavor]
100
- return "#{use_name}--#{@resource[:flavor]}#{use_branch}"
+ "#{use_name}--#{@resource[:flavor]}#{use_branch}"
101
else
102
- return "#{use_name}--#{use_branch}"
+ "#{use_name}--#{use_branch}"
103
104
105
0 commit comments