File tree 2 files changed +1
-32
lines changed
2 files changed +1
-32
lines changed Original file line number Diff line number Diff line change
1
+ do we need ssh keys for anything?
Original file line number Diff line number Diff line change 7
7
# [*package_ensure*] The ensure state for the swift package.
8
8
# Optional. Defaults to present.
9
9
#
10
- # [*swift_ssh_key*] NOT YET IMPLEMENTED. I am not entirely sure what
11
- # this key is intended to be used for.
12
- #
13
10
# == Dependencies
14
11
#
15
12
# Class['ssh::server::install']
24
21
#
25
22
class swift (
26
23
$swift_hash_suffix,
27
- # $swift_ssh_key,
28
24
$package_ensure = ' present'
29
25
) {
30
26
31
- # maybe I should just install ssh?
32
27
Class[' ssh::server::install' ] -> Class[' swift' ]
33
28
34
29
package { 'swift' :
56
51
mode => 0660,
57
52
content => template (' swift/swift.conf.erb' ),
58
53
}
59
-
60
- # if ($swift_ssh_key) {
61
- # if $swift_ssh_key !~ /^(ssh-...) +([^ ]*) *([^ \n]*)/ {
62
- # err("Can't parse swift_ssh_key")
63
- # notify { "Can't parse public key file $name on the keymaster: skipping ensure => $e
64
- # nsure": }
65
- # } else {
66
- # $keytype = $1
67
- # $modulus = $2
68
- # $comment = $3
69
- # ssh_authorized_key { $comment:
70
- # ensure => "present",
71
- # user => "swift",
72
- # type => $keytype,
73
- # key => $modulus,
74
- # options => $options ? { "" => undef, default => $options },
75
- # require => File["/home/swift"]
76
- # }
77
- # }
78
- # }
79
- # does swift need an ssh key?
80
- # they are adding one in the openstack modules
81
-
82
- #
83
- # I do not understand how to configure the rings
84
- # or why rings would be configured on the proxy?
85
-
86
54
}
You can’t perform that action at this time.
0 commit comments