From 93815a9e4a4a953239d10eafada533aee16e9038 Mon Sep 17 00:00:00 2001 From: Nate Mueller Date: Wed, 27 Jul 2011 19:28:23 -0700 Subject: Add an identity param, respected by the git provider, to use a non-standard ssh identity file --- lib/puppet/type/vcsrepo.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/puppet/type/vcsrepo.rb') diff --git a/lib/puppet/type/vcsrepo.rb b/lib/puppet/type/vcsrepo.rb index 9637ec5..6b35779 100644 --- a/lib/puppet/type/vcsrepo.rb +++ b/lib/puppet/type/vcsrepo.rb @@ -18,6 +18,9 @@ Puppet::Type.newtype(:vcsrepo) do "The provider supports tracking revision references that can change over time (eg, some VCS tags and branch names)" + feature :ssh_identity, + "The provider supports a configurable SSH identity file" + ensurable do attr_accessor :latest @@ -133,4 +136,7 @@ Puppet::Type.newtype(:vcsrepo) do end end + newparam :identity, :required_features => [:ssh_identity] do + desc "SSH identity file" + end end -- cgit v1.2.3