Update enable_l3 param to also accept booleans 92/55592/1
authorDaniel Farrell <dfarrell@redhat.com>
Tue, 2 Feb 2016 20:29:23 +0000 (15:29 -0500)
committerDaniel Farrell <dfarrell@redhat.com>
Wed, 19 Apr 2017 19:18:40 +0000 (15:18 -0400)
commit4d170c8f68334bc1e8c4e0e6569a5b4d259683fd
treec4c2fe881b99eb22dbfb0e459710fdc485d64501
parent13a22e7fe436f8a553df427b036396790d282bd7
Update enable_l3 param to also accept booleans

The enable_l3 param used to simply pass the recieved value
to the template for output, so they had to be the string
'yes' or 'no', as expected by ODL. The template now has
logic for accepting true or 'yes' and writing 'yes' or
false or 'no' and writing 'no.

The rspec-puppet tests, Beaker tests and docs are also updated.

Relevant to #87

Change-Id: I3443f4d3ee6f5a28e4590002636d0333aee954be
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
README.markdown
manifests/init.pp
spec/acceptance/class_spec.rb
spec/classes/opendaylight_spec.rb
spec/spec_helper.rb
spec/spec_helper_acceptance.rb
templates/custom.properties.erb