/puppet-apticron

This module manages apticron

Primary LanguageHTML

# Class: apticron
#   This module manages apticron
#
# Definition:
#   apticron::email
#   listchanges::email
#
# Parameters:
#   $email - specify the email
#
# Actions:
#   Installs the apticron.conf, listchanges.conf and cron
#
# Requires:
#   - stdlib - https://github.com/puppetlabs/puppetlabs-stdlib
#
# Sample Usage:
#   class { 'apticron':
#     email_apticron    => $email_apticron,
#     email_listchanges => $email_listchanges,
#   }
#
#   or
#
#   listchanges::email { '/etc/apt/listchanges.conf':
#     email => $email_listchanges,
#   }
#
#   apticron::email { '/etc/apticron/apticron.conf':
#     email => $email_apticron,
#   }