diff options
author | James Shubin <james@shubin.ca> | 2012-07-26 16:03:52 -0400 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2012-07-26 16:03:52 -0400 |
commit | d079937ce30238fe9c3f89b9bf0700ad7ac6019a (patch) | |
tree | 61ba6780338b639dbe21f1396717037d61ebbf57 | |
parent | 04b30ca4c784e2bfaadeea28f33214e666f1222b (diff) | |
download | puppet-gluster-d079937ce30238fe9c3f89b9bf0700ad7ac6019a.tar.gz puppet-gluster-d079937ce30238fe9c3f89b9bf0700ad7ac6019a.tar.xz puppet-gluster-d079937ce30238fe9c3f89b9bf0700ad7ac6019a.zip |
Split fs dependencies into separate files.
-rw-r--r-- | manifests/brick.pp | 12 | ||||
-rw-r--r-- | manifests/brick/ext4.pp | 23 | ||||
-rw-r--r-- | manifests/brick/xfs.pp | 23 |
3 files changed, 46 insertions, 12 deletions
diff --git a/manifests/brick.pp b/manifests/brick.pp index 819b384..e0b12de 100644 --- a/manifests/brick.pp +++ b/manifests/brick.pp @@ -15,18 +15,6 @@ # 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::xfs { - package { 'xfsprogs': - ensure => present, - } -} - -class gluster::brick::ext4 { - package { 'e2fsprogs': - ensure => present, - } -} - define gluster::brick( $dev, # /dev/sdc, /dev/disk/by-id/scsi-36003048007e14f0014ca2743150a5471 $fsuuid, # set a uuid for this fs diff --git a/manifests/brick/ext4.pp b/manifests/brick/ext4.pp new file mode 100644 index 0000000..3d077f6 --- /dev/null +++ b/manifests/brick/ext4.pp @@ -0,0 +1,23 @@ +# Simple? gluster module by James +# Copyright (C) 2010-2012 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::ext4 { + package { 'e2fsprogs': + ensure => present, + } +} + diff --git a/manifests/brick/xfs.pp b/manifests/brick/xfs.pp new file mode 100644 index 0000000..aa68837 --- /dev/null +++ b/manifests/brick/xfs.pp @@ -0,0 +1,23 @@ +# Simple? gluster module by James +# Copyright (C) 2010-2012 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::xfs { + package { 'xfsprogs': + ensure => present, + } +} + |