Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

ChefDK 0.5.0.rc.1 Release #343

Merged
merged 1 commit into from
Mar 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@
configuration option. Chef Zero support for this new API is
incomplete, so this setting cannot be used with Chef Zero until a
future update to Chef Zero enables this functionality.
* `chef -v` now displays the version of the ChefDK, Chef, Berkshelf
and Test Kitchen.
* [#150](https://github.com/chef/chef-dk/pull/150) Update `generate repo`
command to no longer use monolithic repo.
* Updated dependencies (some bundled with the omnibus build)
* Chef - 12.2.0
* chef-provisioning - 0.19
* chef-provisioning-fog - 0.13.1
* chef-provisioning-azure - 0.2.1
* chef-provisioning-aws - 0.5.0
* test-kitchen - 1.4.0
* kitchen-vagrant - 0.17.0

# Last Release: 0.4.0
* Add support for uploading Policyfiles via native API rather than as a
Expand Down
1 change: 1 addition & 0 deletions lib/chef-dk/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
require 'chef-dk/ui'
require 'chef/util/path_helper'
require 'chef/mixin/shell_out'
require 'bundler'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was missing from #305


module ChefDK
class CLI
Expand Down
2 changes: 1 addition & 1 deletion lib/chef-dk/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
#

module ChefDK
VERSION = "0.4.0"
VERSION = "0.5.0.rc.1"
end
3 changes: 2 additions & 1 deletion lib/kitchen/provisioner/policyfile_zero.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,11 @@ def prepare_validation_pem
def prepare_client_rb
data = default_config_rb.merge(config[:client_rb])

# TODO this will need to be updated when chef-zero supports erchef paths (policy_group vs policies)
data["use_policyfile"] = true
data["versioned_cookbooks"] = true
data["deployment_group"] = "#{policy_exporter.policy_name}-local"
# TODO this will need to be updated when chef-zero supports erchef paths (policy_group vs policies)
data["policy_document_native_api"] = false

info("Preparing client.rb")
debug("Creating client.rb from #{data.inspect}")
Expand Down