Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
file { "/tmp/foobar":
  ensure => directory,
  before => File["/tmp/foo*/test.txt"]
}

file { "/tmp/foobaz":
  ensure => directory,
  before => File["/tmp/foo*/test.txt"]
}

file { "/tmp/foo*/test.txt":
  ensure => present,
  content => "foo\n"
}