summaryrefslogtreecommitdiffstats
path: root/spec/lib/puppet/face/version_matching.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/puppet/face/version_matching.rb')
-rw-r--r--spec/lib/puppet/face/version_matching.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/lib/puppet/face/version_matching.rb b/spec/lib/puppet/face/version_matching.rb
new file mode 100644
index 000000000..bfd0013f7
--- /dev/null
+++ b/spec/lib/puppet/face/version_matching.rb
@@ -0,0 +1,10 @@
+require 'puppet/face'
+
+# The set of versions here are used explicitly in the interface_spec; if you
+# change this you need to ensure that is still correct. --daniel 2011-04-21
+['1.0.0', '1.0.1', '1.1.0', '1.1.1', '2.0.0'].each do |version|
+ Puppet::Face.define(:version_matching, version) do
+ summary "version matching face #{version}"
+ script :version do version end
+ end
+end