From dcda81db3eb61bdf69751ce6963b564abf7b7e0c Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Sun, 17 Sep 2017 22:47:51 -0400 Subject: Add vhost-user configurations This patch adds capability for configuring the following options in vhost-user section: - coalesce-frames - coalesce-time - dont-dump-memory JIRA: PUP-8 Change-Id: I906e7d3c937d2f1133e2bfc0838c16063b535b87 Signed-off-by: Feng Pan --- lib/puppet/type/vpp_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/type/vpp_config.rb') diff --git a/lib/puppet/type/vpp_config.rb b/lib/puppet/type/vpp_config.rb index 17c910f..bfb511b 100644 --- a/lib/puppet/type/vpp_config.rb +++ b/lib/puppet/type/vpp_config.rb @@ -7,7 +7,7 @@ Puppet::Type.newtype(:vpp_config) do newproperty(:value) do munge do |value| - value.strip if value.is_a? String + value.to_s.strip end end -- cgit 1.2.3-korg