summaryrefslogtreecommitdiff
path: root/lib/chef/resource/systemd_unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/systemd_unit.rb')
-rw-r--r--lib/chef/resource/systemd_unit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/systemd_unit.rb b/lib/chef/resource/systemd_unit.rb
index a100f29add..61294d833d 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
```