Page MenuHomeDevCentral

Use deploy account to clone wwwroot51
ClosedPublic

Authored by dereckson on Jan 25 2020, 04:05.
Tags
None
Referenced Files
F2847839: D2154.id.diff
Wed, Apr 24, 16:19
Unknown Object (File)
Wed, Apr 24, 03:14
Unknown Object (File)
Tue, Apr 23, 10:41
Unknown Object (File)
Mon, Apr 22, 17:33
Unknown Object (File)
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
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