add environment and group
This commit is contained in:
parent
db03be0024
commit
2d10ca8a52
1 changed files with 10 additions and 6 deletions
|
@ -197,6 +197,10 @@ class mastodon (
|
|||
exec { 'install_mastodon':
|
||||
command => '/usr/local/bin/install_mastodon.sh',
|
||||
user => $mastodon_user,
|
||||
group => $mastodon_group,
|
||||
environment => [
|
||||
"HOME=${mastodon_home}",
|
||||
],
|
||||
creates => "${mastodon_home}/./.mastodon_install",
|
||||
path => "${mastodon_home}/.rbenv/shims:${mastodon_home}/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
timeout => 0,
|
||||
|
|
Loading…
Reference in a new issue