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
Dpkg Autostart
Commits
68d7d760
Unverified
Commit
68d7d760
authored
Jul 20, 2020
by
Tim Smith
Committed by
GitHub
Jul 20, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #20 from sous-chefs/automated/cookstyle
Automated PR: Cookstyle Changes
parents
79efb406
1a96e903
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
CHANGELOG.md
CHANGELOG.md
+5
-0
libraries/provider.rb
libraries/provider.rb
+2
-2
No files found.
CHANGELOG.md
View file @
68d7d760
...
...
@@ -2,6 +2,11 @@
This file is used to list changes made in each version of the dpkg_autostart cookbook.
## Unreleased
-
resolved cookstyle error: libraries/provider.rb:13:7 refactor:
`ChefModernize/ActionMethodInResource`
-
resolved cookstyle error: libraries/provider.rb:17:7 refactor:
`ChefModernize/ActionMethodInResource`
## 0.4.0 (2020-06-18)
-
Restore Chef Infra Client < 16 compatibility
...
...
libraries/provider.rb
View file @
68d7d760
...
...
@@ -10,11 +10,11 @@ class Chef
def
load_current_resource
end
def
action
_
run
action
:
run
do
Chef
::
Log
.
debug
'DpkgAutostart: Compat method. Action does nothing.'
end
def
action
_
create
action
:
create
do
template
=
Chef
::
Resource
::
Template
.
new
(
'dpkg_autostart_file'
,
run_context
)
template
.
cookbook
'dpkg_autostart'
template
.
source
'policy-rc.d.erb'
...
...
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