Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
R
rabbitmq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
rabbitmq
Commits
70fa62fe
Unverified
Commit
70fa62fe
authored
Jul 17, 2020
by
Michael Klishin
Committed by
GitHub
Jul 17, 2020
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #561 from ramereth/ramereth/plugin-umask-fix-5.x
Fix Chef 16 issue with plugin resource
parents
1fe409b3
9c061c07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
providers/plugin.rb
providers/plugin.rb
+2
-2
No files found.
providers/plugin.rb
View file @
70fa62fe
...
...
@@ -39,7 +39,7 @@ end
action
:enable
do
unless
plugin_enabled?
(
new_resource
.
plugin
)
execute
"rabbitmq-plugins enable
#{
new_resource
.
plugin
}
"
do
umask
0022
umask
'0022'
Chef
::
Log
.
info
"Enabling RabbitMQ plugin '
#{
new_resource
.
plugin
}
'."
environment
shell_environment
.
merge
(
'PATH'
=>
"
#{
ENV
[
'PATH'
]
}
:/usr/lib/rabbitmq/bin"
...
...
@@ -52,7 +52,7 @@ end
action
:disable
do
if
plugin_enabled?
(
new_resource
.
plugin
)
execute
"rabbitmq-plugins disable
#{
new_resource
.
plugin
}
"
do
umask
0022
umask
'0022'
Chef
::
Log
.
info
"Disabling RabbitMQ plugin '
#{
new_resource
.
plugin
}
'."
environment
shell_environment
.
merge
(
'PATH'
=>
"
#{
ENV
[
'PATH'
]
}
:/usr/lib/rabbitmq/bin"
...
...
Frederik Thuysbaert
😄
@Frederik
mentioned in commit
16bcd772
·
Jul 17, 2020
mentioned in commit
16bcd772
mentioned in commit 16bcd772e4f3859c472c7f98bef4da2ad33286ca
Toggle commit list
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