Andrew Hutchings 2863d853b6 Update for puppet installation
Fixes this up to be used with puppet.  DO NOT MERGE UNTIL SWITCHING TO PUPPET!

Change-Id: I845726a6496660da90e3af03c5caf559f24e53a7
2012-02-03 14:44:22 +00:00

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)