Slackbot
04/24/2023, 3:48 AMSlackbot
04/24/2023, 12:55 PMSlackbot
04/24/2023, 1:46 PMSlackbot
04/24/2023, 3:09 PMBrian Schonecker
04/24/2023, 3:11 PMRobert FD
04/24/2023, 7:01 PMSlackbot
04/24/2023, 8:12 PMJoel Wilson
04/24/2023, 10:02 PMJoel Wilson
04/24/2023, 10:17 PMSlackbot
04/25/2023, 6:47 AMShubham Sharma
04/25/2023, 6:48 AMDr Bunsen Honeydew
04/25/2023, 1:45 PMValayil Abraham
04/25/2023, 3:14 PMclassifyurl = '<https://puppetapi-qa.XXXX.com:4433/classifier-api/v1/groups>'
classifyresponse = <http://requests.post|requests.post>(classifyurl,json={"name": groupName, "parent": parentGroupID, "classes": {}},headers={'X-Authentication':token},verify='D:\\Certs\\QA\\ca.pem')
I am unable to create a rule and class in the above command by passing in a new rule and new class which don't currently exist
classifyresponse = <http://requests.post|requests.post>(classifyurl,json={"name": groupName, "parent": parentGroupID, "rule": ["and",["=",["trusted","extensions","pp_role"],"testrole"]], "classes": {"role::etsapps::windows::testrole": {}}},headers={'X-Authentication':token},verify='D:\\Certs\\QA\\ca.pem')
I tried the update endpoint and did not get an error but the new class and rule do not show up in the console
classifyurl = '<https://puppetapi-qa.XXXX.com:4433/classifier-api/v1/update-classes>'
classifyresponse = <http://requests.post|requests.post>(classifyurl,json={"name": groupName, "parent": parentGroupID, "rule": ["and",["=",["trusted","extensions","pp_role"],"testrole"]], "classes": {"role::etsapps::windows::testrole": {}}},headers={'X-Authentication':token},verify='D:\\Certs\\QA\\ca.pem')
Any idea how to get it to work?Dr Bunsen Honeydew
04/25/2023, 4:45 PMSlackbot
04/25/2023, 6:22 PMJoel Wilson
04/25/2023, 6:22 PMJoel Wilson
04/25/2023, 6:22 PMbastelfreak
04/25/2023, 7:46 PMrusty
04/25/2023, 7:47 PMbastelfreak
04/25/2023, 7:47 PMbastelfreak
04/25/2023, 7:48 PMrusty
04/25/2023, 7:48 PMrusty
04/25/2023, 7:48 PMrusty
04/25/2023, 7:49 PMrusty
04/25/2023, 7:49 PMSlackbot
04/25/2023, 7:49 PMrusty
04/25/2023, 8:10 PMvchepkov
04/25/2023, 8:17 PMYorokobi
04/25/2023, 8:19 PMaustb
04/25/2023, 8:34 PMpuppet8
apt/yum repo issues, but it should be fixed soon.
For our RedHat-based OS users who upgrade an existing install, you may encounter problems with PuppetDB 8 and Java 8. PuppetDB 8 requires Java 11 or higher to run. The package dependencies have been updated to ensure that an appropriate Java is installed, but RedHat's Java 8 maintains a higher priority for alternatives
than more recent Javas, so your server will not switch to Java 11 automatically.