Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -18,38 +18,51 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
def initialize(name, run_context = nil)
|
||||
super
|
||||
@resource_name = :ark
|
||||
@allowed_actions.push(:install, :dump, :cherry_pick, :put, :install_with_make, :configure, :setup_py_build, :setup_py_install, :setup_py, :unzip)
|
||||
@action = :install
|
||||
@provider = Chef::Provider::Ark
|
||||
end
|
||||
actions(
|
||||
:cherry_pick,
|
||||
:configure,
|
||||
:dump,
|
||||
:install,
|
||||
:install_with_make,
|
||||
:put,
|
||||
:setup_py,
|
||||
:setup_py_build,
|
||||
:setup_py_install,
|
||||
:unzip
|
||||
)
|
||||
|
||||
attr_accessor :path, :release_file, :prefix_bin, :prefix_root, :home_dir, :extension, :version
|
||||
default_action :install
|
||||
|
||||
attribute :owner, :kind_of => String, :default => 'root'
|
||||
attribute :group, :kind_of => [String, Fixnum], :default => 0
|
||||
attribute :url, :kind_of => String, :required => true
|
||||
attribute :path, :kind_of => String, :default => nil
|
||||
attribute :full_path, :kind_of => String, :default => nil
|
||||
attribute :append_env_path, :kind_of => [TrueClass, FalseClass], :default => false
|
||||
attribute :checksum, :regex => /^[a-zA-Z0-9]{64}$/, :default => nil
|
||||
attribute :has_binaries, :kind_of => Array, :default => []
|
||||
attribute :creates, :kind_of => String, :default => nil
|
||||
attribute :release_file, :kind_of => String, :default => ''
|
||||
attribute :strip_leading_dir, :kind_of => [TrueClass, FalseClass, NilClass]
|
||||
attribute :strip_components, :kind_of => Integer, :default => 1
|
||||
attribute :mode, :kind_of => Fixnum, :default => 0755
|
||||
attribute :prefix_root, :kind_of => String, :default => nil
|
||||
attribute :prefix_home, :kind_of => String, :default => nil
|
||||
attribute :prefix_bin, :kind_of => String, :default => nil
|
||||
attribute :version, :kind_of => String, :default => nil
|
||||
attribute :home_dir, :kind_of => String, :default => nil
|
||||
attribute :win_install_dir, :kind_of => String, :default => nil
|
||||
attribute :environment, :kind_of => Hash, :default => {}
|
||||
attribute :autoconf_opts, :kind_of => Array, :default => []
|
||||
attribute :make_opts, :kind_of => Array, :default => []
|
||||
attribute :home_dir, :kind_of => String, :default => nil
|
||||
attribute :autoconf_opts, :kind_of => Array, :default => []
|
||||
attribute :extension, :kind_of => String
|
||||
attr_accessor :extension,
|
||||
:home_dir,
|
||||
:path,
|
||||
:prefix_bin,
|
||||
:prefix_root,
|
||||
:release_file,
|
||||
:version
|
||||
|
||||
attribute :owner, kind_of: String, default: 'root'
|
||||
attribute :group, kind_of: [String, Fixnum], default: 0
|
||||
attribute :url, kind_of: String, required: true
|
||||
attribute :path, kind_of: String, default: nil
|
||||
attribute :full_path, kind_of: String, default: nil
|
||||
attribute :append_env_path, kind_of: [TrueClass, FalseClass], default: false
|
||||
attribute :checksum, regex: /^[a-zA-Z0-9]{64}$/, default: nil
|
||||
attribute :has_binaries, kind_of: Array, default: []
|
||||
attribute :creates, kind_of: String, default: nil
|
||||
attribute :release_file, kind_of: String, default: ''
|
||||
attribute :strip_leading_dir, kind_of: [TrueClass, FalseClass, NilClass]
|
||||
attribute :strip_components, kind_of: Integer, default: 1
|
||||
attribute :mode, kind_of: Fixnum, default: 0755
|
||||
attribute :prefix_root, kind_of: String, default: nil
|
||||
attribute :prefix_home, kind_of: String, default: nil
|
||||
attribute :prefix_bin, kind_of: String, default: nil
|
||||
attribute :version, kind_of: String, default: nil
|
||||
attribute :home_dir, kind_of: String, default: nil
|
||||
attribute :win_install_dir, kind_of: String, default: nil
|
||||
attribute :environment, kind_of: Hash, default: {}
|
||||
attribute :autoconf_opts, kind_of: Array, default: []
|
||||
attribute :make_opts, kind_of: Array, default: []
|
||||
attribute :home_dir, kind_of: String, default: nil
|
||||
attribute :autoconf_opts, kind_of: Array, default: []
|
||||
attribute :extension, kind_of: String
|
||||
|
||||
Reference in New Issue
Block a user