diff options
author | Tim Smith <tsmith@chef.io> | 2021-01-27 09:46:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 09:46:28 -0800 |
commit | 03e26ea20baa3eee75157337db184215998dcadf (patch) | |
tree | bad84f51fc3bfedd381e31ed0cd73c818b44c84b | |
parent | b3d5d6a4a59ebaa338690d332c5baa3b785d9d8f (diff) | |
parent | fb8dedb62d009c272a2fddef3df2a15a898de5f0 (diff) | |
download | chef-03e26ea20baa3eee75157337db184215998dcadf.tar.gz |
Merge pull request #10937 from cpressland/master
Update systemd_unit.rb to make Cookstyle compliant
-rw-r--r-- | lib/chef/resource/systemd_unit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/systemd_unit.rb b/lib/chef/resource/systemd_unit.rb index b028214441..f6384ac947 100644 --- a/lib/chef/resource/systemd_unit.rb +++ b/lib/chef/resource/systemd_unit.rb @@ -34,7 +34,7 @@ class Chef ```ruby systemd_unit 'etcd.service' do - content({Unit: { + content(Unit: { Description: 'Etcd', Documentation: ['https://coreos.com/etcd', 'man:etcd(1)'], After: 'network.target', @@ -46,7 +46,7 @@ class Chef }, Install: { WantedBy: 'multi-user.target', - }}) + }) action [:create, :enable] end ``` |