Page MenuHomeDevCentral

Use deploy account to clone wwwroot51
ClosedPublic

Authored by dereckson on Jan 25 2020, 04:05.
Tags
None
Referenced Files
F2826057: D2154.diff
Thu, Apr 18, 18:40
Unknown Object (File)
Mon, Apr 15, 03:02
Unknown Object (File)
Sun, Apr 14, 21:39
Unknown Object (File)
Wed, Apr 10, 18:13
Unknown Object (File)
Wed, Apr 10, 00:38
Unknown Object (File)
Tue, Apr 9, 10:44
Unknown Object (File)
Thu, Apr 4, 02:22
Unknown Object (File)
Wed, Apr 3, 20:51
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 Passed
Unit
No Test Coverage
Branch
master
Build Status
Buildable 3354
Build 3603: arc lint + arc unit