Skip to content

Commit

Permalink
Merge pull request #656 from camguise/master
Browse files Browse the repository at this point in the history
Added recipes for Jamf Setup Manager
  • Loading branch information
homebysix authored Sep 2, 2024
2 parents 045d31a + a6659d9 commit 6e2cce0
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 0 deletions.
59 changes: 59 additions & 0 deletions JamfSetupManager/JamfSetupManager.download.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of Setup Manager.</string>
<key>Identifier</key>
<string>com.github.homebysix.download.JamfSetupManager</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>JamfSetupManager</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>github_repo</key>
<string>Jamf-Concepts/Setup-Manager</string>
</dict>
<key>Processor</key>
<string>GitHubReleasesInfoProvider</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%-%version%.pkg</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: JAMF Software (483DWKW443)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
<key>input_path</key>
<string>%pathname%</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
</array>
</dict>
</plist>
33 changes: 33 additions & 0 deletions JamfSetupManager/JamfSetupManager.install.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Installs the latest version of Setup Manager.</string>
<key>Identifier</key>
<string>com.github.homebysix.install.JamfSetupManager</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Setup Manager</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.homebysix.download.JamfSetupManager</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
</dict>
<key>Processor</key>
<string>Installer</string>
</dict>
</array>
</dict>
</plist>
33 changes: 33 additions & 0 deletions JamfSetupManager/JamfSetupManager.jamf-upload.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of Setup Manager and creates a package.</string>
<key>Identifier</key>
<string>com.github.homebysix.jamf-upload.JamfSetupManager</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>JamfSetupManager</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.homebysix.pkg.JamfSetupManager</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_name</key>
<string>%NAME%-%version%.pkg</string>
</dict>
<key>Processor</key>
<string>com.github.grahampugh.jamf-upload.processors/JamfPackageUploader</string>
</dict>
</array>
</dict>
</plist>
35 changes: 35 additions & 0 deletions JamfSetupManager/JamfSetupManager.pkg.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of Setup Manager and creates a package.</string>
<key>Identifier</key>
<string>com.github.homebysix.pkg.JamfSetupManager</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>JamfSetupManager</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.homebysix.download.JamfSetupManager</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
<key>source_pkg</key>
<string>%pathname%</string>
</dict>
<key>Processor</key>
<string>PkgCopier</string>
</dict>
</array>
</dict>
</plist>
Binary file added JamfSetupManager/JamfSetupManager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6e2cce0

Please sign in to comment.