This commit is contained in:
qgarnier 2020-10-29 09:14:21 +01:00 committed by GitHub
parent 08a7661bdd
commit 365ab79064
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ sub run {
my ($stdout) = $options{custom}->execute_command( my ($stdout) = $options{custom}->execute_command(
command => 'crm_resource', command => 'crm_resource',
command_path => '/usr/sbin', command_path => '/usr/sbin',
command_options => '--constraints -r' command_options => '--constraints -r ' . $self->{option_results}->{resource}
); );
$self->parse_output(output => $stdout); $self->parse_output(output => $stdout);
@ -113,7 +113,7 @@ __END__
Check that a resource has no location constraint (migrate without unmigrate) Check that a resource has no location constraint (migrate without unmigrate)
Can be executed from any cluster node. Can be executed from any cluster node.
Command used: /usr/sbin/crm_resource --constraints -r Command used: /usr/sbin/crm_resource --constraints -r resource_name
=over 8 =over 8