summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application/parser.rb
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-04-13 15:35:47 -0700
committerNick Lewis <nick@puppetlabs.com>2011-04-13 15:40:18 -0700
commita688461100150d3f4e102e669ece839f8571e14c (patch)
tree5401af36d7e6b0c64e1b057528a0e650bf40da5b /lib/puppet/application/parser.rb
parentaa41b27b8687d15c468a343a6e513de8c524139a (diff)
downloadpuppet-a688461100150d3f4e102e669ece839f8571e14c.tar.gz
puppet-a688461100150d3f4e102e669ece839f8571e14c.tar.xz
puppet-a688461100150d3f4e102e669ece839f8571e14c.zip
(#6928) Add a Parser face with Validate action
This will accept a number of manifests as arguments and check their syntax. If no filenames are specified, it will check the default 'manifest' setting. Paired-With: Jesse Wolfe
Diffstat (limited to 'lib/puppet/application/parser.rb')
-rw-r--r--lib/puppet/application/parser.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/puppet/application/parser.rb b/lib/puppet/application/parser.rb
new file mode 100644
index 000000000..b6ec3c185
--- /dev/null
+++ b/lib/puppet/application/parser.rb
@@ -0,0 +1,5 @@
+require 'puppet/application/face_base'
+require 'puppet/face'
+
+class Puppet::Application::Parser < Puppet::Application::FaceBase
+end