Commit de402459 authored by Dale Hui's avatar Dale Hui Committed by Ben Abrams
Browse files

Make chef-vault version pinning optional

parent 3d5a19e6
......@@ -153,4 +153,4 @@ else
default['sumologic']['collectorRestartCmd'] = "#{default['sumologic']['installDir']}/collector restart"
end
default['sumologic']['chef_vault_version'] = '2.9.0'
default['sumologic']['chef_vault_version'] = nil
......@@ -33,7 +33,7 @@ credentials = {}
chef_gem 'chef-vault' do
compile_time true if respond_to?(:compile_time)
version node['sumologic']['chef_vault_version']
version node['sumologic']['chef_vault_version'] unless node['sumologic']['chef_vault_version'].nil?
end
require 'chef-vault'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment