Replace nova with designate in pybasedir help

I also had to reformat the code slightly for pep8.

Change-Id: I63d643c6da3a450d8d2248f9392744c8a50172c7
This commit is contained in:
Eric Larson 2015-02-20 09:00:55 -06:00
parent 54726e9e36
commit f0de963625
1 changed files with 6 additions and 4 deletions

View File

@ -28,10 +28,12 @@ from oslo import messaging
cfg.CONF.register_opts([
cfg.StrOpt('host', default=socket.gethostname(),
help='Name of this node'),
cfg.StrOpt('pybasedir',
default=os.path.abspath(os.path.join(os.path.dirname(__file__),
'../')),
help='Directory where the nova python module is installed'),
cfg.StrOpt(
'pybasedir',
default=os.path.abspath(os.path.join(os.path.dirname(__file__),
'../')),
help='Directory where the designate python module is installed'
),
cfg.StrOpt('state-path', default='/var/lib/designate',
help='Top-level directory for maintaining designate\'s state'),