chef-workflow-tasklib 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,7 @@
1
- * 0.2.0 (unreleased)
1
+ * 0.2.1 February 11, 2012
2
+ * A few common situations would cause cookbook resolvers to not work if they
3
+ were integrated.
4
+ * 0.2.0 February 8, 2012
2
5
  * **breaking change**: the 'cookbooks' namespace has been moved to chef:cookbooks
3
6
  * chef:build builds a server or set of servers based on a server group. Uses
4
7
  the provisioner and scheduler, and is tracked no differently than
@@ -1,5 +1,5 @@
1
1
  module ChefWorkflow
2
2
  module Tasklib
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -6,10 +6,8 @@ namespace :chef do
6
6
  namespace :cookbooks do
7
7
  desc "Resolve cookbooks and populate using Berkshelf"
8
8
  task :resolve => [ "bootstrap:knife" ] do
9
- if File.directory?(KnifeSupport.cookbooks_path)
10
- Bundler.with_clean_env do
11
- sh "berks install --#{$BERKSHELF_ARG} #{ChefWorkflow::KnifeSupport.cookbooks_path}"
12
- end
9
+ Bundler.with_clean_env do
10
+ sh "berks install --#{$BERKSHELF_ARG} #{ChefWorkflow::KnifeSupport.cookbooks_path}"
13
11
  end
14
12
  end
15
13
 
@@ -6,10 +6,8 @@ namespace :chef do
6
6
  namespace :cookbooks do
7
7
  desc "Resolve cookbooks and populate using Librarian"
8
8
  task :resolve => [ "bootstrap:knife" ] do
9
- if File.directory?(ChefWorkflow::KnifeSupport.cookbooks_path)
10
- Bundler.with_clean_env do
11
- sh "librarian-chef install --path #{ChefWorkflow::KnifeSupport.cookbooks_path}"
12
- end
9
+ Bundler.with_clean_env do
10
+ sh "librarian-chef install --path #{ChefWorkflow::KnifeSupport.cookbooks_path}"
13
11
  end
14
12
  end
15
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-workflow-tasklib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-08 00:00:00.000000000 Z
12
+ date: 2013-02-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef-workflow