Make sure mercurial is installed
Change-Id: I3919c3aabb9c3fad8465c42c68fcfd1aed6fcfb5
This commit is contained in:
parent
a88c399ad8
commit
5c59f9527b
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue