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
#!/bin/bash | |
: <<DESCRIPTION | |
AWS S3 CDP package upload script | |
by Graham Pugh (@grahamrpugh) | |
1. Check for an existing package from the Classic API | |
2. Upload package to CDP if it's new or changed (this is tested by aws-cli using the sync command) | |
3. Upload the package metadata |
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
#!/usr/bin/env python3 | |
""" | |
A script to upload a package to the Jamf Cloud Distribution Point S3 bucket (JCDS 2.0) | |
Requirements from pip | |
boto3 | |
requests | |
""" |
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
#!/bin/bash | |
: <<DESCRIPTION | |
JCDS2 package upload script | |
by Graham Pugh (@grahamrpugh) | |
1. Get a bearer token | |
2. Check for an existing package from the Classic API | |
3. Check for an existing package from the JCDS endpoint | |
4. Check that the checksum matches our local pkg |
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
<?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>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadContent</key> | |
<dict> | |
<key>com.google.Chrome</key> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<policy> | |
<general> | |
<name>%POLICY_NAME%</name> | |
<enabled>true</enabled> | |
<frequency>Ongoing</frequency> | |
<category> | |
<name>%POLICY_CATEGORY%</name> | |
</category> | |
</general> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<policy> | |
<general> | |
<name>Install Latest Adium</name> | |
<enabled>true</enabled> | |
<frequency>Ongoing</frequency> | |
<category> | |
<name>Testing</name> | |
</category> | |
</general> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<policy> | |
<general> | |
<id>133</id> | |
<name>Install Latest Adium</name> | |
<enabled>true</enabled> | |
<trigger>USER_INITIATED</trigger> | |
<trigger_checkin>false</trigger_checkin> | |
<trigger_enrollment_complete>false</trigger_enrollment_complete> | |
<trigger_login>false</trigger_login> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<policy> | |
<general> | |
<name>%POLICY_NAME%</name> | |
<enabled>true</enabled> | |
<frequency>Ongoing</frequency> | |
<category> | |
<name>%POLICY_CATEGORY%</name> | |
</category> | |
</general> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<computer_group> | |
<name>%GROUP_NAME%</name> | |
<is_smart>true</is_smart> | |
<criteria> | |
<criterion> | |
<name>Application Title</name> | |
<priority>0</priority> | |
<and_or>and</and_or> | |
<search_type>is</search_type> |
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
<?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>Description</key> | |
<string>Downloads the latest version of Firefox and makes a pkg. Then, uploads the package to the Jamf Pro Server and creates a Self Service Policy and Smart Group. | |
</string> | |
<key>Identifier</key> | |
<string>com.example.jamf.Firefox</string> | |
<key>Input</key> |
NewerOlder