Merge pull request #197 from vchepkov/snippet
set default snippet content to empty string
This commit is contained in:
Коммит
94d8a17de6
|
@ -5,8 +5,8 @@
|
|||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*content*] - The actual content to place in the file.
|
||||
# [*ensure*] - How to enforce the file (default: present)
|
||||
# [*content*] - The actual content to place in the file. (default: empty sting)
|
||||
# [*ensure*] - How to enforce the file (default: present)
|
||||
# [*file_mode*] - The mode of the file snippet (default: $rsyslog::perm_file)
|
||||
#
|
||||
# === Variables
|
||||
|
@ -18,7 +18,7 @@
|
|||
# }
|
||||
#
|
||||
define rsyslog::snippet(
|
||||
$content,
|
||||
$content = '',
|
||||
$ensure = 'present',
|
||||
$file_mode = 'undef'
|
||||
) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче