set snappy command earlier

This commit is contained in:
Scott Moser 2015-03-27 11:33:58 -04:00
parent eacf44e17d
commit 68516e6ce8

View File

@ -218,12 +218,12 @@ def handle(name, cfg, cloud, log, args):
LOG.debug("%s: 'auto' mode, and system not snappy", name)
return
set_snappy_command()
pkg_ops = get_package_ops(packages=mycfg['packages'],
configs=mycfg['config'],
fspath=mycfg['packages_dir'])
set_snappy_command()
fails = []
for pkg_op in pkg_ops:
try: