Unverified Commit 68d7d760 authored by Tim Smith's avatar Tim Smith Committed by GitHub
Browse files

Merge pull request #20 from sous-chefs/automated/cookstyle

Automated PR: Cookstyle Changes
parents 79efb406 1a96e903
......@@ -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
......@@ -10,11 +10,11 @@ class Chef
def load_current_resource
def action_run
action :run do
Chef::Log.debug 'DpkgAutostart: Compat method. Action does nothing.'
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'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment