Can someone look at this code?
 def get_bind_cfg_value(key)
   Puppet.warning("entered get_bind_cfg")
   if Facter.value('multibind_present')
       if Facter.value('multibind_configured')
         configuration=Facter.value('multibind_configuration')
         instance_cfg = configuration[resource(:name)]
         if instance_cfg
           return instance_cfg[key]
         else
           return :absent
         end # if instance_cfg
       else
         return :absent
       end # configured
     else
       return :absent
     end # if present
 end # def

I *believe* this is where I'm getting an error thrown such that:
Error: /Stage[main]/Multibind::Mob_oam_svc/Bindconfigure[MOB_OAM_SVC]:
Could not evaluate: wrong number of arguments (1 for 0)

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAArvnv0gr1DEtui%2B_anw91%2BYjoBgmSHB9_Q%2BRzhJDvXySsn%2Bpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to