Method: Racadm.role_to_s
- Defined in:
- lib/puppet_x/racadm/racadm.rb
.role_to_s(value) ⇒ Object
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/puppet_x/racadm/racadm.rb', line 94 def self.role_to_s(value) case value when 'none' '0' when 'callback' '1' when 'user' '2' when 'operator' '3' when 'administrator' '4' when 'oem_proprietary' '5' when 'no_access' '15' end end |