Skip to content

Commit

Permalink
Merge pull request #22 from airbnb/AggressiveUpdateNotificationDays
Browse files Browse the repository at this point in the history
Add pref for aggressive_update_notification_days
  • Loading branch information
grahamgilbert authored Aug 29, 2024
2 parents 271f4df + 0e44b53 commit 7e1014f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ munki::munkitools_core_source: ''
munki::munkitools_core_version: ''
munki::munkitools_receipt: ''
munki::munkitools_source: ''
munki::munkitools_source: ''
munki::munkitools_launchd_checksum: ''
munki::munkitools_launchd_receipt: ''
munki::munkitools_launchd_source: ''
Expand All @@ -57,4 +56,5 @@ munki::munkitools_python_version: ''
munki::http_user: ''
munki::http_password: ''
munki::munki_python: true
munki::manage_profile: true
munki::manage_profile: true
munki::aggressive_update_notification_days: 14
2 changes: 2 additions & 0 deletions manifests/config.pp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Configure munki via dynamic profile
class munki::config {
$aggressive_update_notification_days = $munki::aggressive_update_notification_days
$apple_software_updates_only = $munki::apple_software_updates_only
$client_cert_path = $munki::client_cert_path
$client_identifier = $munki::client_identifier
Expand Down Expand Up @@ -28,6 +29,7 @@

$mcx_settings = {
'AdditionalHttpHeaders' => $additional_http_headers,
'AggressiveUpdateNotificationDays' => $aggressive_update_notification_days,
'AppleSoftwareUpdatesOnly' => $apple_software_updates_only,
'ClientIdentifier' => $client_identifier,
'DaysBetweenNotifications' => $days_between_notifications,
Expand Down
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
String $http_password,
Boolean $munki_python,
Boolean $manage_profile,
Integer $aggressive_update_notification_days,
)
{
class { '::munki::config': }
Expand Down

0 comments on commit 7e1014f

Please sign in to comment.