diff options
author | James Shubin <james@shubin.ca> | 2014-04-07 00:43:04 -0400 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2014-05-07 12:52:05 -0400 |
commit | 32fdb618625f011b7d7387428520441a91321e0e (patch) | |
tree | 15af96f12b7c2920364bc1505b11bf31ea41c066 /manifests/host.pp | |
parent | 36ee0ebd22c3ccd55a9544b96c0cbfcbf70b153b (diff) | |
download | puppet-gluster-32fdb618625f011b7d7387428520441a91321e0e.tar.gz puppet-gluster-32fdb618625f011b7d7387428520441a91321e0e.tar.xz puppet-gluster-32fdb618625f011b7d7387428520441a91321e0e.zip |
Pull operating system specific data from yaml files.
This patch includes package names.
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 3 |
1 files changed, 2 insertions, 1 deletions
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= |