Files
mgmt/examples/lang/autoedges1.mcl
James Shubin e0d024ac95 examples: lang: Update autoedges example
The /dev/null thing isn't needed anymore. Also make it easier to change
noop value.
2019-05-15 03:51:01 -04:00

31 lines
482 B
Plaintext

$noop = false
pkg "drbd-utils" {
state => "installed",
Meta:autoedge => true,
Meta:noop => $noop,
}
file "/etc/drbd.conf" {
content => "this is an mgmt test",
state => "exists",
Meta:autoedge => true,
Meta:noop => $noop,
}
file "/etc/drbd.d/" {
state => "exists",
Meta:autoedge => true,
Meta:noop => $noop,
}
# note that the autoedges between the files and the svc don't exist yet :(
svc "drbd" {
state => "stopped",
Meta:autoedge => true,
Meta:noop => $noop,
}