Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
sumologic-collector-chef-cookbook
Commits
de402459
Commit
de402459
authored
May 25, 2017
by
Dale Hui
Committed by
Ben Abrams
Jun 16, 2017
Browse files
Make chef-vault version pinning optional
parent
3d5a19e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
attributes/default.rb
View file @
de402459
...
...
@@ -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
recipes/sumoconf.rb
View file @
de402459
...
...
@@ -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'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment