diff options
Diffstat (limited to 'lib/puppet/property.rb')
-rw-r--r-- | lib/puppet/property.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/puppet/property.rb b/lib/puppet/property.rb index ec700fbdf..0ded4c557 100644 --- a/lib/puppet/property.rb +++ b/lib/puppet/property.rb @@ -69,11 +69,9 @@ class Puppet::Property < Puppet::Parameter # Call the provider method. def call_provider(value) - begin provider.send(self.class.name.to_s + "=", value) - rescue NoMethodError + rescue NoMethodError self.fail "The #{provider.class.name} provider can not handle attribute #{self.class.name}" - end end # Call the dynamically-created method associated with our value, if |