aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormihaibuzgau <mihaibuzgau@users.noreply.github.com>2020-10-06 12:18:06 +0300
committerGitHub <noreply@github.com>2020-10-06 12:18:06 +0300
commitf64d3898b67f631c46f1ca61affd52d687bb6cf5 (patch)
tree4498d2d3ac06d0812fdb7b99ea027bb510120d1a /lib
parent868382132a7e9408dbfd93d79d6436018b9da30d (diff)
parent818e45b24d6fcdc49afe9e188ac761bf60373a31 (diff)
downloadpuppet-sshkeys_core-f64d3898b67f631c46f1ca61affd52d687bb6cf5.tar.gz
puppet-sshkeys_core-f64d3898b67f631c46f1ca61affd52d687bb6cf5.tar.bz2
Merge pull request #38 from Dorin-Pleava/MODULES-10827/alias_title_name
(MODULES-10827) Exported sshkey already exists error
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type/sshkey.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/type/sshkey.rb b/lib/puppet/type/sshkey.rb
index d45c059..6e603a2 100644
--- a/lib/puppet/type/sshkey.rb
+++ b/lib/puppet/type/sshkey.rb
@@ -12,6 +12,8 @@ module Puppet
"#{self[:name]}@#{self[:type]}"
end
+ alias_method :title, :name
+
def self.parameters_to_include
[:name, :type]
end