Page MenuHomeDevCentral

Use deploy account to clone wwwroot51
ClosedPublic

Authored by dereckson on Jan 25 2020, 04:05.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 30, 18:44
Unknown Object (File)
Fri, Mar 28, 17:21
Unknown Object (File)
Fri, Mar 28, 05:45
Unknown Object (File)
Mon, Mar 24, 06:35
Unknown Object (File)
Mon, Mar 24, 04:49
Unknown Object (File)
Sat, Mar 22, 18:00
Unknown Object (File)
Thu, Mar 20, 08:39
Unknown Object (File)
Wed, Mar 19, 23:17
Subscribers
None

Details

Summary

/var/51-wwwroot is a kludge to offer web-browsable directories outside
home directories for development purpose with web preview capability.

The owner of the subdirectory is so a developer or a service user.
But as this repository doesn't escrow SSH keys for them, it can't be
cloned using this user account. The deploy account is so used, with
a post-clone chown step.

It's a complicated Salt syntax, and perhaps it would be nicer to have
a custom state to do those operations in the right order.

Ref T1559

Test Plan

Test on WindRiver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable