Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P16808
puppet multiple resources
Active
Public
Actions
Authored by
jbond
on Jul 8 2021, 2:02 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F34543647: puppet multiple resources
Jul 8 2021, 2:02 PM
2021-07-08 14:02:16 (UTC+0)
Subscribers
None
# IMO this is better
file
{
default
:
owner
=>
'root'
,
mode
=>
'0500'
;
'/foo/bar'
:
content
=>
'foo'
;
'/bar/foo'
:
content
=>
'bar'
;
}
# Then this, the comma is completely superfluous and looks horrible
file
{
default
:
owner
=>
'root'
,
mode
=>
'0500'
,;
'/foo/bar'
:
content
=>
'foo'
,;
'/bar/foo'
:
content
=>
'bar'
,;
}
Event Timeline
jbond
created this paste.
Jul 8 2021, 2:02 PM
2021-07-08 14:02:16 (UTC+0)
Log In to Comment