Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -23,46 +23,49 @@ actions :create, :delete, :add, :remove, :makecache
|
||||
default_action :create
|
||||
|
||||
# http://linux.die.net/man/5/yum.conf
|
||||
attribute :baseurl, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :cost, :kind_of => String, :regex => /^\d+$/, :default => nil
|
||||
attribute :description, :kind_of => String, :regex => /.*/, :default => 'Ye Ole Rpm Repo'
|
||||
attribute :enabled, :kind_of => [TrueClass, FalseClass], :default => true
|
||||
attribute :enablegroups, :kind_of => [TrueClass, FalseClass], :default => nil
|
||||
attribute :exclude, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :failovermethod, :kind_of => String, :equal_to => %w(priority roundrobin), :default => nil
|
||||
attribute :fastestmirror_enabled, :kind_of => [TrueClass, FalseClass], :default => nil
|
||||
attribute :gpgcheck, :kind_of => [TrueClass, FalseClass], :default => true
|
||||
attribute :gpgkey, :kind_of => [String, Array], :regex => /.*/, :default => nil
|
||||
attribute :http_caching, :kind_of => String, :equal_to => %w(packages all none), :default => nil
|
||||
attribute :include_config, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :includepkgs, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :keepalive, :kind_of => [TrueClass, FalseClass], :default => nil
|
||||
attribute :make_cache, :kind_of => [TrueClass, FalseClass], :default => true
|
||||
attribute :max_retries, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :metadata_expire, :kind_of => String, :regex => [/^\d+$/, /^\d+[mhd]$/, /never/], :default => nil
|
||||
attribute :mirrorexpire, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :mirrorlist, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :mirror_expire, :kind_of => String, :regex => [/^\d+$/, /^\d+[mhd]$/], :default => nil
|
||||
attribute :mirrorlist_expire, :kind_of => String, :regex => [/^\d+$/, /^\d+[mhd]$/], :default => nil
|
||||
attribute :mode, :default => '0644'
|
||||
attribute :priority, :kind_of => String, :regex => /^(\d?[0-9]|[0-9][0-9])$/, :default => nil
|
||||
attribute :proxy, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :proxy_username, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :proxy_password, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :username, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :password, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :repo_gpgcheck, :kind_of => [TrueClass, FalseClass], :default => nil
|
||||
attribute :report_instanceid, :kind_of => [TrueClass, FalseClass], :default => nil
|
||||
attribute :repositoryid, :kind_of => String, :regex => /.*/, :name_attribute => true
|
||||
attribute :skip_if_unavailable, :kind_of => [TrueClass, FalseClass], :default => nil
|
||||
attribute :source, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :sslcacert, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :sslclientcert, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :sslclientkey, :kind_of => String, :regex => /.*/, :default => nil
|
||||
attribute :sslverify, :kind_of => [TrueClass, FalseClass], :default => true
|
||||
attribute :timeout, :kind_of => String, :regex => /^\d+$/, :default => nil
|
||||
attribute :baseurl, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :cost, kind_of: String, regex: /^\d+$/, default: nil
|
||||
attribute :clean_headers, kind_of: [TrueClass, FalseClass], default: false # deprecated
|
||||
attribute :clean_metadata, kind_of: [TrueClass, FalseClass], default: true
|
||||
attribute :description, kind_of: String, regex: /.*/, default: 'Ye Ole Rpm Repo'
|
||||
attribute :enabled, kind_of: [TrueClass, FalseClass], default: true
|
||||
attribute :enablegroups, kind_of: [TrueClass, FalseClass], default: nil
|
||||
attribute :exclude, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :failovermethod, kind_of: String, equal_to: %w(priority roundrobin), default: nil
|
||||
attribute :fastestmirror_enabled, kind_of: [TrueClass, FalseClass], default: nil
|
||||
attribute :gpgcheck, kind_of: [TrueClass, FalseClass], default: true
|
||||
attribute :gpgkey, kind_of: [String, Array], regex: /.*/, default: nil
|
||||
attribute :http_caching, kind_of: String, equal_to: %w(packages all none), default: nil
|
||||
attribute :include_config, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :includepkgs, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :keepalive, kind_of: [TrueClass, FalseClass], default: nil
|
||||
attribute :make_cache, kind_of: [TrueClass, FalseClass], default: true
|
||||
attribute :max_retries, kind_of: [String, Integer], default: nil
|
||||
attribute :metadata_expire, kind_of: String, regex: [/^\d+$/, /^\d+[mhd]$/, /never/], default: nil
|
||||
attribute :mirrorexpire, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :mirrorlist, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :mirror_expire, kind_of: String, regex: [/^\d+$/, /^\d+[mhd]$/], default: nil
|
||||
attribute :mirrorlist_expire, kind_of: String, regex: [/^\d+$/, /^\d+[mhd]$/], default: nil
|
||||
attribute :mode, default: '0644'
|
||||
attribute :priority, kind_of: String, regex: /^(\d?[0-9]|[0-9][0-9])$/, default: nil
|
||||
attribute :proxy, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :proxy_username, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :proxy_password, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :username, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :password, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :repo_gpgcheck, kind_of: [TrueClass, FalseClass], default: nil
|
||||
attribute :report_instanceid, kind_of: [TrueClass, FalseClass], default: nil
|
||||
attribute :repositoryid, kind_of: String, regex: /.*/, name_attribute: true
|
||||
attribute :sensitive, kind_of: [TrueClass, FalseClass], default: false
|
||||
attribute :skip_if_unavailable, kind_of: [TrueClass, FalseClass], default: nil
|
||||
attribute :source, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :sslcacert, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :sslclientcert, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :sslclientkey, kind_of: String, regex: /.*/, default: nil
|
||||
attribute :sslverify, kind_of: [TrueClass, FalseClass], default: nil
|
||||
attribute :timeout, kind_of: String, regex: /^\d+$/, default: nil
|
||||
|
||||
attribute :options, :kind_of => Hash
|
||||
attribute :options, kind_of: Hash
|
||||
|
||||
alias_method :url, :baseurl
|
||||
alias_method :keyurl, :gpgkey
|
||||
|
||||
Reference in New Issue
Block a user