Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include ceph::apt::ceph
- class { 'ceph::conf':
- fsid => 'd3b0a102-1f6b-4690-9604-c1e2aa624e12',
- auth_type => 'cephx', # Currently only cephx is supported AND required
- cluster_network => '10.0.0.0/24', # The cluster's «internal» network
- public_network => '192.168.100.0/24', # The cluster's «public» (where clients are) network
- }
- ceph::mon { $id:
- monitor_secret => 'AQBy5gRS8My9NBAA1smMprlcFApW1CHETGGqjQ==',
- mon_addr => $ipaddress_there, # The host's «public» IP address
- }
- if !empty($::ceph_admin_key) {
- @@ceph::key { 'admin':
- secret => $::ceph_admin_key,
- keyring_path => '/etc/ceph/keyring',
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement