拉萨项目的saltstack

DogJay 2018-09-17 系统运维 557人已围观

拉萨项目的saltstack



```shell



lasa:

  web:

    {% set project_name = 'sttp-web-front-bcs' %}

    {% set version      = '1.7' %}

    {% set state        = 'SNAPSHOT' %}

    {% set main_jar     = project_name + '-' + version + '-' + state + '.jar' %}

    {% set zookeeper_ip         = '172.18.61.48' %}

    {% set zookeeper_port       = '2181' %}

    {% set zookeeper_string     = zookeeper_ip+':'+zookeeper_port %}



    {{project_name}}:

      172-18-61-59:

        zookeeper_string:       {{zookeeper_string}}

        main_jar:               {{main_jar}}

        server_port:             "9115"

        dubbo_port:              "60558"

        logsdir:                 "../logs/"

        dubbo_application_name:  "lasa-web-bcs"

        runuser:                 root

        prog:                    {{project_name}}

        version_name:            {{project_name}}

        cookie_domain:           "180.101.230.76"

        cookie_name:             'lasa-dev-portal'

        

  service:

    {% set project_name         = 'sttp-service-adminuser' %}

    {% set version              = '1.7' %}

    {% set state                = 'SNAPSHOT' %}

    {% set database_host        = '180.101.230.76' %}

    {% set database_port        = '60301' %}

    {% set database_username    = 'admin' %}

    {% set database_password    = 'admin@2017' %}

    {% set zookeeper_ip         = '172.18.61.48' %}

    {% set zookeeper_port       = '2181' %}

    {% set zookeeper_string     = zookeeper_ip+':'+zookeeper_port %}



    {{project_name}}:

      172-18-61-59:

        zookeeper_string:       {{zookeeper_string}}

        main_jar:               {{main_jar}}

        server_port:             "9115"

        dubbo_port:              "60559"

        logsdir:                 "../logs/"

        dubbo_application_name:  "lasa-service-adminuser"

        runuser:                 root

        prog:                    {{project_name}}

        version_name:            {{project_name}}

        database_name:           'sttp_admin'

        database_host:           {{database_host}}

        database_username:       {{database_username}}

        database_password:       {{database_password}}



```

吐槽(0)

文章评论

    共有0条评论

    验证码:

文章目录