File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ CERT=$(puppet master --confdir ${CONFDIR} --configprint hostcert)
66CACERT=$( puppet master --confdir ${CONFDIR} --configprint localcacert)
77PRVKEY=$( puppet master --confdir ${CONFDIR} --configprint hostprivkey)
88OPTIONS=" --cert ${CERT} --cacert ${CACERT} --key ${PRVKEY} "
9- CONSOLE=$( awk ' /server = /{print $NF}' ${CONFDIR} /console.conf )
9+ CONSOLE=$( awk ' /server: /{print $NF}' ${CONFDIR} /classifier.yaml )
1010
1111curl -k -X POST ${OPTIONS} " https://${CONSOLE} :4433/classifier-api/v1/update-classes"
Original file line number Diff line number Diff line change 5353 file { ' /usr/local/bin/update-classes.sh' :
5454 ensure => file ,
5555 source => ' puppet:///modules/profile/puppetmaster/update-classes.sh' ,
56+ mode => ' 755' ,
5657 }
5758
5859 # https://docs.puppetlabs.com/puppet/latest/reference/config_file_environment.html#environmenttimeout
You can’t perform that action at this time.
0 commit comments