By default GitSwarm will automatically provision a Helix Server and connected Helix Git Fusion for you.
If you wish to use an existing Helix Git Fusion instance you can comment out the 'local' instance and add new config entries:
#gitswarm['git-fusion']['local']['url'] = :auto_provision
#gitswarm['git-fusion']['local']['password'] = '<PASSWORD>'
Instructions on configuring the connection to external Helix Git Fusion can be found here.
When GitSwarm is left in its local
auto-provision mode, the Helix Server is configured with the following configuration:
/etc/gitswarm/gitswarm.rb
, super user privilege)5iveL!fe
, super user privilege)/var/opt/gitswarm/perforce/data
gitswarm
/etc/perforce/p4dctl.conf.d/gitswarm.conf
When the root
user password is updated from the GitSwarm UI the password change will also take effect for the root
Perforce user.
If :auto_provision
is not specified in /etc/gitswarm/gitswarm.rb
when sudo gitswarm-ctl reconfigure
is executed any running auto provisioned instance will be shut down and disabled from automatic start up on boot in the p4dctl configuration.
The following steps are taken when a default Helix Git Fusion is configured:
configure-git-fusion
script provided by the package is executedgit-fusion
OS user/etc/cron.d/perforce-git-fusion
is created to check for new user keys and update ~git-fusion/.ssh/authorized_keys
If :auto_provision
is not specified in /etc/gitswarm/gitswarm.rb
when sudo gitswarm-ctl reconfigure
is executed the cron task will be removed.