Commit e5c82842 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Purge all non-managed clients

parent fa4f7611
......@@ -24,7 +24,6 @@ class freeradius (
# Create various directories
file { [
"${freeradius::fr_basepath}/clients.d",
"${freeradius::fr_basepath}/statusclients.d",
$freeradius::fr_basepath,
"${freeradius::fr_basepath}/instantiate",
......@@ -43,8 +42,11 @@ class freeradius (
notify => Service[$freeradius::fr_service],
}
# Create cert directory separately so we can set purge option
file { "${freeradius::fr_basepath}/certs":
# Create these directories separately so we can set purge option
file { [
"${freeradius::fr_basepath}/certs",
"${freeradius::fr_basepath}/clients.d",
]:
ensure => directory,
purge => true,
recurse => true,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment