/puppet-glusterfs

Puppet module to manage GlusterFS

MIT LicenseMIT

GlusterFS module for Puppet

Description

This module will help manage both GlusterFS servers and clients.

Usage

Below is a sample class that would setup a GlusterFS server and client on a node.

class glusterhost {
    $username = 'username'
    $password = 'password'

    glusterfs::server::config { gluster:
        username => $username,
        password => $password
    }
    
    glusterfs::client::config { gluster:
        servers => [ "server1", "server2", "server3" ],
        username => $username,
        password => $password
    }
}

It will create the required server and client configs. It will also create an /etc/fstab entry for the client mount. See manifests/server/config.pp and manifests/client/config.pp for the options you can specify.