Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
sys
Commits
9d443a00
Commit
9d443a00
authored
Sep 27, 2019
by
m.pausch
Browse files
Let the stdlib convert this to array
parent
8847f2bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/mail_alias.rb
View file @
9d443a00
...
...
@@ -19,7 +19,7 @@
property
:to
,
[
Array
,
String
],
# turn Strings into Arrays for simplicity:
coerce:
proc
{
|
t
|
t
.
is_a?
(
String
)
?
[
t
]
:
t
}
coerce:
proc
{
|
t
|
Array
(
t
)
}
property
:aliases_file
,
String
,
default:
'/etc/aliases'
default_action
:add
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment