Tuesday 28 January 2014

Mavericks OSX Marjon Deploy Studio workflows (on svr-mac-francis)

Note: Include MS Office on image before taking back to server 

Mavericks OSX - what works -

https://wiki.brown.edu/confluence/pages/viewpage.action?pageId=88506535


JAM

All works except After Effects which needs to be updated from 11.0.2 to 11.0.4 to work on Mavericks

Need to download trial updater (AfterEffectsTrial-11.0.4-mul-AutoUpdate.dmg) and run after imaged




Live Music


All works but need to update:

Ableton Live from 8.34 to 8.4.2
Logic Pro from 9.1.7 to 9.1.8

 Sports

All works

Instructions for Sportscode - http://www.sportstec.eu/news/256351/upgrading-to-os-x-mavericks








Marjon Mac Server List

svr-macaroon (OSX 10.7.5 mac-mini-server)
 - Open Directory Server - used to push out preferences to workgroups by Workgroup Manager

svr-mac-francis (OSX 10.7.5 mac-mini-server)
marianne (OSX 10.8.2 mac-mini-server)
- Deploy Studio servers used to create and image macs

svr-minervius (OSX 10.7.5  iMac server)
- mac printing queue server

svr-macarena (OSX 10.8.2 mac-mini-server)
- server used to share Media Live (Nathan)

svr-mac-urban (OSX 10.8.2 mac-mini-server)
- server used to share Sports Live (Ethan)

svr-macrina (OSX 10.8.2 mac-mini-server)
- server used to share Jam Live (Stefan)

svr-mac-agnes (OSX 10.9.1 mac-mini-server)
- Software Update Server

svr-magdeburg (OSX 10.7.5  iMac server)
- test network server (Casper Suite demo server)

Daffy (OSX 10.7.5  MacBook server)
- backup Deploy Studio and ISJ mac




Software Update Server

svr-mac-agnes.net.marjon.ac.uk (a mavericks server)

automatically downloads updates but not enabled at the moment

set 'Software Update' on Workgroup Manager on svr-macaroon (per group) to:


  • http://svr-mac.agnes.net.marjon.ac.uk:8088/index.sucatalog



Scripts

Add scripts to /Library/Scripts directory of the image and to Workgroup Manager on svr-macaroon under Login-Items

  • loginsport.sh (for sport) etc
- automator loginscript created by ISJ & CM:

--------------------
'mount and record who's logged in then unmount
mkdir /Volumes/BarbLoLo

mount_smbfs //AppleMacLogon:mount_smbfs-VolumeShare@barbara.net.marjon.ac.uk/Logonoff$/macs  /Volumes/BarbLoLo
dt5=$(date "+%d%h%Y")

dt6=$(date)
printf "$USER, $HOSTNAME, $dt6\r\n">>/Volumes/BarbLoLo/on-$dt5.txt

umount /volumes/BarbLoLo


'load safari and show pages
open -a /Applications/Safari.app/ http://staffnews
open -a /Applications/Safari.app/ http://hub.marjon.ac.uk

'load shared drive
mkdir /volumes/shareddrive

mount_afp "afp://sportslive:sportslive@svr-mac-urban/Sports Live" /Volumes/shareddrive/

'create alias on desktop
/usr/bin/osascript > /dev/null <<EOT
try
tell application "Finder"
set macSrcPath to POSIX file "/Volumes/shareddrive"
make new alias file at desktop to macSrcPath
end tell
end try
EOT
-----------------
  • personaliseoffice.sh




LaunchAgents (Library/LaunchAgents)

  Add the following to image under Library/LaunchAgents

  • com.mj.personaliseoffice.plist (oofice personlisation)

An agent is a process that runs in the background on behalf of a particular user. Agents are useful because they can do things that daemons can't, like reliably access the user's home directory or connect to the window server.

A launchd agent is like a launchd daemon, except that it runs on behalf of a particular user. It is launched by launchd, typically as part of the process of logging in the user.

A third party launchd agent should be installed by adding a property list file to the ~/Library/LaunchAgents directory (to be invoked just for this user) or /Library/LaunchAgents directory (to be invoked for all users).


Mac printing

Add Mac_Printing.ppd to /Library/Printers/PPDs/Content/Resources/conffigured_ppds/ and add printer on image

Add Managed printers to Group on Workgroup Manager on svr-macaroon

Personalise Office

 Add the following to base image

~/Library/Preferences/com.microsoft.autoupdate2.plist
~/Library/Preferences/com.microsoft.error_reporting.plist
~/Library/Preferences/com.microsoft.office.plist
~/Library/Preferences/com.microsoft.office.setupassistant.plist
 System/Library/User Template/English.lproj/Library/Preferences/com.microsoft.autoupdate2.plist
System/Library/User Template/English.lproj/Library/Preference/com.microsoft.autoupdate2.plist
System/Library/User Template/English.lproj/Library/Preference/com.microsoft.error_reporting.plist
System/Library/User Template/English.lproj/Library/Preference/com.microsoft.office.plist
System/Library/User Template/English.lproj/Library/Preference/com.microsoft.office.setupassistant.plist

also

/Library/Scripts/company/personalizeoffice.sh
 System/Library/User Template/English.lproj/Library/LaunchAgents//personalizeoffice.sh

http://wiki.afp548.com/index.php/Office_2011_Settings

Flash Updates

  • add flash installer to image 
  • run flash silent installer so that it updates automatically
http://mattsmacblog.wordpress.com/2012/06/10/adobe-flash-11-3-silent-update-package/