ruby-jss provides native ruby access to the REST APIs of Jamf Pro, an enterprise/education tool for managing Apple devices, from jamf.com. The Jamf module provides access to both APIs. Jamf Pro objects are implemented as classes and interact with each other. Authentication tokens, data format and other details are handled under the hood to allow simpler, intuitive automation of Jamf-related tasks.
This PR should fix the bug outlined in #66 where the smart group wouldn't properly update and throw a 409.
The changes made:
Provided empty computer payload to ensure no conflicts
Details:
The Jamf Pro API assumes you want the same computers included in the group if you don't specify the <computers><computer /></computers> section of the XML payload. This is why we get a 409 since one or more computers in the group might not be assigned to the site the group is being moved to.
This PR should fix the bug outlined in #66 where the smart group wouldn't properly update and throw a 409.
The changes made:
Details: The Jamf Pro API assumes you want the same computers included in the group if you don't specify the
<computers><computer /></computers>
section of the XML payload. This is why we get a 409 since one or more computers in the group might not be assigned to the site the group is being moved to.