Downgrade mysql cookbook for now

It doesn't play well with our current dev server setup
This commit is contained in:
Greg Karékinian
2017-06-16 22:43:51 +02:00
parent e39792ea36
commit bdfb3a1afb
398 changed files with 12716 additions and 10889 deletions

View File

@@ -1,5 +1,5 @@
#
# Cookbook Name:: tar
# Cookbook:: tar
# Resource:: extract
#
# Author:: Nathan L Smith (<nathan@cramerdev.com>)
@@ -34,11 +34,11 @@ property :compress_char, String, default: 'z'
property :tar_flags, [String, Array], default: []
property :user, String, default: 'root'
property :headers, Hash
property :use_etag, [TrueClass, FalseClass], default: true
property :use_last_modified, [TrueClass, FalseClass], default: true
property :atomic_update, [TrueClass, FalseClass], default: true
property :force_unlink, [TrueClass, FalseClass], default: false
property :manage_symlink_source, [TrueClass, FalseClass]
property :use_etag, [true, false], default: true
property :use_last_modified, [true, false], default: true
property :atomic_update, [true, false], default: true
property :force_unlink, [true, false], default: false
property :manage_symlink_source, [true, false]
require 'shellwords'
@@ -78,7 +78,7 @@ action :extract_local do
extract_tar(new_resource.name, new_resource)
end
action_class.class_eval do
action_class do
def extract_tar(local_archive, r)
execute "extract #{local_archive}" do
flags = if r.tar_flags.is_a?(String)

View File

@@ -1,5 +1,5 @@
#
# Cookbook Name:: tar
# Cookbook:: tar
# Resource:: package
#
# Author:: Nathan L Smith (<nathan@cramerdev.com>)
@@ -19,19 +19,19 @@
# limitations under the License.
#
attribute :source, String, name_attribute: true
attribute :headers, Hash, default: {}
attribute :prefix, String
attribute :source_directory, String, default: '/usr/local/src'
attribute :creates, String
attribute :configure_flags, Array, default: []
attribute :archive_name, String
attribute :headers, Hash
attribute :use_etag, [TrueClass, FalseClass], default: true
attribute :use_last_modified, [TrueClass, FalseClass], default: true
attribute :atomic_update, [TrueClass, FalseClass], default: true
attribute :force_unlink, [TrueClass, FalseClass], default: false
attribute :manage_symlink_source, [TrueClass, FalseClass]
property :source, String, name_property: true
property :headers, Hash, default: {}
property :prefix, String
property :source_directory, String, default: '/usr/local/src'
property :creates, String
property :configure_flags, Array, default: []
property :archive_name, String
property :headers, Hash
property :use_etag, [true, false], default: true
property :use_last_modified, [true, false], default: true
property :atomic_update, [true, false], default: true
property :force_unlink, [true, false], default: false
property :manage_symlink_source, [true, false]
action :install do
r = new_resource