Commit bdfdb09a authored by Nathan Ward's avatar Nathan Ward
Browse files

Add commented out warning thing

parent d2c3bda5
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -40,11 +40,15 @@ end

# Set up a default freeradius instance, so we can test other classes which
# 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
  let(:pre_condition) do
    [
      redhat_params_class,
      'class { freeradius: }'
      'class { freeradius: }',
      # 'function warning($message) { notify { "warning_test: ${message}": } }'
    ]
  end
end