Sha256: 39b42cd8d555a97950e8a566eecfefc09724a3f7a8880e9e1d368cda0a6767ca
Contents?: true
Size: 678 Bytes
Versions: 2
Compression:
Stored size: 678 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. def allowed_options [ :command, :creates, :cwd, :env, :environment, :group, :logoutput, :user, :onlyif, :path, :refresh, :refreshonly, :returns, :timeout, :unless ] end def key name || command end def present "running" end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
auser-poolparty-0.2.68 | lib/poolparty/pool/resources/exec.rb |
poolparty-0.2.69 | lib/poolparty/pool/resources/exec.rb |