Skip to content

Adjustment for Salt 2017.7 #16

@DenisBY

Description

@DenisBY

Just in case someone needs this, to make this reactor compartible with salt 2017, code starting from line https://github.com/saltstack-formulas/ec2-autoscale-reactor/blob/master/ec2-autoscale/init.sls#L86 should look like this:

        vm_ = __opts__.get('ec2.autoscale', {})
        vm_['reactor'] = True
        vm_['instances'] = instance_id
        vm_['instance_id'] = instance_id
        # Fire off an event to wait for the machine
        return {
            'ec2_autoscale_launch': {
                'runner.cloud.create': [{'kwarg': vm_}]
            }
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions