ceph: Fix & update
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
36598310d4
commit
b3b9ebe22e
@ -12,18 +12,21 @@
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
class privatecloud::rbd (
|
||||
$fsid,
|
||||
$auth_type = 'cephx',
|
||||
$release = 'cuttlefish'
|
||||
$fsid = $os_params::ceph_fsid,
|
||||
$auth_type = 'cephx',
|
||||
$release = 'cuttlefish',
|
||||
$cluster_network = $os_params::ceph_cluster_network,
|
||||
$public_network = $os_params::ceph_public_network
|
||||
) {
|
||||
|
||||
class { 'ceph::conf':
|
||||
fsid => $os_params::ceph_fsid,
|
||||
fsid => $fsid,
|
||||
auth_type => $auth_type,
|
||||
cluster_network => $os_params::ceph_cluster_network,
|
||||
public_network => $os_params::ceph_public_network,
|
||||
cluster_network => $cluster_network,
|
||||
public_network => $public_network,
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -17,15 +17,17 @@
|
||||
#
|
||||
|
||||
class privatecloud::rbd::monitor (
|
||||
$id
|
||||
$id,
|
||||
$mon_addr => $ipaddress_eth0,
|
||||
$monitor_secret => $os_params::ceph_mon_secret
|
||||
) {
|
||||
|
||||
include 'privatecloud::rbd'
|
||||
|
||||
ceph::mon { $id:
|
||||
monitor_secret => $os_params::ceph_mon_secret,
|
||||
monitor_secret => $monitor_secret,
|
||||
mon_port => 6789,
|
||||
mon_addr => $ipaddress_eth0,
|
||||
mon_addr => $mon_addr,
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user