Multiple puppet requires -
hi i'd make puppet resource/task dependent on multiple other tasks.
for example:
file{'~/foo':} file{'~/bar':} file{'~/foobar': require => file['~foo'], require => file['~bar'] }
what's correct syntax define this?
thanks
from language: data types
resource attributes can optionally accept multiple values (including relationship metaparameters) expect values in array.
file{'~/foo':} file{'~/bar':} file{'~/foobar': require => [ file['~foo'], file['~bar'] ] }
Comments
Post a Comment