Ways to simplify configs?

Alan DeKok aland at deployingradius.com
Thu Jul 27 13:46:31 CEST 2017

On Jul 27, 2017, at 6:43 AM, Dan Mahoney, System Admin <danm at prime.gushi.org> wrote:
> Is there some way to condense the config into a few files?  I understand that we want huntgroups and users to be their own things, but my /usr/local/etc/raddb is currently 45 dirs and 215 files.

  You can put almost everything into one file.  The $INCLUDE means "include in place", so you can just do tat with an editor.

  But... your local config probably doesn't actually *use* all of those 45 dirs && 215 files.

> Try putting that in puppet, to push out to several servers.  I'm willing to keep the full tree on my puppet server for editing, but setting that up for deployment is insane.

  Puppet can't push out subdirectories, recursively?  That seems more of a flaw in puppet than anything else.  Unix systems have had subdirectories since 1975 or so...

> Bind, for example, has a tool that will read in a config and output the relevant, well-formatted, includes-processed, bit.

  We're happy to have someone contribute such a tool.

  Alan DeKok.

More information about the Freeradius-Users mailing list