diff --git a/manifests/api.pp b/manifests/api.pp index c75644a..38e3b21 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -40,8 +40,10 @@ class openstack_health::api( } exec { 'package-application': - command => "${virtualenv_dir}/bin/pip install ${source_dir}", - require => Python::Requirements["${source_dir}/requirements.txt"], + command => "${virtualenv_dir}/bin/pip install -e ${source_dir}", + require => Python::Requirements["${source_dir}/requirements.txt"], + refreshonly => true, + subscribe => Vcsrepo[$source_dir], } file { '/etc/openstack-health.conf':