fab -l
You must select a charm or a unit with the -R option to perform a task
Charms: ['ubucon-site', 'postgresql', 'juju-gui']
Units: ['ubucon-site/7', 'juju-gui/0', 'postgresql/7']
Available commands:
adduser Adduser without password.
apt_dist_upgrade Upgrade all packages.
apt_install Install one or more packages.
apt_install_r Install one or more packages listed in your requirements_apt_files.
apt_update Update APT package definitions.
delete_pyc Deletes *.pyc files from project source dir
load_fixture Upload and load a fixture file
manage Runs management commands.
pip_freeze List installed python packages
pip_install Install one or more packages.
pip_install_r Install one or more python packages listed in your requirements_pip_files.
pull pull or update your project code on the remote machine.
reload Reload gunicorn.
$ fab -R ubucon-site/7 reload
[10.0.3.252] Executing task 'reload'
[10.0.3.252] sudo: service ubucon_site reload
[10.0.3.252] out: ubucon_site: unrecognized service
[10.0.3.252] out:
Fatal error: sudo() received nonzero return code 1 while executing!
Requested: service ubucon_site reload
Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "service ubucon_site reload"
Aborting.
Disconnecting from 10.0.3.252... done.