bm同步本地cdn文件到远端

bm同步本地cdn文件到远端

bm-cdn同步本地cdn文件到远端
cat push_config_to_product.sh 
#!/bin/bash
# Author  : royoy
# Ver     : v0.1
# MDate   : 10/2019
# Desc    : Push var.php to product

salt_bin=/bin/salt
front_nodeG_name=front_web
front_nodeName=web-1-xxxtyt.production
var_php_path=/data/xxxtyt/config/var.php
var_php_ansible=${front_nodeName}/data/xxxtyt/config/var.php

${salt_bin} -N ${front_nodeG_name} cp.get_file salt://${var_php_ansible} ${var_php_path}