A Puppet module for PAM Radius authentication.
-
Must be set, globally for the site or locally (to a host):
$radius_servers = [ { rad_server => "172.16.30.4", rad_secret => "azerty", timeout => '3' }, { rad_server => "192.168.1.2", rad_secret => "qwerty", timeout => '1' } ]
This can list just one, or multiple radius servers along with their secrets for PAM to authenticate agaist.
NOTE: Set this variable in your site.pp or somewhere else such that it's available before the template is parsed.
-
And then just reference the module:
include pamradius
So far only tested on CentOS 6, Debian 7/8 (may possibly work elsewhere).
Additional testing is most welcome. If this works for you, please share.