Public:Honza801/puppet

Z HelpDesk

jessie

puppet v4.8 ve stretchi

  • pridat stretch repo
  • instalovat novou verzi
  • nechat package configy
  • pridat do configu to nejnutnejsi

stretch

ve stretch je puppet 4.8, prechod z 3.8

sed -e 's/$lsbmajdistrelease/Integer(&)/g' -i file
sed -e "/mode/s/[[:digit:]]\+/'&'/g -i file

showstopper: nefunguje delete puppet-ca api, ani po uprave auth.conf. revoke funguje, takze neco je blbe v puppetu.

root@ourea17:~# curl -X DELETE -k --write-out '\n' 'https://talos.civ.zcu.cz:8140/puppet-ca/v1/certificate_status/mycertname?environment=production'     
{"message":"Bad Request: An environment parameter must be specified","issue_kind":"RUNTIME_ERROR"}

https://docs.puppet.com/puppet/4.8/http_api/http_certificate_status.html

pouzivej passanger, vole. webrick je rozbitej. neparsuje query string pro DELETE.