1234567891011121314151617181920212223242526272829303132 |
- # == Class ceph::config
- #
- # This class is called from ceph for service config.
- #
- class ceph::config {
- file { '/etc/ceph':
- ensure => 'directory',
- owner => 'root',
- group => 'root',
- mode => '0755',
- }
- file { '/etc/ceph/ceph.conf':
- owner => 'root',
- group => 'root',
- mode => '0644',
- content => template('ceph/ceph.conf.erb'),
- }
- file { [
- '/var/lib/ceph',
- '/var/lib/ceph/bootstrap-osd',
- '/var/lib/ceph/bootstrap-mds',
- '/var/lib/ceph/bootstrap-rgw',
- ]:
- ensure => 'directory',
- owner => 'root',
- group => 'root',
- mode => '0755',
- }
- }
|