Puppet Class: manila::share::generic

Defined in:
manifests/share/generic.pp

Overview

Parameters:

  • driver_handles_share_servers (Any)
  • smb_template_config_path (Any) (defaults to: '$state_path/smb.conf')
  • volume_name_template (Any) (defaults to: 'manila-share-%s')
  • volume_snapshot_name_template (Any) (defaults to: 'manila-snapshot-%s')
  • share_mount_path (Any) (defaults to: '/shares')
  • max_time_to_create_volume (Any) (defaults to: 180)
  • max_time_to_attach (Any) (defaults to: 120)
  • service_instance_smb_config_path (Any) (defaults to: '$share_mount_path/smb.conf')
  • share_volume_fstype (Any) (defaults to: 'ext4')
  • share_helpers (Any) (defaults to: ['CIFS=manila.share.drivers.helpers.CIFSHelperIPAccess', 'NFS=manila.share.drivers.helpers.NFSHelper'])
  • cinder_volume_type (Any) (defaults to: undef)
  • delete_share_server_with_last_share (Any) (defaults to: 'False')
  • unmanage_remove_access_rules (Any) (defaults to: 'False')
  • automatic_share_server_cleanup (Any) (defaults to: 'True')


69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'manifests/share/generic.pp', line 69

class manila::share::generic (
  $driver_handles_share_servers,
  $smb_template_config_path            = '$state_path/smb.conf',
  $volume_name_template                = 'manila-share-%s',
  $volume_snapshot_name_template       = 'manila-snapshot-%s',
  $share_mount_path                    = '/shares',
  $max_time_to_create_volume           = 180,
  $max_time_to_attach                  = 120,
  $service_instance_smb_config_path    = '$share_mount_path/smb.conf',
  $share_volume_fstype                 = 'ext4',
  $share_helpers = ['CIFS=manila.share.drivers.helpers.CIFSHelperIPAccess',
                    'NFS=manila.share.drivers.helpers.NFSHelper'],
  $cinder_volume_type                  = undef,
  $delete_share_server_with_last_share = 'False',
  $unmanage_remove_access_rules        = 'False',
  $automatic_share_server_cleanup      = 'True',
) {

  manila::backend::generic { 'DEFAULT':
    driver_handles_share_servers        => $driver_handles_share_servers,
    smb_template_config_path            => $smb_template_config_path,
    volume_name_template                => $volume_name_template,
    volume_snapshot_name_template       => $volume_snapshot_name_template,
    share_mount_path                    => $share_mount_path,
    max_time_to_create_volume           => $max_time_to_create_volume,
    max_time_to_attach                  => $max_time_to_attach,
    service_instance_smb_config_path    => $service_instance_smb_config_path,
    share_helpers                       => $share_helpers,
    share_volume_fstype                 => $share_volume_fstype,
    cinder_volume_type                  => $cinder_volume_type,
    delete_share_server_with_last_share => $delete_share_server_with_last_share,
    unmanage_remove_access_rules        => $unmanage_remove_access_rules,
    automatic_share_server_cleanup      => $automatic_share_server_cleanup,
  }
}