Skip to content

JNUC2019 Lab Session M Advanced

Chris Lasell edited this page Oct 21, 2019 · 2 revisions

Hands On, Real-time Classic API Using ruby-jss

(Home)

Lab Session Contents - 12 - Advanced ruby-jss

Previous           TOC          


Slide 6: Advanced ruby-jss

  • 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

Scoping

  • 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

Criteria

  • Complex criteria can be created for Smart Groups and Advanced Searchs

Packages & Scripts

  • 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

Multiple Connections

  • 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

Server Clustering

  • 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

The Jamf Pro API

  • 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.

Contribute!

  • 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


Slide 7: Thank You!


Previous           TOC          

Clone this wiki locally