Skip to content

Commit

Permalink
Merge pull request #503 from traylenator/umask
Browse files Browse the repository at this point in the history
Correct UMask in mkswap example
  • Loading branch information
traylenator authored Dec 3, 2024
2 parents e1e71e5 + 601ad15 commit 1b8b3f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,8 @@ systemd::manage_unit{'mkswap.service':
'ConditionPathExists' => '!/swapfile',
},
service_entry => {
'type' => 'oneshot',
'Type' => 'oneshot',
'UMask' => '0177',
'ExecStart' => [
'/usr/bin/dd if=/dev/zero of=/swapfile bs=1024 count=1000',
'/usr/sbin/mkswap /swapfile',
Expand Down
3 changes: 2 additions & 1 deletion manifests/manage_unit.pp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@
# 'ConditionPathExists' => '!/swapfile',
# },
# service_entry => {
# 'type' => 'oneshot',
# 'Type' => 'oneshot',
# 'UMask' => '0177',
# 'ExecStart' => [
# '/usr/bin/dd if=/dev/zero of=/swapfile bs=1024 count=1000',
# '/usr/sbin/mkswap /swapfile',
Expand Down

0 comments on commit 1b8b3f2

Please sign in to comment.