-
Notifications
You must be signed in to change notification settings - Fork 30
JNUC2019 Lab Session M Advanced
-
We've only just scratched the surface of using ruby-jss
-
Here are some other things it can do, but are beyond this scope of this short lab
-
Every object that uses scoping treats it the same way in ruby-jss
-
Inclusions, Limitations, and Exclusions can be edited as needed via a
Scope
object
- Complex criteria can be created for Smart Groups and Advanced Searchs
-
These can be uploaded programmatically
- Packages, only to a FileShare distribution Point
- Scripts, via the API
-
On clients, they can be installed and executed without running a policy
-
We've been using the 'default' connection in ruby-jss, which is good for lots of things
-
If needed, you can create connections stored in variables, and work with them simultaneously
- If you have an on-prem installation with more than one Tomcat server, you can create one just for automation via the API
- This reduces load on the nodes your clients talk to
-
I'm working closely with Sam and his team as the Jamf Pro API continues to solidify
-
ruby-jss for JP-API is a deep rewrite, it should be more efficient and flexible
-
While the innards will be different, general usage will be similar to what we just did.
-
ruby-jss is open-source software, and it doesn't implement the entire Classic API
-
If you enjoy coding in ruby and would like to help expand ruby-jss, please do, I'm happy to help