Downgrade mysql cookbook for now
It doesn't play well with our current dev server setup
This commit is contained in:
@@ -2,6 +2,17 @@
|
||||
|
||||
This file is used to list changes made in each version of the tar cookbook.
|
||||
|
||||
## 2.1.1 (2017-06-13)
|
||||
|
||||
- Fix metadata source and issues links.
|
||||
|
||||
## 2.1.0 (2017-05-30)
|
||||
|
||||
- Test with Local Delivery instead of Rake
|
||||
- Update apache2 license string
|
||||
- Attribute -> Property in the custom resource
|
||||
- Remove class_eval and require Chef 12.7+
|
||||
|
||||
## 2.0.0 (2017-02-16)
|
||||
|
||||
- Converted the existing LWRPs to custom resources and bumped the minimum supported Chef release to 12.5
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Cookbook Name:: tar
|
||||
# Cookbook:: tar
|
||||
# Recipe:: default
|
||||
#
|
||||
# Author:: Nathan L Smith (<nathan@cramerdev.com>)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user