mirror of
https://github.com/ceph/ceph
synced 2024-12-14 23:46:28 +00:00
08bf16102a
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
28 lines
654 B
Python
28 lines
654 B
Python
import logging
|
|
|
|
from ..orchestra import run
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
def task(ctx, config):
|
|
"""
|
|
Run chef-solo on all nodes.
|
|
"""
|
|
log.info('Running chef-solo...')
|
|
|
|
run.wait(
|
|
ctx.cluster.run(
|
|
args=[
|
|
'wget',
|
|
# '-q',
|
|
'-O-',
|
|
# 'https://raw.github.com/ceph/ceph-qa-chef/master/solo/solo-from-scratch',
|
|
'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD',
|
|
run.Raw('|'),
|
|
'sh',
|
|
'-x',
|
|
],
|
|
wait=False,
|
|
)
|
|
)
|