github.com/go-chef/chef@v0.30.1/testapi/bin/stats (about)

     1  #!/bin/bash
     2  
     3  # Stats testing
     4  
     5  BASE=$(dirname $0)
     6  cd ${BASE}
     7  
     8  . ${BASE}/setup
     9  . ${BASE}/creds
    10  
    11  STATPASSWORD=`chef-server-ctl show-service-credentials | grep -A1 stats_password|awk -F'"' '{print $2}'|tail -1`
    12  
    13  go run ${BASE}/../../testcase/testcase.go stats ${CHEFUSER} ${KEYFILE} ${CHEFGLOBALURL} ${SSLBYPASS} ${STATPASSWORD}