Compare commits
2 Commits
06fa35b7f8
...
1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53548307c8 | ||
|
|
f9b6861e93 |
@@ -11,6 +11,8 @@
|
||||
# @param [String] ac_apply_updates whether to apply available updates
|
||||
# @param [String] ac_reboot when to reboot after applied updates
|
||||
# @param [String] ac_emit_via how to inform about emitted updates
|
||||
# @param [String] ac_email_to where to send the email to
|
||||
# @param [String] ac_email_host which host to use to send the email
|
||||
##############################################################################
|
||||
class automatic_cd::params (
|
||||
|
||||
@@ -25,7 +27,8 @@ class automatic_cd::params (
|
||||
String $ac_apply_updates = 'yes',
|
||||
String $ac_reboot = 'never',
|
||||
String $ac_emit_via = 'email',
|
||||
|
||||
String $ac_email_to = 'root@example.net',
|
||||
String $ac_email_host = 'localhost',
|
||||
|
||||
) {
|
||||
# Facts
|
||||
|
||||
@@ -53,13 +53,13 @@ emit_via = <%= @ac_emit_via %>
|
||||
|
||||
[email]
|
||||
# The address to send email messages from.
|
||||
email_from = root@<%= @qfqdn %>
|
||||
email_from = root@<%= @fqdn %>
|
||||
|
||||
# List of addresses to send messages to.
|
||||
email_to = root
|
||||
email_to = <%= @ac_email_to %>
|
||||
|
||||
# Name of the host to connect to to send email messages.
|
||||
email_host = localhost
|
||||
email_host = <%= @ac_email_host %>
|
||||
|
||||
|
||||
[command]
|
||||
@@ -84,10 +84,10 @@ email_host = localhost
|
||||
# stdin_format = "{body}"
|
||||
|
||||
# The address to send email messages from.
|
||||
email_from = root@example.com
|
||||
email_from = root@<%= @fqdn %>
|
||||
|
||||
# List of addresses to send messages to.
|
||||
email_to = root
|
||||
email_to = <%= @ac_email_to %>
|
||||
|
||||
|
||||
[base]
|
||||
|
||||
Reference in New Issue
Block a user