'=' characters should be allowed in this config format too
This commit is contained in:
parent
df563f1201
commit
dbe6b6333b
|
@ -20,7 +20,7 @@ Puppet::Type.type(:nova_config).provide(
|
|||
:match => /(.*)/ ,
|
||||
:post_parse => proc { |hash|
|
||||
Puppet.debug("nova config line:#{hash[:line]} has been parsed")
|
||||
if hash[:line] =~ /^\s*(\S+)\s*=\s*([\S ]+?)\s*$/
|
||||
if hash[:line] =~ /^\s*(\S+?)\s*=\s*([\S ]+?)\s*$/
|
||||
hash[:name]=$1
|
||||
hash[:value]=$2
|
||||
elsif hash[:line] =~ /^\s*(\S+)\s*$/
|
||||
|
|
Loading…
Reference in New Issue