From 32fdb618625f011b7d7387428520441a91321e0e Mon Sep 17 00:00:00 2001 From: James Shubin Date: Mon, 7 Apr 2014 00:43:04 -0400 Subject: Pull operating system specific data from yaml files. This patch includes package names. --- manifests/host.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests/host.pp') diff --git a/manifests/host.pp b/manifests/host.pp index 4e39790..b28be83 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -25,6 +25,7 @@ define gluster::host( $password = '' # if empty, puppet will attempt to choose one magically ) { include gluster::vardir + include gluster::params #$vardir = $::gluster::vardir::module_vardir # with trailing slash $vardir = regsubst($::gluster::vardir::module_vardir, '\/$', '') @@ -169,7 +170,7 @@ define gluster::host( # NOTE: it's possible the cycle is a bug in puppet or a # bug in the dependencies somewhere else in this module. #require => File['/var/lib/glusterd/peers/'], - require => Package['glusterfs-server'], + require => Package["${::gluster::params::package_glusterfs_server}"], } # set state= -- cgit