Module: OmfRc::Util::CommonTools
- Includes:
- ResourceProxyDSL
- Included in:
- ResourceProxy::Application
- Defined in:
- lib/omf_rc/util/common_tools.rb
Overview
This module defines a Utility with some common work blocks that could be useful to any type of Resource Proxy (RP)
Constant Summary
Constants included from ResourceProxyDSL
ResourceProxyDSL::DEFAULT_PROP_ACCESS, ResourceProxyDSL::PROXY_DIR, ResourceProxyDSL::UTIL_DIR
Instance Method Summary collapse
Methods included from ResourceProxyDSL
#call_hook, #hook_defined?, included
Instance Method Details
#cmd_exists?(cmd) ⇒ Boolean
43 44 45 |
# File 'lib/omf_rc/util/common_tools.rb', line 43 def cmd_exists?(cmd) !Facter::Core::Execution.which(cmd).nil? end |