dashcheulov / r10k-webhook

GNU General Public License v3.0
2 stars 1 forks source link

""" Creates symlink from env in tmp basedir to environment in ultimate basedir. """ #2

Closed seanodea closed 3 years ago

seanodea commented 4 years ago

Why?

Why would you move the yaml code to a temp dir and then symlink the realdir to the temp dir? I don't think it's a good strategy.

seanodea commented 4 years ago

I just wanna run r10k when the webhook is hit, I don't want any method of doing that changing my paths or creating symlinks.

dashcheulov commented 3 years ago

This layer is used for mapping branches to environments' names. For example, if you want branch 'master' to be named as env 'production', you have to rename dir 'master' provided by r10k to 'production'. Then puppet will use that name as name of environment.