debug echo "ceph-mgr dashboard not built - disabling."
with_mgr_dashboard=false
fi
+with_mgr_restful=true
filestore_path=
kstore_path=
--without-dashboard)
with_mgr_dashboard=false
;;
+ --without-restful)
+ with_mgr_restful=false
+ ;;
--seastore-devs)
parse_block_devs --seastore-devs "$2"
shift
heartbeat file = $CEPH_OUT_DIR/\$name.heartbeat
"
- local mgr_modules="restful iostat"
+ local mgr_modules="iostat"
if $with_mgr_dashboard; then
- mgr_modules="dashboard $mgr_modules"
+ mgr_modules+=" dashboard"
+ fi
+ if $with_mgr_restful; then
+ mgr_modules+=" restful"
fi
local msgr_conf=''
fi
fi
fi
- create_mgr_restful_secret
+ if $with_mgr_restful; then
+ create_mgr_restful_secret
+ fi
fi
if [ "$cephadm" -eq 1 ]; then
echo "dashboard urls: $DASH_URLS"
echo " w/ user/pass: admin / admin"
fi
- echo "restful urls: $RESTFUL_URLS"
- echo " w/ user/pass: admin / $RESTFUL_SECRET"
- echo ""
+ if $with_mgr_restful; then
+ echo "restful urls: $RESTFUL_URLS"
+ echo " w/ user/pass: admin / $RESTFUL_SECRET"
+ echo ""
+ fi
fi
echo ""
# add header to the environment file