Defined Type: ipa::replicaagreement
- Defined in:
- manifests/replicaagreement.pp
Overview
1 2 3 4 5 6 7 8 9 10 |
# File 'manifests/replicaagreement.pp', line 1
define ipa::replicaagreement (
$from,
$to
) {
exec { "connect-${from}-${to}":
command => "/sbin/runuser -l admin -c \'/usr/sbin/ipa-replica-manage connect ${from} ${to}\'",
unless => "/sbin/runuser -l admin -c \'/usr/sbin/ipa-replica-manage list ${from} | /bin/grep ${to} >/dev/null 2>&1\'",
logoutput => "on_failure"
}
}
|