module OmfRc::Util::CommonTools
This module defines a Utility with some common work blocks that could be useful to any type of Resource Proxy (RP)
Public Instance Methods
cmd_exists?(cmd)
click to toggle source
# File lib/omf_rc/util/common_tools.rb, line 43 def cmd_exists?(cmd) !Facter::Core::Execution.which(cmd).nil? end