Page MenuHomeDevCentral

Install git everywhere as part of the core role
ClosedPublic

Authored by dereckson on Oct 6 2024, 11:21.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 1, 06:22
Unknown Object (File)
Fri, Aug 1, 03:32
Unknown Object (File)
Thu, Jul 31, 14:52
Unknown Object (File)
Mon, Jul 28, 12:20
Unknown Object (File)
Mon, Jul 28, 11:04
Unknown Object (File)
Mon, Jul 28, 09:31
Unknown Object (File)
Mon, Jul 28, 08:07
Unknown Object (File)
Mon, Jul 28, 08:07
Subscribers
None

Details

Summary

Lot of roles requires Git installation, and it's even used
as an ops tool to create archives of configuration files,
or to pull directly on a server this operations repository
for example.

This change moves Git installation to the core role and
cleans up everywhere else.

This change also provide a configuration for root user,
only if a file doesn't exist to avoid to overwrite [safe] blocks.

Test Plan

Deployed on WindRiver twice:

  • with /root/.gitconfig existing, only fixed file mode
  • without the file, provisioned it

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
git-root
Build Status
Buildable 5548
Build 5829: arc lint + arc unit