Merge "Add deps to all that is needed"

This commit is contained in:
Jenkins 2017-03-15 20:49:54 +00:00 committed by Gerrit Code Review
commit a78fd6cae9
5 changed files with 15 additions and 11 deletions

View File

@ -23,6 +23,8 @@ class ironic::drivers::drac (
$package_ensure = 'present',
) {
include ::ironic::deps
ensure_packages('python-dracclient',
{
ensure => $package_ensure,

View File

@ -34,6 +34,9 @@ define ironic::drivers::hardware_interface (
$enabled_list = $::os_service_default,
$default = $::os_service_default,
) {
include ::ironic::deps
if !is_service_default($enabled_list) and !empty($enabled_list){
validate_array($enabled_list)
$enabled_list_real = join($enabled_list, ',')

View File

@ -38,7 +38,6 @@
# (optional) The state of the proliantutils package
# Defaults to 'present'
#
class ironic::drivers::ilo (
$client_timeout = $::os_service_default,
$client_port = $::os_service_default,
@ -47,6 +46,8 @@ class ironic::drivers::ilo (
$package_ensure = 'present',
) {
include ::ironic::deps
# Configure ironic.conf
ironic_config {
'ilo/client_timeout': value => $client_timeout;

View File

@ -24,7 +24,6 @@
# Should be an interger value
# Defaults to '10'.
#
class ironic::drivers::ipmi (
$retry_timeout = '10'
) {

View File

@ -21,7 +21,6 @@
# (optional) libvirt URI.
# Defaults to $::os_service_default.
#
class ironic::drivers::ssh (
$libvirt_uri = $::os_service_default,
) {