I would prefer this just always write what is specified as the scenario into config.yaml

    sed -i "s/2_role:.*/$scenario/" /etc/puppet/data/config.yaml