Created
December 9, 2013 10:50
-
-
Save anonymous/7870449 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use Cases | |
========== | |
I want to try this module, heard of ceph, want to see it in action | |
------------------------------------------------------------------ | |
I want to run it on my own laptop, all in one. The ceph::conf class will create configuration file with no authentication enabled, on my localhost. The ceph::mon resource configures and runs a monitor to which two ceph::osd daemon will connect to provide disk storage, using directories in /srv on the laptop. | |
/node/ { | |
class { 'ceph::conf': | |
auth_enable => false, | |
mon_host => 'localhost' | |
} | |
ceph::mon { $hostname: }; | |
ceph::osd { '/srv/osd1': }; | |
ceph::osd { '/srv/osd2': }; | |
} | |
* install puppet, | |
* paste this in site.pp and replace /node/ with the name of your current node, | |
* puppet apply site.pp, | |
* ceph -s and see that it works. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment