Puppet Class: sophos_av::config
- Inherits:
- sophos_av
- Defined in:
- manifests/config.pp
Overview
== Class: sophos_av::config
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'manifests/config.pp', line 2
class sophos_av::config inherits sophos_av {
# lint:ignore:quoted_booleans
sophos_av::savconfig { 'Email':
setting => $sophos_av::email_target,
}
if $sophos_av::email_demand_summary
{ $str_emaildemandsummaryifthreat = 'true' }
else
{ $str_emaildemandsummaryifthreat = 'false' }
sophos_av::savconfig { 'EmailDemandSummaryIfThreat':
setting => $str_emaildemandsummaryifthreat,
}
sophos_av::savconfig { 'EmailLanguage':
setting => $sophos_av::email_language,
}
if $sophos_av::email_notifier
{ $str_emailnotifier = 'true' }
else
{ $str_emailnotifier = 'false' }
sophos_av::savconfig { 'EmailNotifier':
setting => $str_emailnotifier,
}
sophos_av::savconfig { 'EmailServer':
setting => $sophos_av::email_server,
}
if $sophos_av::enable_on_start
{ $str_enableonstart = 'true' }
else
{ $str_enableonstart = 'false' }
sophos_av::savconfig { 'EnableOnStart':
setting => $str_enableonstart,
}
sophos_av::savlistset { 'ExclusionEncodings':
list => $sophos_av::exclusion_encodings,
}
sophos_av::savlistset { 'ExcludeFilePaths':
list => $sophos_av::exclude_file_paths,
}
sophos_av::savlistset { 'ExcludeFileOnGlob':
list => $sophos_av::exclude_file_on_glob,
}
sophos_av::savlistset { 'ExcludeFilesystems':
list => $sophos_av::exclude_filesystems,
}
sophos_av::savconfig { 'LogMaxSizeMB':
setting => $sophos_av::log_max_size,
}
if $sophos_av::notify_on_update
{ $str_notifyonupdate = 'true' }
else
{ $str_notifyonupdate = 'false' }
sophos_av::savconfig { 'NotifyOnUpdate':
setting => $str_notifyonupdate,
}
if $sophos_av::upload_samples
{ $str_uploadsamples = 'true' }
else
{ $str_uploadsamples = 'false' }
sophos_av::savconfig { 'UploadSamples':
setting => $str_uploadsamples,
}
if $sophos_av::send_error_email
{ $str_senderroremail = 'true' }
else
{ $str_senderroremail = 'false' }
sophos_av::savconfig { 'SendErrorEmail':
setting => $str_senderroremail,
}
if $sophos_av::send_threat_email
{ $str_sendthreatemail = 'true' }
else
{ $str_sendthreatemail = 'false' }
sophos_av::savconfig { 'SendThreatEmail':
setting => $str_sendthreatemail,
}
if $sophos_av::ui_notifier
{ $str_uinotifier = 'true' }
else
{ $str_uinotifier = 'false' }
sophos_av::savconfig { 'UINotifier':
setting => $str_uinotifier,
}
if $sophos_av::ui_popup_notification
{ $str_uipopupnotification = 'true' }
else
{ $str_uipopupnotification = 'false' }
sophos_av::savconfig { 'UIpopupNotification':
setting => $str_uipopupnotification,
}
if $sophos_av::ui_tty_notification
{ $str_uittynotification = 'true' }
else
{ $str_uittynotification = 'false' }
sophos_av::savconfig { 'UIttyNotification':
setting => $str_uittynotification,
}
sophos_av::savconfig { 'UpdatePeriodMinutes':
setting => $sophos_av::update_period,
}
if $sophos_av::live_protection
{ $str_liveprotection = 'enabled' }
else
{ $str_liveprotection = 'disabled' }
sophos_av::savconfig { 'LiveProtection':
setting => $str_liveprotection,
}
sophos_av::savconfig { 'ScanArchives':
setting => $sophos_av::scan_archives,
}
# lint:endignore
}
|