The rs-lamp::dump_import recipe creates a touch file in /var/lib/rightscale with the dump file name when it imports the dump file for the first time. The recipe will check for the corresponding touch file and skip the import if the touch file exists.
There should be a test that runs the rs-lamp::dump_import 2 times and should check for the skip log message in the log file.
The
rs-lamp::dump_import
recipe creates a touch file in/var/lib/rightscale
with the dump file name when it imports the dump file for the first time. The recipe will check for the corresponding touch file and skip the import if the touch file exists.There should be a test that runs the
rs-lamp::dump_import
2 times and should check for the skip log message in the log file.