shoekstra on use_nginx
tas50 on master
Depend on nginx instead of chef… Use nginx >= 7.0 Merge pull request #552 from so… (compare)
shoekstra on use_nginx
Use nginx >= 7.0 (compare)
shoekstra on use_nginx
Depend on nginx instead of chef… (compare)
shoekstra on release_8.0.0
Release 8.0.0 (compare)
shoekstra on use_nginx
Depend on nginx instead of chef… (compare)
change the:
def update_hash_options(hash)
hash.each do |k, v|
push(Nagios::CustomOption.new(k.upcase, v)) if k.start_with?('_')
if v.is_a? String
@modifiers[k] = v[/^[+!]/]
v = v.gsub(/^[+!]/, '')
end
m = k + '='
send(m, v) if self.respond_to?(m)
end
end
into:
def update_hash_options(hash)
hash.each do |k, v|
require 'pry'; binding.pry if k.start_with?('_')
push(Nagios::CustomOption.new(k.upcase, v)) if k.start_with?('_')
if v.is_a? String
@modifiers[k] = v[/^[+!]/]
v = v.gsub(/^[+!]/, '')
end
m = k + '='
send(m, v) if self.respond_to?(m)
end
end
puts k
puts self.class