2936d5d568
ceph-disk prepare data OSD parameter contains a new line causing
puppet manifest to fail:
1. $data = generate('/bin/bash','-c',"/bin/readlink -f ${name}")
is expanded together with a new line in:
exec { $ceph_prepare:
command => "/usr/sbin/ceph-disk prepare ${cluster_option}
${cluster_uuid_option} ${uuid_option}
--fs-type xfs --zap-disk ${data} ${journal}"
just before ${journal} is expanded. Puppet reports:
sh: line 1: : command not found
when trying to run '' (default journal value).
2. 'readlink' should be called when running ceph-disk prepare
command, not when the puppet resource is defined. Let
exec's shell call readlink instead of using puppet's
generate() . See also:
|
||
---|---|---|
.. | ||
puppet-ceilometer-11.3.0/centos | ||
puppet-ceph-2.2.0/centos | ||
puppet-cinder-11.3.0/centos | ||
puppet-glance-11.3.0/centos | ||
puppet-gnocchi-11.3.0/centos | ||
puppet-heat-11.3.0/centos | ||
puppet-horizon-9.5.0/centos | ||
puppet-ironic-11.3.0/centos | ||
puppet-keystone-11.3.0/centos | ||
puppet-magnum-11.3.0/centos | ||
puppet-memcached-3.0.2/centos | ||
puppet-murano-11.3.0/centos | ||
puppet-neutron-11.3.0/centos | ||
puppet-nova-11.4.0/centos | ||
puppet-openstacklib-11.3.0/centos | ||
puppet-oslo-11.3.0/centos | ||
puppet-panko-11.3.0/centos | ||
puppet-swift-11.3.0/centos |