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

     1  #!/bin/bash
     2  
     3  # Node testing
     4  
     5  BASE=$(dirname $0)
     6  cd ${BASE}
     7  
     8  . ${BASE}/setup
     9  . ${BASE}/creds
    10  
    11  # Chef protocol version 1
    12  go run ${BASE}/../../testcase/testcase.go node ${CHEFUSER} ${KEYFILE} ${CHEFORGANIZATIONURL} ${SSLBYPASS}
    13  
    14  # Chef protocol version 1.3
    15  echo
    16  echo "Node protocol version 1.3"
    17  echo
    18  go run ${BASE}/../../testcase/testcase.go node ${CHEFUSER} ${KEYFILE} ${CHEFORGANIZATIONURL} ${SSLBYPASS} "1.3"