code: def validate_sectionless_conf(self, file_contents, expected):
          
          for line in file_contents.split('\n'):
              if '=' in line:
                  args = line.split('=')
                  if len(args) <= 1:
                      continue
                  key = args[0].strip()
                  value = args[1].strip()
                  if key in expected.keys():
                      if expected[key] != value:
                          msg = ('Config mismatch.  Expected, actual:  {}, '
                                 '{}'.format(expected[key], value))
                          amulet.raise_status(amulet.FAIL, msg=msg)
docs: A crude conf parser.  Useful to inspect configuration files which
          do not have section headers (as would be necessary in order to use
          the configparser).  Such as openstack-dashboard or rabbitmq confs.