Sha256: a9a0ecb307793c3e7a38c143f3f57e56c91db194e53b8dfdac5e26c7fe0044e7
Contents?: true
Size: 666 Bytes
Versions: 9
Compression:
Stored size: 666 Bytes
Contents
module PoolParty module Resources class Exec < Resource default_options({ :path => "/usr/bin:/bin:/usr/local/bin:$PATH" }) # Execs cannot have the following parameters # We use version in the gempackage resource # So we have to exclude it here. Alternatively, we could # exclude it in the gempackage, but this is an example # of how to exclude it as well def disallowed_options [:ensure, :name, :source, :version] end def key name || command end def present "running" end end end end
Version data entries
9 entries across 9 versions & 2 rubygems