Commit 5a2d83ea3aa43f6728425a65700ba563e991b014
1 parent
db1a453c
Version v0.3.2. Revert previous 'fix'.
Showing
4 changed files
with
10 additions
and
6 deletions
@@ -17,7 +17,7 @@ provisioner: | @@ -17,7 +17,7 @@ provisioner: | ||
17 | platforms: | 17 | platforms: |
18 | - name: ubuntu-14.04 | 18 | - name: ubuntu-14.04 |
19 | driver: | 19 | driver: |
20 | - image_id: ami-548e2d34 | 20 | + image_id: ami-fe8c2f9e |
21 | transport: | 21 | transport: |
22 | username: ubuntu | 22 | username: ubuntu |
23 | ssh_key: ~/.ssh/cfe_stg_20160222.pem | 23 | ssh_key: ~/.ssh/cfe_stg_20160222.pem |
1 | -## 0.3.1 - 2016-11-28 | 1 | +## 0.3.2 - 2016-11-29 |
2 | +### Fixed | ||
3 | +- Reverted previous fix: paramter 'creates' for 'aws_tar_extract' should be mandatory. | ||
4 | + | ||
5 | +## 0.3.1 - 2016-11-28 [YANKED] | ||
2 | ### Fixed | 6 | ### Fixed |
3 | - Fixed definition for 'aws_tar_extract' where it raises an exception if no 'creates' parameter is given. | 7 | - Fixed definition for 'aws_tar_extract' where it raises an exception if no 'creates' parameter is given. |
4 | 8 |
@@ -26,8 +26,8 @@ | @@ -26,8 +26,8 @@ | ||
26 | # :target_dir => Where the tarball is to be unpacked. If not | 26 | # :target_dir => Where the tarball is to be unpacked. If not |
27 | # exists, it will be created | 27 | # exists, it will be created |
28 | # :creates => A file path used for idempotency | 28 | # :creates => A file path used for idempotency |
29 | -# :encrypted => Boolean. Whether these backup files are encrypted. | ||
30 | -# :priv_key => String. Contents of private key, if used. | 29 | +# :encrypted => (Optional) Boolean. Whether backup files are encrypted. |
30 | +# :priv_key => (Optional) String. Contents of private key, if used. | ||
31 | 31 | ||
32 | define :aws_tar_extract, | 32 | define :aws_tar_extract, |
33 | :file => nil, # default is params[:name] | 33 | :file => nil, # default is params[:name] |
@@ -47,7 +47,7 @@ define :aws_tar_extract, | @@ -47,7 +47,7 @@ define :aws_tar_extract, | ||
47 | include_recipe 'awscli' | 47 | include_recipe 'awscli' |
48 | include_recipe 'tar' | 48 | include_recipe 'tar' |
49 | 49 | ||
50 | - unless params[:creates].nil? || ::File.exist?(params[:creates]) | 50 | + unless ::File.exist?(params[:creates]) |
51 | 51 | ||
52 | directory(tmp_dir) { recursive true } | 52 | directory(tmp_dir) { recursive true } |
53 | directory(params[:target_dir]) { recursive true } | 53 | directory(params[:target_dir]) { recursive true } |
@@ -4,7 +4,7 @@ maintainer_email 'sysadmin@chromedia.com' | @@ -4,7 +4,7 @@ maintainer_email 'sysadmin@chromedia.com' | ||
4 | license 'Apache License' | 4 | license 'Apache License' |
5 | description 'Creates a script to backup directories into an S3 bucket.' | 5 | description 'Creates a script to backup directories into an S3 bucket.' |
6 | long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | 6 | long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) |
7 | -version '0.3.1' | 7 | +version '0.3.2' |
8 | 8 | ||
9 | depends 'awscli', '~> 1.0.1' | 9 | depends 'awscli', '~> 1.0.1' |
10 | depends 'cron', '~> 1.7.4' | 10 | depends 'cron', '~> 1.7.4' |