Comment 2 for bug 1558154

Revision history for this message
Kyrylo Galanov (kgalanov) wrote :

Hi QA team,

Resource names were changed: p_ prefix was removed.
You need to update the tests.
If you look at pacemaker/lib/puppet/provider/service/pacemaker.rb you can see how you can do it the best way.
1. Get all resources list
2. Find a resource by mask /(?:p_)neutron-l3-agent/
3. Execute a command with correct resource name.
4. Make the code reusable for all similar cases

---
 Clone Set: clone_neutron-openvswitch-agent [neutron-openvswitch-agent]
 Clone Set: clone_neutron-l3-agent [neutron-l3-agent]
 Clone Set: clone_neutron-metadata-agent [neutron-metadata-agent]
 Clone Set: clone_neutron-dhcp-agent [neutron-dhcp-agent]