summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/puppet/config.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/config.rb b/lib/puppet/config.rb
index 3c76a623f..c41c6318c 100644
--- a/lib/puppet/config.rb
+++ b/lib/puppet/config.rb
@@ -299,7 +299,7 @@ class Config
case value
when true, false, "true", "false":
klass = CBoolean
- when /^\$/, /^\//:
+ when /^\$\w+\//, /^\//:
klass = CFile
when String, Integer, Float: # nothing
klass = CElement
@@ -823,7 +823,7 @@ Generated on #{Time.now}.
obj[:loglevel] = "debug"
if self.section
- obj.tags = ["puppet", "configuration", self.section]
+ obj.tags += ["puppet", "configuration", self.section, self.name]
end
objects << obj
objects