Skip to content

Commit 7e1014f

Browse files
Merge pull request #22 from airbnb/AggressiveUpdateNotificationDays
Add pref for aggressive_update_notification_days
2 parents 271f4df + 0e44b53 commit 7e1014f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

data/common.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ munki::munkitools_core_source: ''
4545
munki::munkitools_core_version: ''
4646
munki::munkitools_receipt: ''
4747
munki::munkitools_source: ''
48-
munki::munkitools_source: ''
4948
munki::munkitools_launchd_checksum: ''
5049
munki::munkitools_launchd_receipt: ''
5150
munki::munkitools_launchd_source: ''
@@ -57,4 +56,5 @@ munki::munkitools_python_version: ''
5756
munki::http_user: ''
5857
munki::http_password: ''
5958
munki::munki_python: true
60-
munki::manage_profile: true
59+
munki::manage_profile: true
60+
munki::aggressive_update_notification_days: 14

manifests/config.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Configure munki via dynamic profile
22
class munki::config {
3+
$aggressive_update_notification_days = $munki::aggressive_update_notification_days
34
$apple_software_updates_only = $munki::apple_software_updates_only
45
$client_cert_path = $munki::client_cert_path
56
$client_identifier = $munki::client_identifier
@@ -28,6 +29,7 @@
2829

2930
$mcx_settings = {
3031
'AdditionalHttpHeaders' => $additional_http_headers,
32+
'AggressiveUpdateNotificationDays' => $aggressive_update_notification_days,
3133
'AppleSoftwareUpdatesOnly' => $apple_software_updates_only,
3234
'ClientIdentifier' => $client_identifier,
3335
'DaysBetweenNotifications' => $days_between_notifications,

manifests/init.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
String $http_password,
6363
Boolean $munki_python,
6464
Boolean $manage_profile,
65+
Integer $aggressive_update_notification_days,
6566
)
6667
{
6768
class { '::munki::config': }

0 commit comments

Comments
 (0)