~harlowja/cloud-init/query-back-duo

Viewing all changes in revision 732.

  • Committer: Scott Moser
  • Date: 2012-11-13 20:27:00 UTC
  • Revision ID: smoser@ubuntu.com-20121113202700-fdk2fbaeu5judv2a
check for a marker file by the normal name also

This check is a waste of a stat any time after the migrator module
had run.  As it would take care of moving markers.

However, if the user runs:
 sudo cloud-init modules --mode final

after an upgrade, they'd otherwise run any module that had a '-' in its
name again.  To avoid that, we just return true in that case, and
inform the user how to run the migrator themselves.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: