From 6c962083d8b100dcaeb6f11dbe61e6071f3d13f0 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 6 May 2014 11:50:41 -0400 Subject: Add btrfs support. This patch adds btrfs support to puppet-gluster. This is not (yet) officially supported by GlusterFS but should work. It is being added here to make it easier to test with GlusterFS and report bugs. Special thanks to Eric Sandeen for adding --uuid support to mkfs.btrfs: https://bugzilla.redhat.com/show_bug.cgi?id=1094857 Tracker bug for this feature is: https://bugzilla.redhat.com/show_bug.cgi?id=1094860 --- manifests/brick/btrfs.pp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 manifests/brick/btrfs.pp (limited to 'manifests/brick') diff --git a/manifests/brick/btrfs.pp b/manifests/brick/btrfs.pp new file mode 100644 index 0000000..94232b3 --- /dev/null +++ b/manifests/brick/btrfs.pp @@ -0,0 +1,27 @@ +# GlusterFS module by James +# Copyright (C) 2010-2013+ James Shubin +# Written by James Shubin +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +class gluster::brick::btrfs { + + include gluster::params + + package { "${::gluster::params::package_btrfsprogs}": + ensure => present, + } +} + +# vim: ts=8 -- cgit