Unverified Commit 6a560674 authored by samuraiii's avatar samuraiii Committed by Robin H. Johnson
Browse files

to fix # is not a valid atom



to fix error Error: Failed to apply catalog: # is not a valid atom
(cherry picked from commit bf56c8ae72892931f7835e74df2acb6f293c62c7)
Signed-off-by: default avatarRobin H. Johnson <robbat2@gentoo.org>
parent db4f6262
...@@ -9,7 +9,8 @@ Puppet::Type.type(:package_keywords).provide(:parsed, ...@@ -9,7 +9,8 @@ Puppet::Type.type(:package_keywords).provide(:parsed,
) do ) do
desc "The package_keywords provider that uses the ParsedFile class" desc "The package_keywords provider that uses the ParsedFile class"
text_line :comment, :match => /^\s*#/
text_line :blank, :match => /^\s*$/
record_line :parsed, :fields => %w{name keywords}, :joiner => ' ', :rts => true do |line| record_line :parsed, :fields => %w{name keywords}, :joiner => ' ', :rts => true do |line|
Puppet::Provider::PortageFile.process_line(line, :keywords) Puppet::Provider::PortageFile.process_line(line, :keywords)
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment