summaryrefslogtreecommitdiffstats
path: root/manifests/brick
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-05-06 11:50:41 -0400
committerJames Shubin <james@shubin.ca>2014-09-26 13:27:09 -0400
commit6c962083d8b100dcaeb6f11dbe61e6071f3d13f0 (patch)
treea7d7363ebc83ab9f5947ca3e42d5856b13edeb4c /manifests/brick
parentb00516e42f5e7532700a719df8248b272b544030 (diff)
downloadpuppet-gluster-6c962083d8b100dcaeb6f11dbe61e6071f3d13f0.tar.gz
puppet-gluster-6c962083d8b100dcaeb6f11dbe61e6071f3d13f0.tar.xz
puppet-gluster-6c962083d8b100dcaeb6f11dbe61e6071f3d13f0.zip
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
Diffstat (limited to 'manifests/brick')
-rw-r--r--manifests/brick/btrfs.pp27
1 files changed, 27 insertions, 0 deletions
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 <james@shubin.ca>
+#
+# 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 <http://www.gnu.org/licenses/>.
+
+class gluster::brick::btrfs {
+
+ include gluster::params
+
+ package { "${::gluster::params::package_btrfsprogs}":
+ ensure => present,
+ }
+}
+
+# vim: ts=8