update many Hiera links

This commit is contained in:
2023-09-15 15:47:22 +02:00
parent ea2a63cce9
commit 0dd7ca39a5
7 changed files with 17 additions and 16 deletions
+9 -8
View File
@@ -11,9 +11,9 @@ Deploying a new environment requires the following:
- Environment format: ``data-<environment_name>``
- And change permissions accordingly
- Configure the necessary webhooks for the puppet01 and puppet00-test server
- Configure the necessary webhooks for the Puppet and Sysdb server
3. Configuring the environment in Puppet (``puppet01.psi.ch``)
3. Configuring the environment in Puppet (e.g. ``puppet01.psi.ch``)
Configuring the environment in sysdb
------------------------------------
@@ -75,17 +75,18 @@ The steps to create and configure a new **GIT** project are:
2. Configure *project* permissions as follows:
- ``[data-<environment_name]->[Settings]->[Repository]``, or directly: https://git.psi.ch/linux-infra/data-(environment_name)/settings/repository
- ``[data-<environment_name]->[Settings]->[Repository]``, or directly: https://git.psi.ch/linux-infra/hiera/data-(environment_name)/-/settings/repository
- ``[Deploy Keys]`` -> select ``root@puppet01.psi.ch'`` -> click on ``'Enable'``
- ``[data-<environment_name]->[Settings]->[Members]``, or directly: https://git.psi.ch/linux-infra/data-(environment_name)/project_members
- ``[data-<environment_name]->[Settings]->[Members]``, or directly: https://git.psi.ch/linux-infra/hiera/data-(environment_name)/project_members
- Setup specific permissions for specific users or groups. In example:
- Set project ``Master``:
- ``[Select members to invite]`` (``caubet_m``) + ``[Choose a role permission]`` (``Master``) + ``[Add to project]``
- Set other roles:
- ``[Select members to invite]`` (``ozerov_d``) + ``[Choose a role permission]`` (``Developer``) + ``[Add to project]``
- ``[data-<environment_name]->[Settings]->[Integrations]``, or directly: https://git.psi.ch/linux-infra/data-(environment_name)/settings/integrations
- Add WebHook as follows:
- ``[data-<environment_name]->[Settings]->[Integrations]``, or directly: https://git.psi.ch/linux-infra/hiera/data-(environment_name)/-/hooks
- Add WebHooks as follows:
- ``[URL]``: http://puppet01.psi.ch/events/dataupdate
- ``[URL]``: http://sysdb.psi.ch/events/dataupdate
- (Checked) ``[Push events]``. Uncheck the rest.
- ``[SSL verification]`` -> (uncheck) ``[Enable SSL verification]``
- Confirm information from above, and click on ``[Add webhook]`` to add the new WebHook.
@@ -95,11 +96,11 @@ Test new environment in GIT
In order to test that environment was successfully created::
git clone git@git.psi.ch:linux-infra/data-<environment_name>.git
git clone git@git.psi.ch:linux-infra/hiera/data-<environment_name>.git
In example::
caubet_m@caubet-laptop:~/GIT$ git clone git@git.psi.ch:linux-infra/data-meg.git
caubet_m@caubet-laptop:~/GIT$ git clone git@git.psi.ch:linux-infra/hiera/data-meg.git
Cloning into 'data-meg'...
X11 forwarding request failed
warning: You appear to have cloned an empty repository.
+2 -2
View File
@@ -33,8 +33,8 @@ Sysdb environments data
^^^^^^^^^^^^^^^^^^^^^^^
Each sysdb environment has a dedicated hiera repository, called ``data-<sydbenv>``,
eg. `data-hpc <https://git.psi.ch/linux-infra/data-hpc>`_
and `data-sls <https://git.psi.ch/linux-infra/data-sls>`_.
eg. `data-hpc <https://git.psi.ch/linux-infra/hiera/data-hpc>`_
and `data-sls <https://git.psi.ch/linux-infra/hiera/data-sls>`_.
The first three levels of the filesystem structure shown before are actually the
files inside this kind of repositories.