File: implicititeration.pp

package info (click to toggle)
puppet 5.5.10-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 21,116 kB
  • sloc: ruby: 250,669; sh: 1,620; xml: 218; makefile: 151; sql: 103
file content (15 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (28)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $Id$

$files = ["/tmp/iterationatest", "/tmp/iterationbtest"]

file { $files: ensure => file, mode => '0755' }

file { ["/tmp/iterationctest", "/tmp/iterationdtest"]:
    ensure => file,
    mode => '0755'
}

file {
    ["/tmp/iterationetest", "/tmp/iterationftest"]: ensure => file, mode => '0755';
    ["/tmp/iterationgtest", "/tmp/iterationhtest"]: ensure => file, mode => '0755';
}