Skip to content

Commit

Permalink
manage_unit: correct minor mistakes in examples (#415)
Browse files Browse the repository at this point in the history
* Fix minor mistakes in REFERENCE.md to make all snippets pasteable

* reviewer comments
  • Loading branch information
zbentley committed Feb 27, 2024
1 parent fe6cf80 commit bcec820
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions REFERENCE.md
Expand Up @@ -1026,7 +1026,7 @@ systemd::manage_unit { 'myrunner.service':
'ExecStart' => '/usr/bin/doit.sh',
},
install_entry => {
WantedBy => 'multi-user.target',
'WantedBy' => 'multi-user.target',
},
}
```
Expand All @@ -1040,8 +1040,8 @@ systemd::manage_unit { 'passwd-mon.path':
'Description' => 'Monitor the passwd file',
},
path_entry => {
'PathModified => '/etc/passwd',
'Unit' => 'passwd-mon.service',
'PathModified' => '/etc/passwd',
'Unit' => 'passwd-mon.service',
},
install_entry => {
'WantedBy' => 'multi-user.target',
Expand Down
6 changes: 3 additions & 3 deletions manifests/manage_unit.pp
Expand Up @@ -14,7 +14,7 @@
# 'ExecStart' => '/usr/bin/doit.sh',
# },
# install_entry => {
# WantedBy => 'multi-user.target',
# 'WantedBy' => 'multi-user.target',
# },
# }
#
Expand All @@ -25,8 +25,8 @@
# 'Description' => 'Monitor the passwd file',
# },
# path_entry => {
# 'PathModified => '/etc/passwd',
# 'Unit' => 'passwd-mon.service',
# 'PathModified' => '/etc/passwd',
# 'Unit' => 'passwd-mon.service',
# },
# install_entry => {
# 'WantedBy' => 'multi-user.target',
Expand Down

0 comments on commit bcec820

Please sign in to comment.