Update Jamf Connect Configuration.munki.recipe
Amended to look at the .download as parent and for the recipe to look for he installed .app on disk and not the receipt.
<key>MinimumVersion</key>
<string>1.0.4</string>
<key>ParentRecipe</key>
- <string>com.github.yohan460-recipes.pkg.JamfConnectConfiguration</string>
+ <string>com.github.yohan460-recipes.download.JamfConnect</string>
<key>Process</key>
<array>
+ <dict>
+ <key>Processor</key>
+ <string>CodeSignatureVerifier</string>
+ <key>Arguments</key>
+ <dict>
+ <key>input_path</key>
+ <string>%pathname%/* Configuration.app</string>
+ <key>requirement</key>
+ <string>anchor apple generic and identifier "com.jamf.connect.configuration" 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>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>Copier</string>
+ <key>Arguments</key>
+ <dict>
+ <key>destination_path</key>
+ <string>%RECIPE_CACHE_DIR%/Applications/Jamf Connect Configuration.app</string>
+ <key>source_path</key>
+ <string>%pathname%/* Configuration.app</string>
+ <key>overwrite</key>
+ <true/>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>MunkiInstallsItemsCreator</string>
+ <key>Arguments</key>
+ <dict>
+ <key>faux_root</key>
+ <string>%RECIPE_CACHE_DIR%</string>
+ <key>installs_item_paths</key>
+ <array>
+ <string>/Applications/Jamf Connect Configuration.app</string>
+ </array>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>MunkiPkginfoMerger</string>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>DmgCreator</string>
+ <key>Arguments</key>
+ <dict>
+ <key>dmg_path</key>
+ <string>%RECIPE_CACHE_DIR%/%NAME%.dmg</string>
+ <key>dmg_root</key>
+ <string>%destination_path%</string>
+ </dict>
+ </dict>
<dict>
<key>Processor</key>
<string>MunkiImporter</string>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
- <string>%pkg_path%</string>
+ <string>%dmg_path%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
</dict>
+ <dict>
+ <key>Processor</key>
+ <string>PathDeleter</string>
+ <key>Arguments</key>
+ <dict>
+ <key>path_list</key>
+ <array>
+ <string>%RECIPE_CACHE_DIR%/Applications</string>
+ </array>
+ </dict>
+ </dict>
</array>
</dict>
</plist>
\ No newline at end of file
