Update cookbooks and add wordpress cookbook

This commit is contained in:
Greg Karékinian
2016-02-19 18:09:49 +01:00
parent 9ba973e3ac
commit 820b0ab3f8
606 changed files with 22421 additions and 14084 deletions

View File

@@ -20,23 +20,26 @@
actions :install, :remove
default_action :install
attribute :user, :kind_of => String, :default => nil
attribute :group, :kind_of => String, :default => nil
attribute :commands, :kind_of => Array, :default => ['ALL']
attribute :host, :kind_of => String, :default => 'ALL'
attribute :runas, :kind_of => String, :default => 'ALL'
attribute :nopasswd, :equal_to => [true, false], :default => false
attribute :template, :kind_of => String, :default => nil
attribute :variables, :kind_of => Hash, :default => nil
attribute :defaults, :kind_of => Array, :default => []
attribute :command_aliases, :kind_of => Array, :default => []
attribute :user, kind_of: String, default: nil
attribute :group, kind_of: String, default: nil
attribute :commands, kind_of: Array, default: ['ALL']
attribute :host, kind_of: String, default: 'ALL'
attribute :runas, kind_of: String, default: 'ALL'
attribute :nopasswd, equal_to: [true, false], default: false
attribute :template, kind_of: String, default: nil
attribute :variables, kind_of: Hash, default: nil
attribute :defaults, kind_of: Array, default: []
attribute :command_aliases, kind_of: Array, default: []
attribute :setenv, equal_to: [true, false], default: false
attribute :env_keep_add, kind_of: Array, default: []
attribute :env_keep_subtract, kind_of: Array, default: []
# Set default for the supports attribute in initializer since it is
# a 'reserved' attribute name
def initialize(*args)
super
@action = :install
@supports = { :report => true, :exception => true }
@supports = { report: true, exception: true }
end
state_attrs :commands,
@@ -47,4 +50,6 @@ state_attrs :commands,
:template,
:user,
:variables,
:command_aliases
:command_aliases,
:env_keep_add,
:env_keep_subtract