Page MenuHomeDevCentral

Use deploy account to clone wwwroot51
ClosedPublic

Authored by dereckson on Jan 25 2020, 04:05.
Tags
None
Referenced Files
F3775912: D2154.id5432.diff
Sun, Nov 24, 20:23
F3775514: D2154.diff
Sun, Nov 24, 18:57
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
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