Loading README.md +9 −7 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ of the global settings to increase flexibility. Patches are welcome. * `utils_support` Install FreeRADIUS utils. Default: `false` * `ldap_support` Install support for LDAP. Default: `false` * `wpa_supplicant`. Install wpa_supplicant utility. Default: `false` * `winbind_support`. Add the radius user to the winbind privileged group. You must install winbind separately. Default: `false`. ```puppet class { 'freeradius': Loading @@ -60,6 +61,7 @@ class { 'freeradius': perl_support => true, utils_support => true, wpa_supplicant => true, winbind_support => true, } ``` Loading manifests/init.pp +14 −13 Original line number Diff line number Diff line Loading @@ -8,10 +8,9 @@ class freeradius ( $utils_support = false, $ldap_support = false, $wpa_supplicant = false, $winbind_support = false, ) inherits freeradius::params { include samba file { 'radiusd.conf': name => "${fr_basepath}/radiusd.conf", mode => '0640', Loading Loading @@ -122,7 +121,6 @@ class freeradius ( File['radiusd.conf'], User['radiusd'], Package[$fr_package], Service['winbind'] ], enable => true, hasstatus => true, Loading @@ -134,8 +132,11 @@ class freeradius ( ensure => present, uid => '95', gid => 'radiusd', groups => 'wbpriv', require => Package[$fr_package, 'samba-winbind'], groups => $winbind_support ? { true => $fr_wbpriv_user, default => undef, }, require => Package[$fr_package], } # Install a few modules required on all FR installations Loading manifests/params.pp +7 −0 Original line number Diff line number Diff line Loading @@ -49,4 +49,11 @@ class freeradius::params { 'Debian' => 'freerad', default => 'radiusd', } # Privileged winbind user $fr_wbpriv_user = $::osfamily ? { 'RedHat' => 'wbpriv', 'Debian' => 'winbindd_priv', default => 'wbpriv', } } Loading
README.md +9 −7 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ of the global settings to increase flexibility. Patches are welcome. * `utils_support` Install FreeRADIUS utils. Default: `false` * `ldap_support` Install support for LDAP. Default: `false` * `wpa_supplicant`. Install wpa_supplicant utility. Default: `false` * `winbind_support`. Add the radius user to the winbind privileged group. You must install winbind separately. Default: `false`. ```puppet class { 'freeradius': Loading @@ -60,6 +61,7 @@ class { 'freeradius': perl_support => true, utils_support => true, wpa_supplicant => true, winbind_support => true, } ``` Loading
manifests/init.pp +14 −13 Original line number Diff line number Diff line Loading @@ -8,10 +8,9 @@ class freeradius ( $utils_support = false, $ldap_support = false, $wpa_supplicant = false, $winbind_support = false, ) inherits freeradius::params { include samba file { 'radiusd.conf': name => "${fr_basepath}/radiusd.conf", mode => '0640', Loading Loading @@ -122,7 +121,6 @@ class freeradius ( File['radiusd.conf'], User['radiusd'], Package[$fr_package], Service['winbind'] ], enable => true, hasstatus => true, Loading @@ -134,8 +132,11 @@ class freeradius ( ensure => present, uid => '95', gid => 'radiusd', groups => 'wbpriv', require => Package[$fr_package, 'samba-winbind'], groups => $winbind_support ? { true => $fr_wbpriv_user, default => undef, }, require => Package[$fr_package], } # Install a few modules required on all FR installations Loading
manifests/params.pp +7 −0 Original line number Diff line number Diff line Loading @@ -49,4 +49,11 @@ class freeradius::params { 'Debian' => 'freerad', default => 'radiusd', } # Privileged winbind user $fr_wbpriv_user = $::osfamily ? { 'RedHat' => 'wbpriv', 'Debian' => 'winbindd_priv', default => 'wbpriv', } }