Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
sumologic-collector
Commits
ce631d9b
Commit
ce631d9b
authored
Feb 25, 2016
by
Yoway Buorn
Browse files
foodcritic - FC001 FC019 FC064 FC065
parent
1dd45129
Changes
2
Hide whitespace changes
Inline
Side-by-side
metadata.rb
View file @
ce631d9b
name
'sumologic-collector'
maintainer
'Ben Newton'
maintainer_email
'ben@sumologic.com'
maintainer
'Yoway Buorn'
maintainer_email
'yoway@sumologic.com'
issues_url
'https://github.com/SumoLogic/sumologic-collector-chef-cookbook/issues'
source_url
'https://github.com/SumoLogic/sumologic-collector-chef-cookbook'
license
'Apache v2.0'
description
'Installs/Configures sumologic-collector'
long_description
IO
.
read
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'README.md'
))
...
...
recipes/debian.rb
View file @
ce631d9b
...
...
@@ -7,7 +7,7 @@ dpkg_package 'sumocollector' do
action
:install
end
if
node
[
:
platform
]
==
'debian'
&&
Gem
::
Version
.
new
(
node
[
:
platform_version
])
>=
Gem
::
Version
.
new
(
'8.0'
)
if
node
[
'
platform
'
]
==
'debian'
&&
Gem
::
Version
.
new
(
node
[
'
platform_version
'
])
>=
Gem
::
Version
.
new
(
'8.0'
)
execute
'sumo-systemd-reload'
do
command
'sudo /bin/systemctl --system daemon-reload && sudo systemctl restart collector.service'
action
:run
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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