Puppet Class: gpfs::ces::config

Defined in:
manifests/ces/config.pp

Summary

Manage GPFS CES config

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'manifests/ces/config.pp', line 3

class gpfs::ces::config {
  assert_private()

  logrotate::rule { 'ganesha':
    path         => '/var/log/ganesha.log',
    compress     => true,
    missingok    => true,
    copytruncate => true,
    dateext      => true,
  }

  logrotate::rule { 'scstadmin':
    path         => '/var/log/scstadmin.log',
    compress     => true,
    missingok    => true,
    copytruncate => true,
    dateext      => true,
  }

  sudo::conf { 'ctdb':
    sudo_file_name => 'ctdb',
    content        => [
      'Defaults!/usr/lpp/mmfs/lib/ctdb/statd-callout   !requiretty',
      'rpcuser         ALL=(ALL)       NOPASSWD: /usr/lpp/mmfs/lib/ctdb/statd-callout',
    ],
  }
}