Puppet Class: stingray::params

Inherited by:
stingray
Defined in:
manifests/params.pp

Overview

Class: params

This class contains default parameters used during Stingray installation.

Authors

Faisal Memon <fmemon@riverbed.com>

Copyright 2013 Riverbed Technology



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'manifests/params.pp', line 14

class stingray::params {

    $accept_license     = 'reject'
    $version            = '9.1'
    $install_dir        = '/usr/local/stingray'
    $tmp_dir            = '/tmp'
    $admin_username     = 'admin'
    $admin_password     = 'password'
    $license_key        = ''

    case $::architecture {
        'amd64', 'x86_64':{
            $stm_arch = 'x86_64'
        }
        'i386', 'x86': {
            $stm_arch = 'x86'
        }
        default: {
            fail('Unsupported architecture')
        }
    }

}