Aethylred / puppet-puppetdashboard

This Puppet module manages the installation of the Puppet Dashboard web interface.
2 stars 2 forks source link

Apache user breaks on trusty #8

Closed andersbs closed 9 years ago

andersbs commented 10 years ago

www-data has a nologin shell on trusty which breaks the git installation due to su refusing run the specified command (git).

Perhaps the answer is a file resource afterwards but it's an extra.

Thoughts?

Aethylred commented 10 years ago

I've not done any work on Trusty yet, yes one option would be to have the vcsrepo run without a user that notifies a refreshonly file resource that rucurses over the directory with appropriate ownership.

However, I've used that pattern in the past, and there's a few tricks around (eg. ignore the .git directory) and it's hard to make it idempotent (i.e. it can constantly trigger changed).

Aethylred commented 9 years ago

Fixed in bfb2377d52c39707dcd58c0481b5485471d430f4