summaryrefslogtreecommitdiffstats
path: root/manifests/repo.pp
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-01-21 05:02:58 -0500
committerJames Shubin <james@shubin.ca>2014-01-21 10:46:34 -0500
commit51fea724f4b606326489636a0ffb7e9673600f9b (patch)
tree5d9fc128b49fc08316b72416c6b36fc7d8e9ab98 /manifests/repo.pp
parentbee4993d4304730da27424dbdc73819b99d8ab5b (diff)
downloadpuppet-gluster-51fea724f4b606326489636a0ffb7e9673600f9b.tar.gz
puppet-gluster-51fea724f4b606326489636a0ffb7e9673600f9b.tar.xz
puppet-gluster-51fea724f4b606326489636a0ffb7e9673600f9b.zip
Add client mounting and associated magic.
* Rename gluster::client to gluster::mount * Add support to gluster::mount * Add client machines and mounts to vagrant setup * Fixed version interface for gluster::mount and gluster::server * Improved firewall support for gluster::mount * Update examples to use gluster::mount instead of gluster::client * Update documentation * Other small fixes
Diffstat (limited to 'manifests/repo.pp')
-rw-r--r--manifests/repo.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/repo.pp b/manifests/repo.pp
index ca5cecf..3c45ee0 100644
--- a/manifests/repo.pp
+++ b/manifests/repo.pp
@@ -15,7 +15,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-class gluster::repo(
+define gluster::repo(
# if you specify 'x.y', it will find the latest x.y.*
# if you specify 'x.y.z', it will stick to that version
# anything omitted is taken to mean "latest"
@@ -96,7 +96,7 @@ class gluster::repo(
include ::yum
#yum::repos::repo { "gluster-${arch}":
- yum::repos::repo { 'gluster':
+ yum::repos::repo { "${name}":
baseurl => "${base_arch}${arch}/",
enabled => true,
gpgcheck => true,