Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
mirror
rsyslog
Commits
6fd3a129
Unverified
Commit
6fd3a129
authored
Jul 10, 2018
by
Tim Smith
Committed by
GitHub
Jul 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #148 from secmff/client_mode
Follow the attributes permissions
parents
e34d3421
e8d02390
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
recipes/client.rb
recipes/client.rb
+3
-3
No files found.
recipes/client.rb
View file @
6fd3a129
...
...
@@ -53,9 +53,9 @@ else
remote_type
=
node
[
'rsyslog'
][
'use_relp'
]
?
'relp'
:
'remote'
template
"
#{
node
[
'rsyslog'
][
'config_prefix'
]
}
/rsyslog.d/49-remote.conf"
do
source
"49-
#{
remote_type
}
.conf.erb"
owner
'root'
group
'root'
mode
'0644'
owner
node
[
'rsyslog'
][
'config_files'
][
'owner'
]
group
node
[
'rsyslog'
][
'config_files'
][
'group'
]
mode
node
[
'rsyslog'
][
'config_files'
][
'mode'
]
variables
(
servers:
rsyslog_servers
)
notifies
:run
,
'execute[validate_config]'
notifies
:restart
,
"service[
#{
node
[
'rsyslog'
][
'service_name'
]
}
]"
...
...
Write
Preview
Markdown
is supported
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