Advertisement
Guest User

Untitled

a guest
Aug 9th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. include ceph::apt::ceph
  2.  
  3. class { 'ceph::conf':
  4. fsid => 'd3b0a102-1f6b-4690-9604-c1e2aa624e12',
  5. auth_type => 'cephx', # Currently only cephx is supported AND required
  6. cluster_network => '10.0.0.0/24', # The cluster's «internal» network
  7. public_network => '192.168.100.0/24', # The cluster's «public» (where clients are) network
  8. }
  9.  
  10. ceph::mon { $id:
  11. monitor_secret => 'AQBy5gRS8My9NBAA1smMprlcFApW1CHETGGqjQ==',
  12. mon_addr => $ipaddress_there, # The host's «public» IP address
  13. }
  14.  
  15. if !empty($::ceph_admin_key) {
  16. @@ceph::key { 'admin':
  17. secret => $::ceph_admin_key,
  18. keyring_path => '/etc/ceph/keyring',
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement