Skip to content

Instantly share code, notes, and snippets.

Avatar
🍁

Timothy Sutton timsutton

🍁
View GitHub Profile
View AdobeAcrobatProXIUpdate.plist
<?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>Identifier</key>
<string>local.AdobeAcrobatProXIUpdate.munki</string>
<key>Input</key>
<dict>
<key>MAJOR_VERSION</key>
<string>11</string>
@timsutton
timsutton / autopkg-search.sh
Last active Aug 29, 2015
Searching AutoPkg recipes via GitHub
View autopkg-search.sh
➜ ./autopkg-search.py Adobe
Path Repo
---- ----
AdobeAIR/AdobeAir.munki.recipe autopkg/recipes
AdobeAIR/AdobeAIR.pkg.recipe autopkg/recipes
AdobeAcrobatPro/AdobeAcrobatPro9Update.download.recipe autopkg/recipes
AdobeFlashPlayer/AdobeFlashPlayer.munki.recipe autopkg/recipes
AdobeReader/AdobeReader.pkg.recipe autopkg/recipes
AdobeFlashPlayer/AdobeFlashPlayer.pkg.recipe autopkg/recipes
@timsutton
timsutton / TestBadPkg.plist
Created Feb 10, 2014
Test for a nopkg Munki item fails to install
View TestBadPkg.plist
<?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>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
@timsutton
timsutton / issues.txt
Created Feb 24, 2014
Start of a VirtualBox OS X Packer template.
View issues.txt
Two main issues:
1) Packer currently always uses an IDE storage controller, but in VBox only a SATA DVD image seems to be useful to boot the installer.
2) The disk device in the guest shows up as removable drive rather than an internal SATA, and this seems to confuse AutoPartition.app and make it not see a drive to partition. I'm not sure if there are some options that could be passed to AutoPartition to make it see the drive as partition-able. This is just one more reason why switching to some auto-partitioning shell code in /etc/rc.common might be better off than relying on AutoPartition.
View deploystudio_diff_paths.md

What paths within the DeployStudio components would be useful to keep track of changes in?

DeployStudio's mpkg is a bundle-style distribution package that contains several packages. All the various shell scripts and configuration files seem to exist within the DeployStudio Admin app bundle at:

DeployStudioServer_vX.Y.Z.mpkg/Contents/Packages/deploystudioAdmin.pkg

Here are several useful top-level paths that could be useful to track:

DeployStudio Admin.app/Contents/Applications/DeployStudio Assistant.app
@timsutton
timsutton / autopkg-recipe-search.sh
Created Mar 13, 2014
autopkg recipe-search output
View autopkg-recipe-search.sh
./autopkg search --file-contents Adobe
Path Repo (autopkg/)
---- ---------------
Adobe/AdobeDigitalEditions.download.recipe hansen-m-recipes
AdobeShockwavePlayer/AdobeShockwavePlayer.munki.recipe jleggat-recipes
AdobeShockwavePlayer/AdobeShockwavePlayer.download.recipe jleggat-recipes
AdobeAIR/AdobeAIR.pkg.recipe recipes
AdobeAIR/AdobeAir.munki.recipe recipes
AdobeAcrobatPro/AdobeAcrobatPro9Update.download.recipe recipes
@timsutton
timsutton / autodmg-hdiutil-error.sh
Last active Aug 29, 2015
AutoDMG sudo CLI output, hdiutil 'invalid argument' error
View autodmg-hdiutil-error.sh
sudo /Applications/AutoDMG.app/Contents/MacOS/AutoDMG -r -L 7 -l - build --updates --output imagebuild/base-10.9.2-13C64.dmg ~/InstallESD.dmg
Password:
March 24, 2014 at 11:47:12 AM EDT Running as root, using /var/root/Library/Application Support/AutoDMG
March 24, 2014 at 11:47:12 AM EDT AutoDMG v1.3 build 235
March 24, 2014 at 11:47:12 AM EDT Mac OS X 10.9.2 13C64
March 24, 2014 at 11:47:12 AM EDT CPython 2.7.5 (GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68))
March 24, 2014 at 11:47:12 AM EDT PyObjC 2.3.2a0
March 24, 2014 at 11:47:12 AM EDT Setting source path to '/Users/tsutton/InstallESD.dmg'
March 24, 2014 at 11:47:12 AM EDT Setting output path to 'imagebuild/base-10.9.2-13C64.dmg'
March 24, 2014 at 11:47:12 AM EDT Setting apply updates to '1'
View vmware-fushion-6.0.4-metadata.xml
<metadataResponse>
<version>3.5</version>
<bundledBuildNumber>1887983</bundledBuildNumber>
<timeStamp>2014-06-09T23:26:13.831467-07:00</timeStamp>
<bulletin>
<id>75c21499-d416-4688-a162-05cdfd148611</id>
<summary default="en" datatype="plaintext">
<en>McAfee AntiVirus Plus</en>
<de>McAfee AntiVirus Plus</de>
<es>McAfee AntiVirus Plus</es>
View autopkg_search.sh
➜ autopkg git:(master) ✗ Code/autopkg search google
Name Repo Path
---- ---- ----
GoogleDrive.munki.recipe dankeller-recipes GoogleDrive/GoogleDrive.munki.recipe
GoogleDrive.download.recipe dankeller-recipes GoogleDrive/GoogleDrive.download.recipe
GoogleDrive.munki.recipe derak-recipes Google/GoogleDrive.munki.recipe
GoogleDrive.download.recipe derak-recipes Google/GoogleDrive.download.recipe
GoogleVoiceAndVideo.download.recipe hansen-m-recipes Google/GoogleVoiceAndVideo.download.recipe
Picasa.download.recipe hansen-m-recipes Google/Picasa.download.recipe
@timsutton
timsutton / xcode_postinstall.sh
Created Aug 1, 2014
Xcode postinstall script
View xcode_postinstall.sh
#!/bin/sh
# Adjust security policies to allow debugging by memebers of admin and _developer groups
/usr/sbin/DevToolsSecurity -enable
# Add everyone to _developer
/usr/sbin/dseditgroup -o edit -t group -a everyone _developer
# Accept the Xcode EULA
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -license accept