diff --git a/ceilometer/api/app.py b/ceilometer/api/app.py index 6b446d0f..983e92ce 100644 --- a/ceilometer/api/app.py +++ b/ceilometer/api/app.py @@ -57,3 +57,6 @@ def make_app(enable_acl=True, attach_storage=True): if enable_acl: return acl.install(app, cfg.CONF) return app + +# For documentation +app = make_app(enable_acl=False, attach_storage=False) diff --git a/doc/source/install.rst b/doc/source/install.rst index de01aa8f..d7644714 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -150,11 +150,11 @@ Installing the Compute Agent The ``nova`` compute service needs the following configuration to be set in ``nova.conf``:: - # nova-compute configuration for ceilometer - instance_usage_audit=True - instance_usage_audit_period=hour - notification_driver=nova.openstack.common.notifier.rabbit_notifier - notification_driver=ceilometer.compute.nova_notifier + # nova-compute configuration for ceilometer + instance_usage_audit=True + instance_usage_audit_period=hour + notification_driver=nova.openstack.common.notifier.rabbit_notifier + notification_driver=ceilometer.compute.nova_notifier 2. Clone the ceilometer git repository to the server::