summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/interface')
-rw-r--r--lib/puppet/interface/catalog.rb4
-rw-r--r--lib/puppet/interface/catalog/select.rb4
-rw-r--r--lib/puppet/interface/certificate.rb4
-rw-r--r--lib/puppet/interface/certificate_request.rb4
-rw-r--r--lib/puppet/interface/certificate_revocation_list.rb4
-rw-r--r--lib/puppet/interface/facts.rb10
-rw-r--r--lib/puppet/interface/file_bucket_file.rb4
-rw-r--r--lib/puppet/interface/inventory.rb4
-rw-r--r--lib/puppet/interface/key.rb4
-rw-r--r--lib/puppet/interface/node.rb4
-rw-r--r--lib/puppet/interface/report.rb4
-rw-r--r--lib/puppet/interface/resource_type.rb4
-rw-r--r--lib/puppet/interface/status.rb4
13 files changed, 58 insertions, 0 deletions
diff --git a/lib/puppet/interface/catalog.rb b/lib/puppet/interface/catalog.rb
new file mode 100644
index 000000000..23e2b9cf5
--- /dev/null
+++ b/lib/puppet/interface/catalog.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Catalog < Puppet::Interface
+end
diff --git a/lib/puppet/interface/catalog/select.rb b/lib/puppet/interface/catalog/select.rb
new file mode 100644
index 000000000..6311a4a74
--- /dev/null
+++ b/lib/puppet/interface/catalog/select.rb
@@ -0,0 +1,4 @@
+# Select and show a list of resources of a given type.
+Puppet::Interface::Catalog.action :select do |*args|
+ puts "Selecting #{args.inspect}"
+end
diff --git a/lib/puppet/interface/certificate.rb b/lib/puppet/interface/certificate.rb
new file mode 100644
index 000000000..51e46c46b
--- /dev/null
+++ b/lib/puppet/interface/certificate.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Certificate < Puppet::Interface
+end
diff --git a/lib/puppet/interface/certificate_request.rb b/lib/puppet/interface/certificate_request.rb
new file mode 100644
index 000000000..30ba5583a
--- /dev/null
+++ b/lib/puppet/interface/certificate_request.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Certificate_request < Puppet::Interface
+end
diff --git a/lib/puppet/interface/certificate_revocation_list.rb b/lib/puppet/interface/certificate_revocation_list.rb
new file mode 100644
index 000000000..55a693918
--- /dev/null
+++ b/lib/puppet/interface/certificate_revocation_list.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Certificate_revocation_list < Puppet::Interface
+end
diff --git a/lib/puppet/interface/facts.rb b/lib/puppet/interface/facts.rb
new file mode 100644
index 000000000..411416710
--- /dev/null
+++ b/lib/puppet/interface/facts.rb
@@ -0,0 +1,10 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Facts < Puppet::Interface
+ # Upload our facts to the server
+ action(:upload) do |*args|
+ Puppet::Node::Facts.indirection.terminus_class = :facter
+ Puppet::Node::Facts.indirection.cache_class = :rest
+ Puppet::Node::Facts.indirection.find(Puppet[:certname])
+ end
+end
diff --git a/lib/puppet/interface/file_bucket_file.rb b/lib/puppet/interface/file_bucket_file.rb
new file mode 100644
index 000000000..f34ebc4c4
--- /dev/null
+++ b/lib/puppet/interface/file_bucket_file.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::File_bucket_file < Puppet::Interface
+end
diff --git a/lib/puppet/interface/inventory.rb b/lib/puppet/interface/inventory.rb
new file mode 100644
index 000000000..7521239d5
--- /dev/null
+++ b/lib/puppet/interface/inventory.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Inventory < Puppet::Interface
+end
diff --git a/lib/puppet/interface/key.rb b/lib/puppet/interface/key.rb
new file mode 100644
index 000000000..38f92c66b
--- /dev/null
+++ b/lib/puppet/interface/key.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Key < Puppet::Interface
+end
diff --git a/lib/puppet/interface/node.rb b/lib/puppet/interface/node.rb
new file mode 100644
index 000000000..68e30698e
--- /dev/null
+++ b/lib/puppet/interface/node.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Node < Puppet::Interface
+end
diff --git a/lib/puppet/interface/report.rb b/lib/puppet/interface/report.rb
new file mode 100644
index 000000000..72f1285ea
--- /dev/null
+++ b/lib/puppet/interface/report.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Report < Puppet::Interface
+end
diff --git a/lib/puppet/interface/resource_type.rb b/lib/puppet/interface/resource_type.rb
new file mode 100644
index 000000000..619a4914b
--- /dev/null
+++ b/lib/puppet/interface/resource_type.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Resource_type < Puppet::Interface
+end
diff --git a/lib/puppet/interface/status.rb b/lib/puppet/interface/status.rb
new file mode 100644
index 000000000..cdb1623ac
--- /dev/null
+++ b/lib/puppet/interface/status.rb
@@ -0,0 +1,4 @@
+require 'puppet/interface'
+
+class Puppet::Interface::Status < Puppet::Interface
+end