Posted on 09-18-2014 08:26 PM
Say hi to Patchoo! Deploy.
As most admins are (or are wanting to) jumping off the imaging wagon, and moving to a policy based build process.
I wondered if I could leverage some of Patchoo's existing function and provide a deployment framework.
Well I did... and here's a first look.
http://www.rehrehreh.com/files/hi-patchoo-deploy.html
Jump on the "deploy" fork if you are brave!
Posted on 09-18-2014 10:01 PM
Amazeballs this looks awesome
Posted on 09-21-2014 04:43 PM
Thanks bud! And I haven't forgotten our other little secret project. https://github.com/patchoo/jss-autopkg-addon
Posted on 09-24-2014 07:02 AM
So i've been reading through this for a couple days now (the joys of being unemployed) and i've come to the inevitable conclusion that this is a work of hideous genius. I wish i'd known about this a couple years ago!
Posted on 09-24-2014 05:33 PM
Well, it didn't exist a couple of years a go if that makes you feel better. :)
Posted on 09-25-2014 08:01 AM
I'm going to have to give this a spin. I plan to move our "imaging" to the thin model this year. Thanks for putting this together.
Posted on 09-25-2014 08:11 AM
First comment after just starting to go through is that it seems to me that Patchoo and Patchoo deploy should be split into two different scripts. It makes this script very busy especially when running through where you set the custom variables.
Posted on 09-29-2014 12:23 PM
Agreed but by design I wanted it to be a single script you can call from the JSS.
There is a bunch of shared code and functions between the different modes, so breaking it up would be difficult to manage. Perhaps it could be attacked by installing common libraries to the clients. Again it shouldn't be written in bash. :) I might look at that once the code settles down. But I think that adds a fair bit of complexity. I do like the casper friendly design of it being a single script stored in the JSS. But am open to suggestions and understand it could be a bit overwhelming.
Planning some how to video to help explain and show it in action.
Posted on 09-30-2014 11:16 PM
For those playing along at home, or those that would like to see more here's a log dump from a test Mac build... with some example screen shots of the loginwindow feedback during a deploy session.
It's now functional enough that I've merged it into the master! Happy birthday deploy!
https://github.com/patchoo/patchoo/blob/master/docs/jamf_patchoo_deploy.log.txt
Posted on 06-03-2015 10:16 AM
I have finally had time to play with Patchoo
Amazing!!
I have one issue where the package names for software updates is not appearing in the cocadialog window. However for apple updates its pulling the package names perfectly?
any thoughts. I checked the patchoo/pkg folder and the updates are in there? Also checked the receipts and they are also in there? so it seems like its just not pulling the updates pkg names.. any thoughts would be great. I would say i am 90% ready to implement.. Thanks to the amazing work by Mr. Loceee...
Posted on 07-10-2015 08:48 AM
So the mice (me) got playing and I realised that the one thing that hurts Patchoo currently is that it uses applescript dialog boxes for it's bootstrapping process.
So I recoded it in CocoaDialog instead. Combine that with @loceee 's CocoaDialog variant and you should be able to do everything over the loginwindow. Just for good measure I've also added in experimental JSS sites support and all the computer lookups are done via UUID's instead of MAC addresses.
Now i'm not in a place where I can adequately test this as there isn't a JSS where I am. (Working on that too) I'm confident most of it should work but consider this very experimental. All feedback gratefully received and i'll happily bug fix what I can.
Posted on 07-10-2015 10:08 PM
Thanks so much ! I am sorry Patchoo has been a little stale and I haven't been able to test these commits. Hope to get some time in the next couple of months. Thanks again!
Posted on 07-13-2015 04:21 AM
Looks nice! Will check it out in our environment.