summaryrefslogtreecommitdiffstats
path: root/spec/lib/puppet/face/version_matching.rb
blob: bfdf5e36e167a4237c8056e7e742571b78a21a5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
    copyright "Puppet Labs", 2011
    license   "Apache 2 license; see COPYING"
    summary "version matching face #{version}"
    script :version do |options| version end
  end
end