mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Merge pull request #344 from Icinga:fix/repo_links
Fix: Links to public Icinga repos Fixes the links to publi Icinga repos `stable` and `snapshot`, by always pointing directly to `ifw.repo.json`
This commit is contained in:
commit
1dc9c93521
2 changed files with 9 additions and 9 deletions
|
|
@ -20,22 +20,22 @@ The best way to demonstrate on how to add new repositories, you can use the defa
|
||||||
|
|
||||||
### Icinga for Windows Stable
|
### Icinga for Windows Stable
|
||||||
|
|
||||||
The URL pointing to the stable releases is `http://packages.icinga.com/IcingaForWindows/stable`.
|
The URL pointing to the stable releases is `https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json`.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
Add-IcingaRepository `
|
Add-IcingaRepository `
|
||||||
-Name 'Icinga Stable' `
|
-Name 'Icinga Stable' `
|
||||||
-RemotePath 'http://packages.icinga.com/IcingaForWindows/stable';
|
-RemotePath 'https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json';
|
||||||
```
|
```
|
||||||
|
|
||||||
### Icinga for Windows Snapshot
|
### Icinga for Windows Snapshot
|
||||||
|
|
||||||
The URL pointing to the snapshot releases is `http://packages.icinga.com/IcingaForWindows/snapshot`.
|
The URL pointing to the snapshot releases is `https://packages.icinga.com/IcingaForWindows/snapshot/ifw.repo.json`.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
Add-IcingaRepository `
|
Add-IcingaRepository `
|
||||||
-Name 'Icinga Snapshot' `
|
-Name 'Icinga Snapshot' `
|
||||||
-RemotePath 'http://packages.icinga.com/IcingaForWindows/snapshot';
|
-RemotePath 'https://packages.icinga.com/IcingaForWindows/snapshot/ifw.repo.json';
|
||||||
```
|
```
|
||||||
|
|
||||||
## Using Repositories
|
## Using Repositories
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ You can use the sync command to clone an existing public repository for example
|
||||||
Sync-IcingaRepository `
|
Sync-IcingaRepository `
|
||||||
-Name 'Icinga Stable Local' `
|
-Name 'Icinga Stable Local' `
|
||||||
-Path 'C:\icinga\icinga_stable' `
|
-Path 'C:\icinga\icinga_stable' `
|
||||||
-Source 'http://packages.icinga.com/IcingaForWindows/stable';
|
-Source 'https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json';
|
||||||
```
|
```
|
||||||
|
|
||||||
This will sync all files from the public Icinga repository into `C:\icinga\icinga_stable`. As `RemotePath` is not set, it will default to `C:\icinga\icinga_stable` and all files will be fetched from this location.
|
This will sync all files from the public Icinga repository into `C:\icinga\icinga_stable`. As `RemotePath` is not set, it will default to `C:\icinga\icinga_stable` and all files will be fetched from this location.
|
||||||
|
|
@ -38,7 +38,7 @@ Sync-IcingaRepository `
|
||||||
-Name 'Icinga Stable Local' `
|
-Name 'Icinga Stable Local' `
|
||||||
-Path 'C:\icinga\icinga_stable' `
|
-Path 'C:\icinga\icinga_stable' `
|
||||||
-RemotePath '\\myhost.example.com\icingastable' `
|
-RemotePath '\\myhost.example.com\icingastable' `
|
||||||
-Source 'http://packages.icinga.com/IcingaForWindows/stable';
|
-Source 'https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json';
|
||||||
```
|
```
|
||||||
|
|
||||||
We can for example use file sharing, to make certain folders available in our network. This example will download all files into `C:\icinga\icinga_stable`, but tell Icinga for Windows to use your shared network drive `\\myhost.example.com\icingastable` to fetch them from.
|
We can for example use file sharing, to make certain folders available in our network. This example will download all files into `C:\icinga\icinga_stable`, but tell Icinga for Windows to use your shared network drive `\\myhost.example.com\icingastable` to fetch them from.
|
||||||
|
|
@ -60,7 +60,7 @@ Sync-IcingaRepository `
|
||||||
-Name 'Icinga Stable Internal Web' `
|
-Name 'Icinga Stable Internal Web' `
|
||||||
-Path 'icinga@icingarepo.example.com:/var/www/icingastable/' `
|
-Path 'icinga@icingarepo.example.com:/var/www/icingastable/' `
|
||||||
-RemotePath 'https://icingarepo.example.com/icingastable' `
|
-RemotePath 'https://icingarepo.example.com/icingastable' `
|
||||||
-Source 'http://packages.icinga.com/IcingaForWindows/stable' `
|
-Source 'https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json' `
|
||||||
-UseSCP;
|
-UseSCP;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -86,7 +86,7 @@ Clone the repository to a local path:
|
||||||
Sync-IcingaRepository `
|
Sync-IcingaRepository `
|
||||||
-Name 'Icinga Stable Local' `
|
-Name 'Icinga Stable Local' `
|
||||||
-Path 'C:\icinga\icinga_stable' `
|
-Path 'C:\icinga\icinga_stable' `
|
||||||
-Source 'http://packages.icinga.com/IcingaForWindows/stable';
|
-Source 'https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json';
|
||||||
```
|
```
|
||||||
|
|
||||||
Clone this repository to our internal web space:
|
Clone this repository to our internal web space:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue