Remove reference to ssh keys
Swift does not need to have keys. This commit removes the ssh keys.
This commit is contained in:
parent
2dbcf740df
commit
954e6c0357
@ -7,9 +7,6 @@
|
|||||||
# [*package_ensure*] The ensure state for the swift package.
|
# [*package_ensure*] The ensure state for the swift package.
|
||||||
# Optional. Defaults to present.
|
# Optional. Defaults to present.
|
||||||
#
|
#
|
||||||
# [*swift_ssh_key*] NOT YET IMPLEMENTED. I am not entirely sure what
|
|
||||||
# this key is intended to be used for.
|
|
||||||
#
|
|
||||||
# == Dependencies
|
# == Dependencies
|
||||||
#
|
#
|
||||||
# Class['ssh::server::install']
|
# Class['ssh::server::install']
|
||||||
@ -24,11 +21,9 @@
|
|||||||
#
|
#
|
||||||
class swift(
|
class swift(
|
||||||
$swift_hash_suffix,
|
$swift_hash_suffix,
|
||||||
# $swift_ssh_key,
|
|
||||||
$package_ensure = 'present'
|
$package_ensure = 'present'
|
||||||
) {
|
) {
|
||||||
|
|
||||||
# maybe I should just install ssh?
|
|
||||||
Class['ssh::server::install'] -> Class['swift']
|
Class['ssh::server::install'] -> Class['swift']
|
||||||
|
|
||||||
package { 'swift':
|
package { 'swift':
|
||||||
@ -56,31 +51,4 @@ class swift(
|
|||||||
mode => 0660,
|
mode => 0660,
|
||||||
content => template('swift/swift.conf.erb'),
|
content => template('swift/swift.conf.erb'),
|
||||||
}
|
}
|
||||||
|
|
||||||
# if ($swift_ssh_key) {
|
|
||||||
# if $swift_ssh_key !~ /^(ssh-...) +([^ ]*) *([^ \n]*)/ {
|
|
||||||
# err("Can't parse swift_ssh_key")
|
|
||||||
# notify { "Can't parse public key file $name on the keymaster: skipping ensure => $e
|
|
||||||
#nsure": }
|
|
||||||
# } else {
|
|
||||||
# $keytype = $1
|
|
||||||
# $modulus = $2
|
|
||||||
# $comment = $3
|
|
||||||
# ssh_authorized_key { $comment:
|
|
||||||
# ensure => "present",
|
|
||||||
# user => "swift",
|
|
||||||
# type => $keytype,
|
|
||||||
# key => $modulus,
|
|
||||||
# options => $options ? { "" => undef, default => $options },
|
|
||||||
# require => File["/home/swift"]
|
|
||||||
# }
|
|
||||||
# }
|
|
||||||
# }
|
|
||||||
# does swift need an ssh key?
|
|
||||||
# they are adding one in the openstack modules
|
|
||||||
|
|
||||||
#
|
|
||||||
# I do not understand how to configure the rings
|
|
||||||
# or why rings would be configured on the proxy?
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user