diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2008-10-04 16:27:51 +0200 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-10-05 14:35:44 +1100 |
commit | 750e9abc64af58e547e7b1ad5698c71feb071bf6 (patch) | |
tree | bf5c7649dcccf29903e320d4d2d10713c9ccc03d /lib/puppet/parser/parser_support.rb | |
parent | 782181e0da1bb6f5a091046ad68989300c508176 (diff) | |
download | puppet-750e9abc64af58e547e7b1ad5698c71feb071bf6.tar.gz puppet-750e9abc64af58e547e7b1ad5698c71feb071bf6.tar.xz puppet-750e9abc64af58e547e7b1ad5698c71feb071bf6.zip |
Fix #381 - Allow multiple resource overrides or references
Allow this syntax:
Resource[title1,title2] { param => value }
as a compact form of
Resource[title1] { param => value }
Resource[title2] { param => value }
This patch also introduces for free the possibility to group
class references by type:
exec {
test:
require => File["file1","file2","File3"]
}
which is completely equivalent to:
exec {
test:
require => [ File["file1"],File["file2"],File["File3"] ]
}
Diffstat (limited to 'lib/puppet/parser/parser_support.rb')
0 files changed, 0 insertions, 0 deletions