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.
2 parents ec60720 + 9922bc6 commit 7b7b78eCopy full SHA for 7b7b78e
lib/puppet/resource_api/type_definition.rb
@@ -15,13 +15,7 @@ def ensurable?
15
16
# rubocop complains when this is named has_feature?
17
def feature?(feature)
18
- supported = (definition[:features] && definition[:features].include?(feature))
19
- if supported
20
- Puppet.debug("#{definition[:name]} supports `#{feature}`")
21
- else
22
- Puppet.debug("#{definition[:name]} does not support `#{feature}`")
23
- end
24
- supported
+ (definition[:features] && definition[:features].include?(feature))
25
end
26
27
def validate_schema(definition, attr_key)
0 commit comments