Class: Puppet::Parameter::StatusProperty
- Inherits:
-
Puppet::Property
- Object
- Puppet::Property
- Puppet::Parameter::StatusProperty
- Includes:
- EasyType, EasyType::Validators::Integer
- Defined in:
- lib/puppet_x/vulnerability/status_property.rb
Overview
See the file “LICENSE” for the full license governing this code.
Instance Method Summary collapse
-
#insync?(is) ⇒ Boolean
rubocop: disable Naming/MethodParameterName.
Instance Method Details
#insync?(is) ⇒ Boolean
rubocop: disable Naming/MethodParameterName
31 32 33 34 35 36 37 38 39 |
# File 'lib/puppet_x/vulnerability/status_property.rb', line 31 def insync?(is) if resource.name != Facter.value('fqdn') Puppet.debug "#{path}: Skipping resource with name '#{resource.name}'" return true end return true if is <= value super end |