From de203e0d43e7f913a898ae052f2f5c824dd2c20b Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 22 Feb 2018 12:35:07 -0800 Subject: [PATCH] Have the 'statusbot' service subscribe to the pip install Instead of having the 'statusbot' service subscribe to the git repository, have it subscribe to the pip install. So now we have: * statusbot service <- (subscribed to) <- pip install * pip install <- (subscribed to) <- vcsrepo Change-Id: Id87785810ca4846527dbc8a59ef95ff1c5b4efde --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 667fe83..df7836e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -63,7 +63,7 @@ class statusbot( hasrestart => true, require => File['/etc/init.d/statusbot'], subscribe => [ - Vcsrepo['/opt/statusbot'], + Exec['install_statusbot'], File['/etc/statusbot/statusbot.config'], ], }