mirror of
https://github.com/ceph/ceph
synced 2024-12-15 07:56:12 +00:00
72057a9cd8
A cronjob on ceph.newdream.net updates these every 15 minutes. Sigh.
27 lines
651 B
Python
27 lines
651 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/NewDreamNetwork/ceph-qa-chef/master/solo/solo-from-scratch',
|
|
'http://ceph.newdream.net/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD',
|
|
run.Raw('|'),
|
|
'sh',
|
|
],
|
|
wait=False,
|
|
)
|
|
)
|