Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
################################################################
# #
# Author: Calum Hunter #
# Date: 04-01-2016 #
# Version: 0.2 #
# Purpose: Munki Conditional to determine if the client #
# machine is eligible for iWork and or iLife #
# Based on the bundled software information #
@calum-github
calum-github / com.domain.launchagent.mountshare.plist
Last active November 13, 2015 01:41
mount server launch agent
<?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>Label</key>
<string>com.domain.calumhunter.dsnetbootstartup</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Scripts/mount_share.sh</string>
</array>
@calum-github
calum-github / ACNBI script
Created November 3, 2015 22:37
ACNBI script
#!/bin/bash
######################################################################################
# #
# Author: Calum Hunter #
# Date: 27/10/2015 #
# Version: 0.7 #
# Purpose: Script to clean up an AutoCasperNBI for use with DEC Strapper. #
# #
# #
@calum-github
calum-github / init.pp
Last active October 21, 2015 03:36
puppet
# Ensure we have docker running and enabled (starts at boot)
service {"docker":
ensure => running,
enable => true,
}
# Ensure we have docker installed and it is the required version.
package { "docker":
ensure => "1.7.1-115.el7",
}
@calum-github
calum-github / init.pp
Last active October 21, 2015 03:36
puppet manifest
# Ensure we have docker running and enabled (starts at boot)
service {"docker":
ensure => running,
enable => true,
}
# Ensure we have docker installed and it is the required version.
package { "docker":
ensure => "1.7.1-115.el7",
}
<?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.microsoft.Word</key>
@calum-github
calum-github / gist:e32ff87656f1b2a6a494
Created September 17, 2015 03:45
Office 2015 First Run Dialogs
<?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.microsoft.Word</key>
@calum-github
calum-github / postinstall.sh
Last active August 27, 2015 07:11
postinstall for captivate 9 package
#!/bin/bash
###########################################################################
# Postinstall script to install Adobe Captivate 9 an addtional components #
# Author: Calum Hunter #
# Date: 27-08-2015 #
# Version: 1.0 #
###########################################################################
# Set current directory name
@calum-github
calum-github / deploy.xml
Last active August 27, 2015 06:09
deployment xml for elearning assets for captivate 9
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Deployment>
<Properties>
<Property name="INSTALLDIR">/Users/Shared/Adobe/eLearning Assets/Characters_9_0</Property>
<Property name="installLanguage">en_US</Property>
<Property name="installSourcePath">REPLACEME</Property>
</Properties>
<Payloads>
<!-- Adobe eLearning Assets All -->
<Payload adobeCode="{0688EA01-XXXX-XXXX-XXXX-XXXXXXX418}">
@calum-github
calum-github / deploy.xml
Last active August 27, 2015 06:09
deployment file for NeoSpeech Voices - Captivate 9
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Deployment>
<Properties>
<Property name="INSTALLDIR">/Applications/Adobe Captivate Voices 9</Property>
<Property name="installLanguage">en_US</Property>
<Property name="installSourcePath">REPLACEME</Property>
</Properties>
<Payloads>
<!-- Adobe Captivate Voices 9 -->
<Payload adobeCode="{BBCD0XXX-XXXX-XXXX-XXXX-XXXXXX8214}">