Changeset View
Changeset View
Standalone View
Standalone View
sysadm/puppet/reference-setup.rst
.. _puppet-setup: | .. _puppet-setup: | ||||
Puppet setup | Puppet setup | ||||
============ | ============ | ||||
.. admonition:: Intended audience | .. admonition:: Intended audience | ||||
:class: important | :class: important | ||||
sysadm members | sysadm members | ||||
.. _mutiple_repository_setup: | .. _puppet_multiple_repository_setup: | ||||
Multiple repository setup | Multiple repository setup | ||||
------------------------- | ------------------------- | ||||
Our puppet environment is split into multiple repos (one repo per module), plus one | Report to :ref:`setup-repositories` to prepare your machine with puppet-environment. | ||||
"root" repository for multi-repository management. | |||||
First, clone the base repository, containing the configuration file for myrepos and a | |||||
README file. | |||||
:: | |||||
$ git clone git@gitlab.softwareheritage.org:infra/puppet/puppet-environment.git | |||||
Then, use that configuration to clone all the repositories: | |||||
:: | |||||
$ cd puppet-environment | |||||
$ readlink -f .mrconfig >> ~/.mrtrust | |||||
$ mr up | |||||
(the *mr* command is in the `myrepos Debian package | |||||
<https://packages.debian.org/buster/myrepos>`_). | |||||
All the swh-specific repositories are in *swh-*-prefixed repositories. The other | All the swh-specific repositories are in *swh-*-prefixed repositories. The other | ||||
repositories come from other sources and have an *upstream* remote allowing updates (the | repositories come from other sources and have an *upstream* remote allowing updates (the | ||||
*origin* remote is always on the swh git server). | *origin* remote is always on the swh git server). | ||||
Our puppet workflow is documented in `the README.md file in the puppet-environment | Our puppet workflow is documented in `the README.md file in the puppet-environment | ||||
repository | repository | ||||
<https://gitlab.softwareheritage.org/infra/puppet/puppet-environment/-/blob/master/README.md>`_. | <https://gitlab.softwareheritage.org/infra/puppet/puppet-environment/-/blob/master/README.md>`_. | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |