Make sure mercurial is installed

Change-Id: I3919c3aabb9c3fad8465c42c68fcfd1aed6fcfb5
This commit is contained in:
James E. Blair 2016-01-22 14:39:32 -08:00
parent a88c399ad8
commit 5c59f9527b
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ class bandersnatch (
$bandersnatch_source = 'pip',
) {
if ! defined(Package['mercurial']) {
package { 'mercurial':
ensure => present,
}
}
if ($bandersnatch_source == 'pip') {
package { 'bandersnatch':
ensure => 'present',