File tree 1 file changed +2
-2
lines changed
lib/puppet_references/puppet
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def get_type_json
31
31
description = description + "\n "
32
32
end
33
33
if provider [ 'commands' ]
34
- description = description + "\n * Required binaries: `#{ provider [ 'commands' ] . values . join ( '`, `' ) } `"
34
+ description = description + "\n * Required binaries: `#{ provider [ 'commands' ] . values . sort . join ( '`, `' ) } `"
35
35
end
36
36
if provider [ 'confines' ]
37
37
description = description + "\n * Confined to: `#{ provider [ 'confines' ] . map { |fact , val | "#{ fact } == #{ val } " } . join ( '`, `' ) } `"
@@ -40,7 +40,7 @@ def get_type_json
40
40
description = description + "\n * Default for: `#{ provider [ 'defaults' ] . map { |fact , val | "#{ fact } == #{ val } " } . join ( '`, `' ) } `"
41
41
end
42
42
if provider [ 'features' ]
43
- description = description + "\n * Supported features: `#{ provider [ 'features' ] . join ( '`, `' ) } `"
43
+ description = description + "\n * Supported features: `#{ provider [ 'features' ] . sort . join ( '`, `' ) } `"
44
44
end
45
45
memo [ provider [ 'name' ] ] = {
46
46
'features' => ( provider [ 'features' ] || [ ] ) ,
You can’t perform that action at this time.
0 commit comments