fuel-library/deployment/puppet/ceph/manifests/mds.pp
Dmitry Borodaenko 206c12a03c refactor Ceph init.pp
* extract ceph.conf handling into ceph::conf
 * rename ceph::deploy to ceph::mds (and leave it disabled)
 * move libnss handling to ceph::libnss class in params.pp
 * move ceph service definition to ceph::params
 * simplify role-dependent declarations and ordering rules
 * include ceph::cinder for cinder nodes, but don't include ceph classes
   by default for unrecognized node roles
 * install python-pushy instead of pushy in Debian-based systems
 * minor formatting fixes to calm down puppet-lint
2013-10-07 09:58:06 -07:00

12 lines
226 B
Puppet

# Ceph::mds will install mds server if invoked
class ceph::mds (
) {
if $::mds_server {
exec { 'ceph-deploy mds create':
command => "ceph-deploy mds create ${::mds_server}",
logoutput => true,
}
}
}