Ubuntu Pastebin

Paste from dpm at Thu, 12 Nov 2015 20:05:08 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 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.
Download as text