-
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.
- Loading branch information
1 parent
98a77af
commit 9136caf
Showing
2 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
CiscoASDMLauncher/CiscoASDMLauncher.jamf-upload.recipe.yaml
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,49 @@ | ||
Description: | | ||
Creates a package that installs the Cisco ASDM Launcher, then uploads | ||
the package to Jamf Pro. | ||
Package source DMG must be provided either as Input Variable PKG or | ||
via the -p parameter eg: | ||
autopkg run CiscoASDMLauncher.jamf-upload -p "path/to/dm-launcher.dmg" | ||
JSS_URL, API_USERNAME, and API_PASSWORD, and for non-cloud instances | ||
SMB_URL, SMB_USERNAME and SMB_PASSWORD, are expected to be populated | ||
in your AutoPkg preferences, override Input variables, or by | ||
command-line keys. | ||
Identifier: com.github.davidbpirie.jamf-upload.CiscoASDMLauncher | ||
MinimumVersion: 2.3.0 | ||
ParentRecipe: com.github.davidbpirie.pkg.CiscoASDMLauncher | ||
|
||
Input: | ||
NAME: CiscoASDMLauncher | ||
JAMF_CATEGORY: Utilities | ||
JAMF_PKG_NAME: '%NAME%' | ||
JAMF_PKG_INFO: Cisco ASDM provides an intuitive graphical user interface that makes it easy to set up, configure and manage your Cisco security appliances. | ||
JAMF_PKG_NOTES: 'Generated and uploaded by AutoPkg' | ||
JAMF_PKG_PRIORITY: '10' | ||
JAMF_PKG_REBOOT_REQUIRED: 'False' | ||
JAMF_PKG_OS_REQUIREMENTS: '' | ||
JAMF_PKG_REQUIRED_PROCESSOR: None | ||
JAMF_PKG_SEND_NOTIFICATION: 'False' | ||
JAMF_PKG_REPLACE: 'False' | ||
JAMF_PKG_REPLACE_METADATA: 'False' | ||
|
||
Process: | ||
- Processor: com.github.grahampugh.jamf-upload.processors/JamfPackageUploader | ||
Arguments: | ||
pkg_name: '%JAMF_PKG_NAME%-%version%.pkg' | ||
pkg_category: '%JAMF_CATEGORY%' | ||
pkg_info: '%JAMF_PKG_INFO%' | ||
pkg_notes: '%JAMF_PKG_NOTES%' | ||
pkg_priority: '%JAMF_PKG_PRIORITY%' | ||
reboot_required: '%JAMF_PKG_REBOOT_REQUIRED%' | ||
os_requirements: '%JAMF_PKG_OS_REQUIREMENTS%' | ||
required_processor: '%JAMF_PKG_REQUIRED_PROCESSOR%' | ||
send_notification: '%JAMF_PKG_SEND_NOTIFICATION%' | ||
replace_pkg: '%JAMF_PKG_REPLACE%' | ||
replace_pkg_metadata: '%JAMF_PKG_REPLACE_METADATA%' | ||
|
||
- Processor: PathDeleter | ||
Arguments: | ||
path_list: | ||
- '%pkg_path%' |
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,19 @@ | ||
Description: | | ||
Creates a package that installs the Cisco ASDM Launcher. | ||
Package source DMG must be provided either as Input Variable PKG or | ||
via the -p parameter eg: | ||
autopkg run CiscoASDMLauncher.pkg -p "path/to/dm-launcher.dmg" | ||
Identifier: com.github.davidbpirie.pkg.CiscoASDMLauncher | ||
MinimumVersion: 2.3.0 | ||
|
||
Input: | ||
NAME: Cisco ASDM Launcher | ||
|
||
Process: | ||
- Processor: PackageRequired | ||
|
||
- Processor: AppPkgCreator | ||
Arguments: | ||
app_path: '%PKG%/*.app' | ||
version_key: CFBundleVersion |