Yuvipanda has submitted this change and it was merged.

Change subject: k8s: Don't start the flannel service before the file exists
......................................................................


k8s: Don't start the flannel service before the file exists

Change-Id: I77edb7b12303e0f171449b28c3fece8f6cb31f3f
---
M modules/k8s/manifests/flannel.pp
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Yuvipanda: Verified; Looks good to me, approved



diff --git a/modules/k8s/manifests/flannel.pp b/modules/k8s/manifests/flannel.pp
index 99a1fd8..4459c48 100644
--- a/modules/k8s/manifests/flannel.pp
+++ b/modules/k8s/manifests/flannel.pp
@@ -13,6 +13,7 @@
 
     base::service_unit { 'flannel':
         systemd => true,
+        require => File['/usr/local/bin/flanneld'],
     }
 
     ferm::service { 'flannel-udp':

-- 
To view, visit https://gerrit.wikimedia.org/r/230164
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I77edb7b12303e0f171449b28c3fece8f6cb31f3f
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to