Provides classes for setting various defaults in Mac OS X. Also provides a means to set a "recovery message" to be displayed on the login and lock screens.
Displays the given message on the lock and login screens.
osx::recovery_message { 'If this Mac is found, please call 123-456-7890': }
Just include
any of these in your manifest.
osx::global::disable_key_press_and_hold
- disable press-and-hold for accented character entryosx::global::enable_keyboard_control_access
- enables the keyboard for navigating controls in dialogsosx::global::expand_print_dialog
- expand the print dialog by defaultosx::global::expand_save_dialog
- expand the save dialog by defaultosx::global::disable_remote_control_ir_receiver
- disable remote control infrared receiver
osx::dock::2d
- use the old flat dock styleosx::dock::autohide
- automatically hide the dockosx::dock::clear_dock
- ensures the dock only contains apps that are runningosx::dock::disable
- disable the dock by setting a long autohide-delayosx::dock::dim_hidden_apps
- dims icons of hidden appsosx::dock::hide_indicator_lights
- remove the indicator lights below running apps
osx::finder::show_external_hard_drives_on_desktop
osx::finder::show_hard_drives_on_desktop
osx::finder::show_mounted_servers_on_desktop
osx::finder::show_removable_media_on_desktop
osx::finder::show_all_on_desktop
- does all of the aboveosx::finder::empty_trash_securely
- enable Secure Empty Trashosx::finder::unhide_library
- unsets the hidden flag on ~/Library
osx::universal_access::ctrl_mod_zoom
- enables zoom by scrolling while holding Controlosx::universal_access::enable_scrollwheel_zoom
- enables zoom using the scroll wheel
osx::disable_app_quarantine
- disable the downloaded app quarantineosx::no_network_dsstores
- disable creation of .DS_Store files on network sharesosx::software_update
- download and install software updates
These settings can be used like one-shots or customized.
osx::global::key_repeat_delay
- the amount of time (in ms) before a key starts
repeating
# Set the default value (35)
include osx::global::key_repeat_delay
# ... or set your own
class { 'osx::global::key_repeat_delay':
delay => 10
}
osx::global::key_repeat_rate
- the amount of time (in ms) before key repeat
'presses'
# Set the default value (0)
include osx::global::key_repeat_rate
# ... or set your own
class { 'osx::global::key_repeat_rate':
rate => 2
}
osx::global::natural_mouse_scrolling
- enable/disable 'natural' mouse scrolling. Requires re-login for new settings to initialize.
# Set the default value (enabled=true)
include osx::global::natural_mouse_scrolling
# ... or set your own
class { 'osx::global::natural_mouse_scrolling':
enabled => false
}
osx::universal_access::cursor_size
- the amount the cursor will be zoomed
# Set the default value (1.5)
include osx::universal_access::cursor_size
# ... or set your own
class { 'osx::universal_access::cursor_size':
zoom => 2
}
osx::dock::icon_size
- the size of the dock icons, in pixels
include osx::dock::icon_size
class { 'osx::dock::icon_size':
size => 36
}
- boxen
- property_list_key
Write code.
Run script/cibuild
.