Defined Type: stingray::permission_group

Defined in:
manifests/permission_group.pp

Overview

Define: permission_group

Create a permission group. Permission Groups are used to restrict what users can do in the SteelApp Traffic Manager.

Parameters

application_firewall
  • wizard

You can set access rights to each page within Stingray, and the various features on that page, by setting the appropriate flag for the current group. Flag settings can be:

- 'none' (for no access at all)
- 'ro' (for permission to view the data but make no changes)
- 'full' (for full rights to view and change data)

The default value for each page is ‘ro’ (read only).

timeout

Timeout (in minutes) the login after a period of inactivity. A value of ‘0’ means never time out. The default value is ‘30’ minutes.

password_expire_time

Members of this group must renew their passwords after this number of days. To disable password expiry for the group set this to 0 (zero). Note that this setting applies only to local users. The default value is ‘0’.

Examples

stingray::permission_group { 'My Group':
    persistence => 'full',
    rules => 'none'
}

Authors

Faisal Memon <fmemon@riverbed.com>

Copyright 2014 Riverbed Technology

Parameters:

  • application_firewall (Any) (defaults to: 'ro')
  • alerting (Any) (defaults to: 'ro')
  • aptimizer (Any) (defaults to: 'ro')
  • audit_log (Any) (defaults to: 'ro')
  • authenticators (Any) (defaults to: 'ro')
  • backup (Any) (defaults to: 'ro')
  • bandwidth (Any) (defaults to: 'ro')
  • catalog (Any) (defaults to: 'ro')
  • cloud_credentials (Any) (defaults to: 'ro')
  • config_summary (Any) (defaults to: 'ro')
  • connections (Any) (defaults to: 'ro')
  • custom (Any) (defaults to: 'ro')
  • diagnose (Any) (defaults to: 'ro')
  • draining (Any) (defaults to: 'ro')
  • event_log (Any) (defaults to: 'ro')
  • extra_files (Any) (defaults to: 'ro')
  • glb_services (Any) (defaults to: 'ro')
  • global_settings (Any) (defaults to: 'ro')
  • help (Any) (defaults to: 'ro')
  • java (Any) (defaults to: 'ro')
  • license_keys (Any) (defaults to: 'ro')
  • locations (Any) (defaults to: 'ro')
  • log_viewer (Any) (defaults to: 'ro')
  • main_index (Any) (defaults to: 'ro')
  • map (Any) (defaults to: 'ro')
  • monitoring (Any) (defaults to: 'ro')
  • monitors (Any) (defaults to: 'ro')
  • persistence (Any) (defaults to: 'ro')
  • pools (Any) (defaults to: 'ro')
  • rate (Any) (defaults to: 'ro')
  • reboot (Any) (defaults to: 'ro')
  • request_logs (Any) (defaults to: 'ro')
  • restart (Any) (defaults to: 'ro')
  • rules (Any) (defaults to: 'ro')
  • slm (Any) (defaults to: 'ro')
  • snmp (Any) (defaults to: 'ro')
  • soap_api (Any) (defaults to: 'none')
  • ssl (Any) (defaults to: 'ro')
  • security (Any) (defaults to: 'ro')
  • service_protection (Any) (defaults to: 'ro')
  • shutdown (Any) (defaults to: 'ro')
  • statd (Any) (defaults to: 'ro')
  • steelhead (Any) (defaults to: 'ro')
  • support (Any) (defaults to: 'ro')
  • support_files (Any) (defaults to: 'ro')
  • traffic_ip_groups (Any) (defaults to: 'ro')
  • traffic_managers (Any) (defaults to: 'ro')
  • virtual_servers (Any) (defaults to: 'ro')
  • users (Any) (defaults to: 'ro')
  • web_cache (Any) (defaults to: 'ro')
  • wizard (Any) (defaults to: 'ro')
  • timeout (Any) (defaults to: 30)
  • password_expire_time (Any) (defaults to: 0)


43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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
104
105
106
107
108
# File 'manifests/permission_group.pp', line 43

define stingray::permission_group(
  $application_firewall = 'ro',
  $alerting             = 'ro',
  $aptimizer            = 'ro',
  $audit_log            = 'ro',
  $authenticators       = 'ro',
  $backup               = 'ro',
  $bandwidth            = 'ro',
  $catalog              = 'ro',
  $cloud_credentials    = 'ro',
  $config_summary       = 'ro',
  $connections          = 'ro',
  $custom               = 'ro',
  $diagnose             = 'ro',
  $draining             = 'ro',
  $event_log            = 'ro',
  $extra_files          = 'ro',
  $glb_services         = 'ro',
  $global_settings      = 'ro',
  $help                 = 'ro',
  $java                 = 'ro',
  $license_keys         = 'ro',
  $locations            = 'ro',
  $log_viewer           = 'ro',
  $main_index           = 'ro',
  $map                  = 'ro',
  $monitoring           = 'ro',
  $monitors             = 'ro',
  $persistence          = 'ro',
  $pools                = 'ro',
  $rate                 = 'ro',
  $reboot               = 'ro',
  $request_logs         = 'ro',
  $restart              = 'ro',
  $rules                = 'ro',
  $slm                  = 'ro',
  $snmp                 = 'ro',
  $soap_api             = 'none',
  $ssl                  = 'ro',
  $security             = 'ro',
  $service_protection   = 'ro',
  $shutdown             = 'ro',
  $statd                = 'ro',
  $steelhead            = 'ro',
  $support              = 'ro',
  $support_files        = 'ro',
  $traffic_ip_groups    = 'ro',
  $traffic_managers     = 'ro',
  $virtual_servers      = 'ro',
  $users                = 'ro',
  $web_cache            = 'ro',
  $wizard               = 'ro',
  $timeout              = 30,
  $password_expire_time = 0
) {
  include stingray

  $path = $stingray::install_dir

  info ("Configuring group ${name}")
  file { "${path}/zxtm/conf/groups/${name}":
    content => template ('stingray/groups.erb'),
    require => [ Exec['new_stingray_cluster'], ],
    notify  => Exec['replicate_config']
  }
}