Skip to content

Commit

Permalink
Decorate bootstrap task
Browse files Browse the repository at this point in the history
this makes it show up in `-l` output when importing it from here in
custom fabfiles for a host
  • Loading branch information
tomster committed Jul 18, 2017
1 parent ae5c219 commit c40e96d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bsdploy/fabfile_digitalocean.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8
from bsdploy.bootstrap_utils import BootstrapUtils
from fabric.api import env, sudo, run, put
from fabric.api import env, sudo, run, put, task
from os import path
from time import sleep

Expand All @@ -10,6 +10,7 @@
env.shell = '/bin/sh -c'


@task
def bootstrap(**kwargs):
"""Digital Oceans FreeBSD droplets are pretty much already pre-bootstrapped,
including having python2.7 and sudo etc. pre-installed.
Expand Down

0 comments on commit c40e96d

Please sign in to comment.