Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
# Data bag user object needs an "action": "remove" tag to actually be removed by the action.
|
||||
actions :create, :remove
|
||||
default_action :create
|
||||
|
||||
state_attrs :cookbook,
|
||||
:data_bag,
|
||||
@@ -31,14 +32,9 @@ state_attrs :cookbook,
|
||||
# :group_name is the string name of the group to create, defaults to resource name
|
||||
# :group_id is the numeric id of the group to create, default is to allow the OS to pick next
|
||||
# :cookbook is the name of the cookbook that the authorized_keys template should be found in
|
||||
attribute :data_bag, :kind_of => String, :default => "users"
|
||||
attribute :search_group, :kind_of => String, :name_attribute => true
|
||||
attribute :group_name, :kind_of => String, :name_attribute => true
|
||||
attribute :group_id, :kind_of => Integer
|
||||
attribute :cookbook, :kind_of => String, :default => "users"
|
||||
attribute :manage_nfs_home_dirs, :kind_of => [TrueClass, FalseClass], :default => true
|
||||
|
||||
def initialize(*args)
|
||||
super
|
||||
@action = :create
|
||||
end
|
||||
attribute :data_bag, kind_of: String, default: 'users'
|
||||
attribute :search_group, kind_of: String, name_attribute: true
|
||||
attribute :group_name, kind_of: String, name_attribute: true
|
||||
attribute :group_id, kind_of: Integer
|
||||
attribute :cookbook, kind_of: String, default: 'users'
|
||||
attribute :manage_nfs_home_dirs, kind_of: [TrueClass, FalseClass], default: true
|
||||
|
||||
Reference in New Issue
Block a user