I have a need to configure the properties of some machines for which I am not the primary administrator (in particular, this is at a university where the central IT group does the administration, but delegates some tasks to department via sudo or by reading specific files). I imagine that I would have write my own properties. Is there a special way to call propellor, or code changes that need to be made to have propellor do the git clone and build in a user's home directory?
Best, Jack
Well propellor is normally built in the user's home directory and then deploys updates to the hosts and is built and run as root on them.
If you're wanting to only run propellor as a user, to manage some user-specific properties, see the Propellor.Location module to change the path where propellor depploys itself to on a host.
And in Propellor.Spin it has several
"root@"
that you'd need to change to make it ssh into the host as a different user.And, in Propellor.CmdLine, there's a check of
getRealUserID
to see if it's running as root.I think that's everything that assumes root (aside from a great many properties of course!), but can't swear to it.