Comments (3)
I'm not using this module at the moment so I can't actually test, but it looks like this exception is already handled in the code:
# manifests/module/ldap.pp
$serverarray = any2array($server)
unless is_array($serverarray) {
fail('$server must be an array of hostnames or IP addresses')
}
# FR3.0 format server = 'ldap1.example.com, ldap1.example.com, ldap1.example.com'
# FR3.1 format server = 'ldap1.example.com'
# server = 'ldap2.example.com'
# server = 'ldap3.example.com'
$serverconcatarray = $::freeradius_version ? {
/^3\.0\./ => any2array(join($serverarray, ',')),
default => $serverarray,
}
Can you please confirm which version of FreeRADIUS you are running, and also what the fact $::freeradius_version
resolves to on your system?
from puppet-freeradius.
Hi,
in stretch, it's only available the 3.0 version ( 3.0.12+dfsg-5+deb9u1 to be exact)
from puppet-freeradius.
from puppet-freeradius.
Related Issues (20)
- freeradius_version fact rspec
- Release.. v4? HOT 18
- Rename "master" to "main" HOT 5
- Move params logic to hiera data HOT 1
- Puppetlabs/firewall module dependency HOT 7
- detail module template has the same error as FreeRADIUS example HOT 4
- can't deploy cert files HOT 2
- Make DH parameters optional HOT 3
- Rework manifests to enable OS-independent testing HOT 1
- Config templates per version
- Missing configuration of trigger.conf Freeradius trap notification
- ldap update section broken
- Update PDK to 3.0.0
- Inconsistent use of variables like $freeradius::fr_version or freeradius::params::fr_version HOT 1
- Outstanding PDK warnings
- Review and tidy up param types
- Documentation style
- Module creates duplicated logrotate entries on Debian
- Firewall module needs "jump" rather than "action" HOT 1
- Unable to install on an Agent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-freeradius.