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)
Tue, Nov 19, 14:19
Unknown Object (File)
Tue, Nov 19, 10:58
Unknown Object (File)
Tue, Nov 19, 08:45
Unknown Object (File)
Mon, Nov 18, 21:12
Unknown Object (File)
Wed, Nov 13, 16:41
Unknown Object (File)
Tue, Nov 12, 12:02
Unknown Object (File)
Sun, Nov 10, 07:36
Unknown Object (File)
Fri, Nov 8, 09:55
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