summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Dec <wdec@cisco.com>2017-12-20 20:50:53 +0100
committerWojciech Dec <wdec@cisco.com>2017-12-20 22:01:45 +0100
commitbd0218a8cfd7e66c2fce9a1fd2a46d70fbdc3d77 (patch)
treeb4a9e13d07ebb0ed228e668ffc46c3e7318ee420
parent55c9ca2f20c501209d883d288797d7b25b3ceb4f (diff)
APEX-559 - change setting scope regex
Change-Id: I860b724d6220ca04e30ec883d79001e2e9e024ad Signed-off-by: Wojciech Dec <wdec@cisco.com>
-rw-r--r--lib/puppet/provider/vpp_config/vpp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/vpp_config/vpp.rb b/lib/puppet/provider/vpp_config/vpp.rb
index 767e96d..02fab13 100644
--- a/lib/puppet/provider/vpp_config/vpp.rb
+++ b/lib/puppet/provider/vpp_config/vpp.rb
@@ -18,7 +18,7 @@ Puppet::Type.type(:vpp_config).provide(:vpp) do
if @dev
@search_regex = /^\s*dev\s+#{@dev}\s*{([^}]*)}?/
else
- @search_regex = /^\s*#{@real_setting}\s+(\S+)?/
+ @search_regex = /^\s*#{@real_setting}\s*(\S+)?$/
end
end