Add missing cobbler dependencies

Cobbler depends on a number of libs
and utilities to manage node
provisioning.

blueprint fuel-containerization-of-services

Change-Id: Ic438679c5247b72d14938885bb73c39d0dac283a
This commit is contained in:
Matthew Mosesohn 2014-04-16 17:10:15 +04:00
parent cf93865f4b
commit 641e9e8f2a

View File

@ -20,16 +20,20 @@ class cobbler::packages {
$cobbler_package = "cobbler"
$cobbler_web_package = "cobbler-web"
$dnsmasq_package = "dnsmasq"
$cobbler_additional_packages = ["xinetd", "tftp-server", "syslinux", "wget", "python-ipaddr"]
$cobbler_additional_packages = ["xinetd", "tftp-server", "syslinux", "wget", "python-ipaddr","fence-agents", "bind-utils"]
$django_package = "python-django"
$openssh_package = "openssh-clients"
$pexpect_package = "pexpect"
}
/(?i)(debian|ubuntu)/: {
$cobbler_package = "cobbler"
$cobbler_web_package = "cobbler-web"
$dnsmasq_package = "dnsmasq"
$cobbler_additional_packages = ["tftpd-hpa", "syslinux", "wget", "python-ipaddr"]
$cobbler_additional_packages = ["tftpd-hpa", "syslinux", "wget","python-ipaddr", "fence-agents", "dnsutils", "bind9-host"]
$django_package = "python-django"
$django_version = "1.3.1-4ubuntu1"
$openssh_package = "openssh-client"
$pexpect_package = "python-pexpect"
}
}
@ -61,6 +65,14 @@ class cobbler::packages {
ensure => installed
}
package { $openssh_package:
ensure => installed
}
package { $pexpect_package:
ensure => installed
}
Package<||>
}