aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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