search for: icinga_version

Displaying 1 result from an estimated 1 matches for "icinga_version".

2012 Dec 07
2
Is there any ways to fetching custom fact after some resources setuped?
...bered directory(/usr/share/doc/icinga-web-1.7.2/~~~). So, I try to determine the version number from the yum info like as below, but that repository installed after my yum module gets work done. Is there any ways to fetching custom fact after some resources setuped or any smart way to do this? icinga_version.rb ---- def get_redhat_icinga_version version = Facter::Util::Resolution.exec(''yum info icinga |grep "^Version"'') if match = /^Version\s*:\s*(\d+\.\d+\.\d+)$/.match(version) match[1] else nil # should be fail? end end Facter.add("icinga_version&quo...