puppetlabs-puppet/examples/execs

17 строки
216 B
Plaintext

$path = "/usr/bin:/bin"
exec { "mkdir -p /tmp/fakedir":
path => $path
}
exec { "rm -rf /tmp/fakedir":
path => $path
}
exec { "touch /this/directory/does/not/exist":
path => $path,
returns => 1
}