This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# simple 3.7 NC classifier commands | |
declare -x PE_CERT=$(/opt/puppet/bin/puppet agent --configprint hostcert) | |
declare -x PE_KEY=$(/opt/puppet/bin/puppet agent --configprint hostprivkey) | |
declare -x PE_CA=$(/opt/puppet/bin/puppet agent --configprint localcacert) | |
declare -x PE_CERTNAME=$(/opt/puppet/bin/puppet agent --configprint certname) | |
declare -x NC_CURL_OPT="-s --cacert $PE_CA --cert $PE_CERT --key $PE_KEY --insecure" |
NewerOlder