Commit 70d6c690 authored by Nathan Ward's avatar Nathan Ward
Browse files

Add commented out warning thing

parent 60776231
...@@ -40,11 +40,15 @@ end ...@@ -40,11 +40,15 @@ end
# Set up a default freeradius instance, so we can test other classes which # Set up a default freeradius instance, so we can test other classes which
# require freeradius to exist first # require freeradius to exist first
#
# function warning() allows us to test for warnings being raised, by
# translating it to a notify - though this is not yet working
shared_context 'freeradius_default' do shared_context 'freeradius_default' do
let(:pre_condition) do let(:pre_condition) do
[ [
redhat_params_class, redhat_params_class,
'class { freeradius: }', 'class { freeradius: }',
# 'function warning($message) { notify { "warning_test: ${message}": } }'
] ]
end end
end end
......
Markdown is supported
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