espenak / awsfabrictasks

Other
84 stars 26 forks source link

Could not find the env.awsfab_settings_module #13

Closed robbernabe closed 10 years ago

robbernabe commented 10 years ago

Awesome package, super useful!

With the utility installed, I get the following error when I run my standard fabric tasks:

$ fab pull
/Users/rbernabe/virtualenvs/puppet/lib/python2.7/site-packages/awsfabrictasks/conf.py:35: UserWarning: Could not find the env.awsfab_settings_module. Make sure you run run awsfab tasks using the ``awsfab`` command (not fab)?
warn('Could not find the env.awsfab_settings_module. Make sure you run run awsfab tasks using the ``awsfab`` command (not fab)?')
[puppet-east.xxxx.com] Executing task 'pull'
[puppet-east.xxxx.com] run: git pull
[puppet-east.xxxx.com] out: Already up-to-date.
[puppet-east.xxxx.com] out:

Done.
Disconnecting from puppet-east.xxxx.com... done.

Should I be using awsfab even for my non aws-specific tasks?

espenak commented 10 years ago

Great that you find it useful:)

You do not have to use awsfab for non aws-specific task. Some of the built-in tasks get their defaults for keyword arguments from awsfabsettings.conf.awsfab_settings which causes this warning when you are importing them without awsfab. You have a few choices:

robbernabe commented 10 years ago

Perfect. Thanks for the quick response!