summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application/plugin.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-05-03 13:41:57 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-05-03 14:54:33 -0700
commitbb889bf287f702e822d384f74af52fe2604ca37f (patch)
tree8c3172006e9159b5431324a6caa2426da4f09104 /lib/puppet/application/plugin.rb
parent5490f7aee19f477914520f0735858f58136122e4 (diff)
downloadpuppet-bb889bf287f702e822d384f74af52fe2604ca37f.tar.gz
puppet-bb889bf287f702e822d384f74af52fe2604ca37f.tar.xz
puppet-bb889bf287f702e822d384f74af52fe2604ca37f.zip
(#7276) Create a plugin face application.
We need a boilerplate application file and class to expose a face on the command line; this adds that for the plugin face, to expose it to users. Based on work by Luke Kaines <luke@puppetlabs.com> in https://github.com/lak/puppet/commit/a61cc770ca9b2cad744b5b21b9776a834d6ca895 Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>
Diffstat (limited to 'lib/puppet/application/plugin.rb')
-rw-r--r--lib/puppet/application/plugin.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/application/plugin.rb b/lib/puppet/application/plugin.rb
new file mode 100644
index 000000000..2d0402e43
--- /dev/null
+++ b/lib/puppet/application/plugin.rb
@@ -0,0 +1,3 @@
+require 'puppet/application/face_base'
+class Puppet::Application::Plugin < Puppet::Application::FaceBase
+end