示例#1
0
def artifacts():
    env.platform_family = detect.detect()
    artifacts = ['/var/log/messages',
                 '/var/log/syslog',
                 '/var/log/cloud-init.log',
                 '/var/log/cloud-init-output.log']
    get_artifacts(artifacts=artifacts)
示例#2
0
def artifacts():
    env.platform_family = detect.detect()
    artifacts = [
        '/var/log/messages', '/var/log/syslog', '/var/log/cloud-init.log',
        '/var/log/cloud-init-output.log'
    ]
    get_artifacts(artifacts=artifacts)
def artifacts():
    env.platform_family = detect.detect()

    # Logs to pull
    logs = ['/root/cfn-userdata.log',
            '/root/heat-script.log']

    get_artifacts(logs)
示例#4
0
def artifacts():
    env.platform_family = detect.detect()
    get_artifacts()