View mac_system.py
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
# -*- coding: utf-8 -*- | |
''' | |
State for setting computer names on macOS. | |
.. code-block:: yaml | |
set_computer_name_to_wesbook: | |
system.set_computer_name: | |
- name: wesbook | |
''' |
View install.log
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
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: @(#)PROGRAM:Install PROJECT:Install-1000 | |
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: @(#)PROGRAM:Installer PROJECT:Installer-920 | |
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: Hardware: MacBookPro12,1 @ 3.10 GHz (x 4), 16384 MB RAM | |
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: Running OS Build: Mac OS X 10.13.4 (17E202) | |
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 | |
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: Env: TMPDIR=/var/folders/tp/nw_tz52n37gbqh3rk1t1qfym0000gn/T/ | |
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: Env: HOME=/Users/wes | |
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: Env: SHELL=/usr/local/bin/fish | |
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: Env: Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.YxLa5cat3t/Render | |
2018-05-22 14:04:29-07 wesbook-test-13mbp Installer[18891]: |
View crypt-mech-check.plist
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>autoremove</key> | |
<false/> | |
<key>blocking_applications</key> | |
<array/> | |
<key>catalogs</key> | |
<array> |
View munki-alert
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/python | |
import sys | |
import os | |
import subprocess | |
import datetime | |
from Foundation import NSDate, NSMetadataQuery, NSPredicate, NSRunLoop | |
from Foundation import CFPreferencesAppSynchronize | |
from Foundation import CFPreferencesCopyAppValue | |
from Foundation import CFPreferencesCopyKeyList |