-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #651 from homebysix/jamf-sync
Add recipes for Jamf Sync
- Loading branch information
Showing
3 changed files
with
177 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,79 @@ | ||
<?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.0 (https://github.com/homebysix/recipe-robot)</string> | ||
<key>Description</key> | ||
<string>Downloads the latest version of Jamf Sync.</string> | ||
<key>Identifier</key> | ||
<string>com.github.homebysix.download.JamfSync</string> | ||
<key>Input</key> | ||
<dict> | ||
<key>NAME</key> | ||
<string>Jamf Sync</string> | ||
</dict> | ||
<key>MinimumVersion</key> | ||
<string>2.3</string> | ||
<key>Process</key> | ||
<array> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>github_repo</key> | ||
<string>jamf/JamfSync</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>GitHubReleasesInfoProvider</string> | ||
</dict> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>filename</key> | ||
<string>%NAME%-%version%.zip</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>URLDownloader</string> | ||
</dict> | ||
<dict> | ||
<key>Processor</key> | ||
<string>EndOfCheckPhase</string> | ||
</dict> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>archive_path</key> | ||
<string>%pathname%</string> | ||
<key>destination_path</key> | ||
<string>%RECIPE_CACHE_DIR%/%NAME%</string> | ||
<key>purge_destination</key> | ||
<true/> | ||
</dict> | ||
<key>Processor</key> | ||
<string>Unarchiver</string> | ||
</dict> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>input_path</key> | ||
<string>%RECIPE_CACHE_DIR%/%NAME%/Jamf Sync.app</string> | ||
<key>requirement</key> | ||
<string>anchor apple generic and identifier "com.jamf.jamfsync" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "483DWKW443")</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>CodeSignatureVerifier</string> | ||
</dict> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>input_plist_path</key> | ||
<string>%RECIPE_CACHE_DIR%/%NAME%/Jamf Sync.app/Contents/Info.plist</string> | ||
<key>plist_version_key</key> | ||
<string>CFBundleShortVersionString</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>Versioner</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
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,65 @@ | ||
<?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.0 (https://github.com/homebysix/recipe-robot)</string> | ||
<key>Description</key> | ||
<string>Downloads the latest version of Jamf Sync and imports it into Munki.</string> | ||
<key>Identifier</key> | ||
<string>com.github.homebysix.munki.JamfSync</string> | ||
<key>Input</key> | ||
<dict> | ||
<key>MUNKI_REPO_SUBDIR</key> | ||
<string>apps/%NAME%</string> | ||
<key>NAME</key> | ||
<string>Jamf Sync</string> | ||
<key>pkginfo</key> | ||
<dict> | ||
<key>catalogs</key> | ||
<array> | ||
<string>testing</string> | ||
</array> | ||
<key>description</key> | ||
<string>Jamf Sync utility for synchronizing between Jamf Pro distribution points and/or file folders.</string> | ||
<key>developer</key> | ||
<string>JAMF Software</string> | ||
<key>display_name</key> | ||
<string>Jamf Sync</string> | ||
<key>name</key> | ||
<string>%NAME%</string> | ||
<key>unattended_install</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
<key>MinimumVersion</key> | ||
<string>2.3</string> | ||
<key>ParentRecipe</key> | ||
<string>com.github.homebysix.download.JamfSync</string> | ||
<key>Process</key> | ||
<array> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>dmg_path</key> | ||
<string>%RECIPE_CACHE_DIR%/%NAME%.dmg</string> | ||
<key>dmg_root</key> | ||
<string>%RECIPE_CACHE_DIR%/%NAME%</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>DmgCreator</string> | ||
</dict> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>pkg_path</key> | ||
<string>%dmg_path%</string> | ||
<key>repo_subdirectory</key> | ||
<string>%MUNKI_REPO_SUBDIR%</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>MunkiImporter</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
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,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.0 (https://github.com/homebysix/recipe-robot)</string> | ||
<key>Description</key> | ||
<string>Downloads the latest version of Jamf Sync and creates a package.</string> | ||
<key>Identifier</key> | ||
<string>com.github.homebysix.pkg.JamfSync</string> | ||
<key>Input</key> | ||
<dict> | ||
<key>NAME</key> | ||
<string>Jamf Sync</string> | ||
</dict> | ||
<key>MinimumVersion</key> | ||
<string>2.3</string> | ||
<key>ParentRecipe</key> | ||
<string>com.github.homebysix.download.JamfSync</string> | ||
<key>Process</key> | ||
<array> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>app_path</key> | ||
<string>%RECIPE_CACHE_DIR%/%NAME%/Jamf Sync.app</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>AppPkgCreator</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |