EvanKrall / puppet-initscript

Defined type for creating init scripts for a command
Apache License 2.0
6 stars 5 forks source link

Make the upstart user declarations work #10

Closed hashbrowncipher closed 8 years ago

hashbrowncipher commented 8 years ago

Fixes #9

I also made the default for user and group undef. I did this because Upsart (and many other init systems) will choose these values for you if left unspecified, and they'll typically know better than this module. For instance: "If this stanza is unspecified, the primary group of the user specified in the setuid block is used" (Upstart) and "If no group is set, the default group of the user is chosen" (systemd).

EvanKrall commented 8 years ago

Looks good to me, merge at your convenience.

EvanKrall commented 8 years ago

Did you mean to close #7?

hashbrowncipher commented 8 years ago

Yes. I meant to close #7. Sorry!