2863d853b6
Fixes this up to be used with puppet. DO NOT MERGE UNTIL SWITCHING TO PUPPET! Change-Id: I845726a6496660da90e3af03c5caf559f24e53a7
9 lines
154 B
Python
9 lines
154 B
Python
import ConfigParser
|
|
|
|
cp = ConfigParser.ConfigParser()
|
|
cp.read("planet.ini")
|
|
|
|
if cp.get('Planet', 'output_dir') != '/srv/planet/openstack':
|
|
sys.exit(1)
|
|
|