Puppet Class: osx::software_update
- Defined in:
- manifests/software_update.pp
Overview
Public: Install updates from Apple
2 3 4 5 6 7 8 9 10 11 |
# File 'manifests/software_update.pp', line 2
class osx::software_update {
$update_msg = 'Software Update found the following'
exec { 'OSX Software Update':
command => 'softwareupdate -i -a',
timeout => 0,
user => 'root',
onlyif => "softwareupdate -l --no-scan | grep '${update_msg}'"
}
}
|