Permalink
Browse files
fix broken test for for running OVS daemon
- Loading branch information...
Showing
with
3 additions
and
2 deletions.
-
+3
−2
manifests/ovs.pp
|
|
@@ -17,8 +17,9 @@ |
|
|
service {"openvswitch-switch":
|
|
|
ensure => true,
|
|
|
enable => true,
|
|
|
- hasstatus => true,
|
|
|
- status => "/etc/init.d/openvswitch-switch status",
|
|
|
+ hasstatus => false, # the supplied command returns true even if it's not running
|
|
|
+ # Not perfect - should spot if either service is not running - but it'll do
|
|
|
+ status => "/etc/init.d/openvswitch-switch status | fgrep 'is running'",
|
|
|
}
|
|
|
|
|
|
Service['openvswitch-switch'] -> Vs_port<||>
|
|
|
|
0 comments on commit
be49bd3