Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #63 from nanliu/ticket/11069
Browse files Browse the repository at this point in the history
(#11069) Fix F5 monitor integer property.

Reviewed by: Nan Liu <nan@puppetlabs.com>
  • Loading branch information
nanliu committed Nov 29, 2011
2 parents a50ddb6 + 770adba commit 741b780
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/puppet/provider/f5_monitor/f5_monitor.rb
Expand Up @@ -121,9 +121,8 @@ def template_integer_property
def template_integer_property=(value)
resource[:template_integer_property].each do |k, v|
# Trying to configure ITYPE_UNSET results in Exception: Common::OperationFailed
transport[wsdl].set_template_integer_property(resource[:name], [{:type => k, :value => v}]) unless k = 'ITYPE_UNSET'
transport[wsdl].set_template_integer_property(resource[:name], [{:type => k, :value => v}]) unless k == 'ITYPE_UNSET'
end
true
end

def template_string_property
Expand Down

0 comments on commit 741b780

Please sign in to comment.