Add pip as requirement
We actually need to make sure pip is installed before we try using pip to install ptgbot. Change-Id: If86758e9b8d20a9d7c1d8de851206ad143f476f2 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
a375ebe749
commit
85373c31d5
|
@ -9,6 +9,7 @@ class ptgbot(
|
|||
$pads = 'https://wiki.openstack.org/wiki/PTG/Queens/Etherpads',
|
||||
$sheet = 'Queens-PTG-Discussion-Rooms',
|
||||
) {
|
||||
include ::pip
|
||||
|
||||
user { 'ptgbot':
|
||||
ensure => present,
|
||||
|
@ -34,6 +35,7 @@ class ptgbot(
|
|||
command => 'pip3 install /opt/ptgbot',
|
||||
path => '/usr/local/bin:/usr/bin:/bin/',
|
||||
refreshonly => true,
|
||||
require => Class['pip'],
|
||||
subscribe => Vcsrepo['/opt/ptgbot'],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue