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
1f051890
Commit
1f051890
authored
Feb 12, 2020
by
gokulgurumurthy-alation
Browse files
fixes #160 credentials passed as strings for non data-bag keys
parent
a4d6daf9
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
1f051890
...
...
@@ -8,6 +8,9 @@ This CHANGELOG (now) follows the format listed at [Keep A Changelog](http://keep
-
Added securefiles boolean flag in installer to enable or disable enhanced file security.
-
added fields support to user.properties
### Changed
-
Pass SSM credentials as strings and data bag credentails as symbols
## [1.4.0] - 2018-06-26
### Added
-
Added
`cutoffTimestamp`
and
`cutoffRelativeTime`
properties.
...
...
recipes/sumoconf.rb
View file @
1f051890
...
...
@@ -87,6 +87,11 @@ template node['sumologic']['sumo_conf_path'] do
end
# this may look strange, but one pair will be nil, so it all works out
variables
(
accessID:
credentials
[
:accessID
],
accessKey:
credentials
[
:accessKey
])
if
node
.
run_state
[
'sumo_key_id'
]
&&
node
.
run_state
[
'sumo_key_secret'
]
variables
(
accessID:
credentials
[
'accessID'
],
accessKey:
credentials
[
'accessKey'
])
else
variables
(
accessID:
credentials
[
:accessID
],
accessKey:
credentials
[
:accessKey
])
end
end
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