
This cookbook needed to be brought up to the standard of the other cookbooks in the repo. * Adding .gitreview * Normalizing .rubocop.yml * Normalizing Gemfile * Normalizing metadata.rb * Normalizing .gitignore * Adding specs/ directory and spec_helper.rb * Fixed all rubocop errors Change-Id: Ica7c525aae5fbd5c441ce50cff36046c678046d6 Partial-Bug: 1348243
10 lines
236 B
Ruby
10 lines
236 B
Ruby
# encoding: UTF-8
|
|
|
|
case node['platform']
|
|
when 'ubuntu'
|
|
default['ceph']['mon']['init_style'] = 'upstart'
|
|
else
|
|
default['ceph']['mon']['init_style'] = 'sysvinit'
|
|
end
|
|
default['ceph']['mon']['secret_file'] = '/etc/chef/secrets/ceph_mon'
|