Sha256: f6a4bbd078ba5af867db7535c40b78b5dc96ffe135ec3ad4656569bf7ac67471
Contents?: true
Size: 681 Bytes
Versions: 35
Compression:
Stored size: 681 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, :download_url] end def key name || command end def present "running" end end end end
Version data entries
35 entries across 35 versions & 1 rubygems