Moving remaining plugins to bootstrapvz/plugins/

Three of the last developed plugins remained on the old `plugins/`
folder. This probably happened because they didn't existed when the
`documentation` branch were created, so they weren't moved when it was
rebased against `master`.
This commit is contained in:
Tiago Ilieve 2014-04-03 19:08:04 -03:00
parent 33a430566b
commit 14682eb96d
9 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,6 @@
from base import Task
from common import phases
from common.tasks import apt
from bootstrapvz.base import Task
from bootstrapvz.common import phases
from bootstrapvz.common.tasks import apt
import os

View file

@ -1,6 +1,6 @@
from base import Task
from common import phases
from common.tasks import apt
from bootstrapvz.base import Task
from bootstrapvz.common import phases
from bootstrapvz.common.tasks import apt
import os
@ -10,7 +10,7 @@ class CheckAssetsPath(Task):
@classmethod
def run(cls, info):
from common.exceptions import TaskError
from bootstrapvz.common.exceptions import TaskError
assets = info.manifest.plugins['chef']['assets']
if not os.path.exists(assets):
msg = 'The assets directory {assets} does not exist.'.format(assets=assets)
@ -36,5 +36,5 @@ class CopyChefAssets(Task):
@classmethod
def run(cls, info):
from common.tools import copy_tree
from bootstrapvz.common.tools import copy_tree
copy_tree(info.manifest.plugins['chef']['assets'], os.path.join(info.root, 'etc/chef'))

View file

@ -1,6 +1,6 @@
from base import Task
from common import phases
from common.tasks import packages
from bootstrapvz.base import Task
from bootstrapvz.common import phases
from bootstrapvz.common.tasks import packages
class AddNtpPackage(Task):