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)
Sun, Mar 30, 02:34
Unknown Object (File)
Sat, Mar 29, 21:14
Unknown Object (File)
Fri, Mar 28, 14:12
Unknown Object (File)
Thu, Mar 27, 19:36
Unknown Object (File)
Tue, Mar 25, 19:56
Unknown Object (File)
Mon, Mar 24, 20:17
Unknown Object (File)
Mon, Mar 24, 04:52
Unknown Object (File)
Mon, Mar 24, 01:35
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 Not Applicable
Unit
Tests Not Applicable