Merge pull request #540 from Icinga:doc/improve_custom_repo_installation_example

Docs: Fixes doc for custom repo example installation

Makes installation example for using custom repositories and director automation more clear and fixes missing `IfW-StableRepository` installation command entry.
This commit is contained in:
Lord Hepipud 2022-08-16 15:40:35 +02:00 committed by GitHub
commit d1734f7daa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,6 +101,8 @@ Invoke-WebRequest `
& $ScriptFile `
-ModuleDirectory 'C:\Program Files\WindowsPowerShell\Modules\' `
-InstallCommand '{"IfW-DirectorSelfServiceKey":{"Values":["651f889ca5f364e89ed709eabde6237fb02050ff"]},"IfW-DirectorUrl":{"Values":["https://icinga.example.com/icingaweb2/director"]}}' `
-InstallCommand '{"IfW-DirectorSelfServiceKey":{"Values":["651f889ca5f364e89ed709eabde6237fb02050ff"]},"IfW-DirectorUrl":{"Values":["https://icinga.example.com/icingaweb2/director"]},"IfW-StableRepository":{"Values":["https://icinga.example.com/repositories/stable"]}}' `
-IcingaRepository 'https://icinga.example.com/repositories/stable/ifw.repo.json';
```
**Note:** By using custom repositories, you will have to add the `IfW-StableRepository` argument including the path to the repository inside the `-InstallCommand` as well as use the `-IcingaRepository` argument and provide the path there as well for initial configuration as well as automated installation