Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
2d8c0c3a
Commit
2d8c0c3a
authored
Oct 06, 2015
by
Jonathan Gazeley
Browse files
Template name of SQL query file
parent
a4000890
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/sql.pp
View file @
2d8c0c3a
...
...
@@ -89,8 +89,13 @@ define freeradius::sql (
}
# Install custom query file
$queryfile
=
$::freeradius_version
?
{
/^2
\.
/
=>
"
${fr_basepath}
/sql/
${database}
/dialup.conf"
,
/^3
\.
/
=>
"
${fr_basepath}
/sql/queries.conf"
,
default
=>
"
${fr_basepath}
/sql/queries.conf"
,
}
if
(
$custom_query_file
)
{
file
{
"
${fr_basepath}
/sql/
${database}
/dialup.conf"
:
file
{
$queryfile
:
ensure
=>
$ensure
,
mode
=>
'0640'
,
owner
=>
'root'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment