Class glusterfs::server
In: /modules/glusterfs/manifests/server.pp
Parent:

Class: glusterfs::server

GlusterFS Server.

Parameters:

 $peers:
   Array of peer IP addresses to be added. Default: empty

Sample Usage :

 class { 'glusterfs::server':
     peers => $::hostname ? {
         'server1' => '192.168.0.2',
         'server2' => '192.168.0.1',
     },
 }

Resources

Resources

Glusterfs::Peer[$peers]

Peers

Package["glusterfs-server"]
   ensure => installed

Main package and service it provides

Service["glusterd"]
   enable => true
   ensure => running
   hasstatus => true
   require => Package["glusterfs-server"]

[Validate]