summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast/leaf.rb
diff options
context:
space:
mode:
authorlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2006-03-31 23:33:17 +0000
committerlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2006-03-31 23:33:17 +0000
commitc7ae8396c420f862cda8f6121e505473abfd3e64 (patch)
treeeb6a16b9ff5750c5fff078ce8795f548e676fb8f /lib/puppet/parser/ast/leaf.rb
parent9b1e8d55363aa67e9e981b7977ed6eded8026b68 (diff)
downloadpuppet-c7ae8396c420f862cda8f6121e505473abfd3e64.tar.gz
puppet-c7ae8396c420f862cda8f6121e505473abfd3e64.tar.xz
puppet-c7ae8396c420f862cda8f6121e505473abfd3e64.zip
Manifests can now specify node names with fully qualified domain names, too.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1047 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/ast/leaf.rb')
-rw-r--r--lib/puppet/parser/ast/leaf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/parser/ast/leaf.rb b/lib/puppet/parser/ast/leaf.rb
index b0f9cca04..eeeee45fd 100644
--- a/lib/puppet/parser/ast/leaf.rb
+++ b/lib/puppet/parser/ast/leaf.rb
@@ -69,6 +69,9 @@ class Puppet::Parser::AST
# Lower-case words.
class Name < AST::Leaf; end
+ # Host names, either fully qualified or just the short name
+ class HostName < AST::Leaf; end
+
# A simple variable. This object is only used during interpolation;
# the VarDef class is used for assignment.
class Variable < Name