-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added MunkiReport-Python2 and 3 recipes
- Loading branch information
1 parent
5d0c883
commit 45d6105
Showing
4 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Description: | | ||
Downloads the current release pkg of MunkiReportPython2 from Github. | ||
Set PRERELEASE to a non-empty string to download prereleases, either | ||
via Input in an override or via the -k option, | ||
i.e.: `-k PRERELEASE=yes` | ||
Optionally override GITHUB_REPO to 'munkireport/MunkiReport-Python' | ||
Identifier: com.github.davidbpirie.download.MunkiReportPython2 | ||
MinimumVersion: 2.3.0 | ||
|
||
Input: | ||
NAME: MunkiReportPython2 | ||
PRERELEASE: '' | ||
GITHUB_REPO: 'MagerValp/MunkiReport-Python' | ||
|
||
Process: | ||
- Processor: GitHubReleasesInfoProvider | ||
Arguments: | ||
asset_regex: 'MunkiReportPython2-2\..*\.pkg' | ||
github_repo: '%GITHUB_REPO%' | ||
include_prereleases: '%PRERELEASE%' | ||
|
||
- Processor: URLDownloader | ||
Arguments: | ||
filename: '%NAME%-%version%.pkg' | ||
|
||
- Processor: EndOfCheckPhase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Description: | | ||
Downloads the current release pkg of MunkiReportPython2 from Github, | ||
then imports to munki. | ||
Set PRERELEASE to a non-empty string to download prereleases, either | ||
via Input in an override or via the -k option, | ||
i.e.: `-k PRERELEASE=yes` | ||
Optionally override GITHUB_REPO to 'munkireport/MunkiReport-Python' | ||
Identifier: com.github.davidbpirie.munki.MunkiReportPython2 | ||
ParentRecipe: com.github.davidbpirie.download.MunkiReportPython2 | ||
MinimumVersion: 2.3.0 | ||
|
||
Input: | ||
NAME: MunkiReportPython2 | ||
MUNKI_DISPLAYNAME: MunkiReport Python 2 | ||
MUNKI_DESCRIPTION: Python 2 interpreter for MunkiReport. | ||
MUNKI_CATEGORY: Utilities | ||
MUNKI_DEVELOPER: MunkiReport | ||
MUNKI_REPO_SUBDIR: '%MUNKI_CATEGORY%/%MUNKI_DEVELOPER%/%NAME%' | ||
pkginfo: | ||
catalogs: | ||
- testing | ||
category: '%MUNKI_CATEGORY%' | ||
description: '%MUNKI_DESCRIPTION%' | ||
developer: '%MUNKI_DEVELOPER%' | ||
display_name: '%MUNKI_DISPLAYNAME%' | ||
name: '%NAME%' | ||
unattended_install: true | ||
unattended_uninstall: true | ||
|
||
Process: | ||
- Processor: MunkiImporter | ||
Arguments: | ||
pkg_path: '%pathname%' | ||
repo_subdirectory: '%MUNKI_REPO_SUBDIR%' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Description: | | ||
Downloads the current release pkg of MunkiReportPython3 from Github. | ||
Set PRERELEASE to a non-empty string to download prereleases, either | ||
via Input in an override or via the -k option, | ||
i.e.: '-k PRERELEASE=yes' | ||
Optionally override GITHUB_REPO to 'munkireport/MunkiReport-Python' | ||
Identifier: com.github.davidbpirie.download.MunkiReportPython3 | ||
MinimumVersion: 2.3.0 | ||
|
||
Input: | ||
NAME: MunkiReportPython3 | ||
PRERELEASE: '' | ||
GITHUB_REPO: 'MagerValp/MunkiReport-Python' | ||
|
||
Process: | ||
- Processor: GitHubReleasesInfoProvider | ||
Arguments: | ||
asset_regex: 'MunkiReportPython3-3\..*\.pkg' | ||
github_repo: '%GITHUB_REPO%' | ||
include_prereleases: '%PRERELEASE%' | ||
|
||
- Processor: URLDownloader | ||
Arguments: | ||
filename: '%NAME%-%version%.pkg' | ||
|
||
- Processor: EndOfCheckPhase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Description: | | ||
Downloads the current release pkg of MunkiReportPython3 from Github, | ||
then imports to munki. | ||
Set PRERELEASE to a non-empty string to download prereleases, either | ||
via Input in an override or via the -k option, | ||
i.e.: `-k PRERELEASE=yes` | ||
Optionally override GITHUB_REPO to 'munkireport/MunkiReport-Python' | ||
Identifier: com.github.davidbpirie.munki.MunkiReportPython3 | ||
ParentRecipe: com.github.davidbpirie.download.MunkiReportPython3 | ||
MinimumVersion: 2.3.0 | ||
|
||
Input: | ||
NAME: MunkiReportPython3 | ||
MUNKI_DISPLAYNAME: MunkiReport Python 3 | ||
MUNKI_DESCRIPTION: Python 3 interpreter for MunkiReport. | ||
MUNKI_CATEGORY: Utilities | ||
MUNKI_DEVELOPER: MunkiReport | ||
MUNKI_REPO_SUBDIR: '%MUNKI_CATEGORY%/%MUNKI_DEVELOPER%/%NAME%' | ||
pkginfo: | ||
catalogs: | ||
- testing | ||
category: '%MUNKI_CATEGORY%' | ||
description: '%MUNKI_DESCRIPTION%' | ||
developer: '%MUNKI_DEVELOPER%' | ||
display_name: '%MUNKI_DISPLAYNAME%' | ||
name: '%NAME%' | ||
unattended_install: true | ||
unattended_uninstall: true | ||
|
||
Process: | ||
- Processor: MunkiImporter | ||
Arguments: | ||
pkg_path: '%pathname%' | ||
repo_subdirectory: '%MUNKI_REPO_SUBDIR%' |