Zack T
4695ebeff0
v0.6 = Resolved an issue stemming from ulimit
...
+ Resolved an issue stemming from ulimit
+ See: https://superuser.com/questions/433746/is-there-a-fix-for-the-too-many-open-files-in-system-error-on-os-x-10-7-1
2018-10-08 15:59:33 -07:00
Zack T
e1971deac2
v0.5 = Fixed a couple issues preventing the script from properly executing
...
+ Results from Jamf API were returning in JSON; fixed the curl header parameters to properly request XML
+ Added an additional curlStatusCode check on the curlJamfAPI return
+ Fixed a incorrect "result" assignment for outOfDate variable
+ Fixed a couple arguments' syntax
2018-09-26 20:25:32 -07:00
Zack T
22f0a679a5
v0.4 = Added Version Check
...
+ Added a version check to determine if the App is up to date or not
2018-06-15 14:34:33 -07:00
Zack T
c9de090fee
v0.3 = Completed all desired logic and tidied up code
...
+ Added check to see if the app exists in the iTunes API
+ Cleaned up code
+ Finished supporting logic
2018-06-14 21:24:40 -07:00
Zack T
6a33d59881
v0.2 = Functional Logic Laid Out
...
+ The functional logic has been laid out for this report
2018-06-14 09:26:42 -07:00
Zack T
3c657a9fa1
v0.1 = First testing version
...
+ Initial Version
2018-06-13 15:13:09 -07:00
Zack T
6f07a61c27
v1.3 = Updated for Mojave
...
+ Updated for Mojave (Preliminary support)
2018-06-04 15:28:44 -07:00
Zack T
bc657b62e0
v1.4.1 = Changed from using comma to separate fields to new lines
...
+ Changed from using comma to separate fields to new lines (someone used commas in the location field)
2018-06-04 14:15:30 -07:00
Zack T
f74a04ae08
v1.1 = Now Prompting for info instead of using hard coded values
...
+ Changed several things in this script to make it way more friendly (less hard coded values)
+ Now requesting Credentials, new Site, Types of Devices, and File Locations for each Device Type
2018-05-14 16:28:46 -07:00
Zack T
3fc5799113
v1.0 = Initial Version
...
+ Initial Version
2018-05-11 13:55:48 -07:00
Zack T
b5dd8e3917
Code Improvements
...
+ Code Improvements
2018-05-02 22:06:17 -07:00
Zack T
4c721ef149
v1.0 = Initial Version
...
+ Initial Version
2018-05-02 22:04:05 -07:00
Zack T
0de3793ba9
v1.4 = Added additional information on why a failure occured
...
+ Added additional information on why a failure occured
2018-04-12 16:38:13 -07:00
Zack T
72ee4c73c8
v1.3 = Add Verification for the PUT update
...
+ Added in a check to see if the PUT to update a record succeeds or not
+ Fixed and added some verbose messages
2018-04-06 10:40:53 -07:00
Zack T
aba92a20e9
v1.4 = Resolved issue caused by large ppd files
...
+ Large .ppd files caused curl to error with "argument list to long" -- resolved this by reading configuration from stdin instead of as cli arguments
2018-03-23 13:43:36 -07:00
Zack T
3944c4fd8d
v1.3 = Fixed a couple issues
...
+ Fixed a logic issue with where the curlAPI array is defined
+ Fixed an issue with a prinft statement that wasn't properly formed
2018-03-23 13:39:07 -07:00
Zack T
744204de38
v1.2 = Added additional exit code check for the curl command
...
+ Added additional exit code check for the `curl` command
2018-03-23 11:23:54 -07:00
Zack T
51230ea812
v1.1 = Added more verbose output to the Jamf Policy Log
...
+ Added more verbose output that can be viewed from the Jamf Policy Log
2018-03-23 11:08:42 -07:00
Zack T
c9e4a75b92
v1.0 = Production Ready
...
+ Production Ready
2018-03-19 10:30:19 -07:00
Zack T
6200dacde2
v1.0.1 = Added full paths to all binary utilities
...
+ Added full paths to all binary utilities
- Forgot to remove the `sudo` before the jamf binary command
2018-03-16 23:42:17 -07:00
Zack T
7fed171211
v1.0 = Production Ready
...
+ Tested in live environment and production ready
2018-03-16 22:19:28 -07:00
Zack T
c1c65489fc
v1.2.2 = Resolved MacMini parsing issue
...
+ Resolved MacMini parsing issue that caused them to fail to report compatibility
2018-03-15 11:30:37 -07:00
Zack T
3bd123f608
v0.4 = Resolved issues with PPD Contents causing Bad Requests
...
+ Fixed some logic issues
+ Changed how I get the PPD Contents; also escaping characters for xml now
+ Added Category
2018-03-07 13:05:14 -07:00
Zack T
288b0f02ae
v0.3 = Added Jamf's Encrypted Script Parameters function
...
+ Added Jamf's Encrypted Script Parameters function to encrypted the username and password of the API User (https://github.com/jamfit/Encrypted-Script-Parameters )
2018-03-06 14:03:58 -07:00
Zack T
d012dccead
v0.2 = Lots of logic and user experience improvements
...
+ Improved logic to make sense with the workflow of being run from Jamf or CLI.
+ Changed a few bits to improve user experience
+ Added/improved several checks after tasks
+ Added loop to prompt to create another printer after creating a printer
+ Adjusted language outputed by checkStatusCode()
2018-03-06 13:37:16 -07:00
Zack T
220b6d9d3f
v0.1 = Major work completed, just need to improve logic
...
+ I've been working on this script for the last week trying to hash out some of the ideas I had. It's all there I believe, just need to improve the flow of logic.
2018-03-06 13:30:02 -07:00
Zack T
0b9fb17306
v1.2 = Changed password acquisition method
...
+ Changed password acquisition method based on suggestion from a colleague
2018-02-26 19:25:54 -07:00
Zack T
7118314c04
v1.1 = Added a check on the API credentials provided
...
+ Added a check on the API credentials provided to verify that they were valid and had permissions
2018-02-26 17:12:11 -07:00
Zack T
84545325b3
v1.0 = Production Ready
...
+ Renamed file
2018-02-26 16:53:28 -07:00
Zack T
6e48c8bc70
v0.5 = Added Mobile Device Support & Function to update both Device Types
...
+ Added support for Mobile Devices
+ Created function to handle updating of both Device Types
2018-02-23 21:56:54 -07:00
Zack T
5416c949d9
v0.4 = Changing workflow of the EA
...
- While working through this and testing, found a different way of doing this -- Leaving updateSiteList() Function for others, but I'm not using in my workflow
+ Finalized the update Site EA for Computers, removed from function
2018-02-23 16:37:46 -07:00
Zack T
34ee66b1e4
v0.3 = Created function to update EA for Computer
...
+ Created function to update EA for Computer
2018-02-23 16:15:56 -07:00
Zack T
5b279c179e
v0.2 = Final version of the updateSiteList() Function
...
+ Finalized the updateSiteList() Function
2018-02-23 16:04:34 -07:00
Zack T
52df98095e
Further Code Improvement
...
Further Code Improvement
2018-02-23 11:05:48 -07:00
Zack T
9a615e26dc
General cleanup of current code
...
General cleanup of current code
2018-02-23 10:22:04 -07:00
Zack T
e5afea0e61
v0.1 = Created function for updating the EA's list of Sites
...
+ Created function for updating the EA's list of Sites
2018-02-23 01:31:15 -07:00
Zack T
5d470000b9
v1.0 = Production Ready
...
+ Production Ready
2018-02-23 00:39:07 -07:00
Zack T
96d1b40636
v0.17 = Added a check on the API credentials provided
...
+ Added a check on the API credentials provided to verify that they were valid and had permissions
2018-02-23 00:18:18 -07:00
Zack T
b6ac551260
v0.16 = Finalized the curl "PUT" cmd and other cleanup
...
+ Tested and verified minimum required elements for curl "PUT" cmd to properly configure App
- Removed all unnecessary code from elements that were not needed
- Removed quoting ("") that I had used when originally was doing comma delimited values (now using tab delimited)
2018-02-23 00:18:18 -07:00
Zack T
98325795fe
v0.15 = Added logic that will decide where to send verbose output
...
+ Added a function, informBy(), that will decide where to send verbose output
+ The logic directs the output based on where the script is ran; either from CLI or Jamf
2018-02-23 00:18:18 -07:00
Zack T
e2df84b06f
v0.14 = Added logic to check the API/curl HTTP Status Codes
...
+ Modified the curl commands so that we can get the HTTP Status Codes for each API call and then check each call for success/failures
+ Changed the exitCode() function to checkStatusCode() to compare the HTTP Status Codes
2018-02-23 00:18:18 -07:00
Zack T
89c71b4705
v0.13 = Script can be run via CLI or from a Self Service Policy
...
+ Added and adjusted logic to where the script can be run via CLI or from a Jamf Self Service Policy (for Site Admins)
+ Added option to prompt for credentials
2018-02-23 00:18:18 -07:00
Zack T
c1c669810c
v0.12 = Minor maintenance and cleanup
...
+ Minor mainteanance and cleanup
2018-02-23 00:18:18 -07:00
Zack T
ff804197b2
v0.11 = Resolved issues with the assignApps function
...
+ Resolved issues with the assignApps function
+ Reordered headers that are echo'ed out to the $outFile
2018-02-23 00:18:18 -07:00
Zack T
e45c3ffb4d
v0.10 = Added additional verbosity to several logic structures throughout
...
+ Added additional verbosity to several logic structures throughout
2018-02-23 00:18:18 -07:00
Zack T
6b001d0851
v0.9 = Redefined the curl command structure to work how I wanted
...
+ Fixed the JPS server URL variables
+ Redefined the curl command structure to work how I wanted
+ Fixed header creation to properly output to file
+ Added xml structure to pull additional elements for each App
2018-02-23 00:18:18 -07:00
Zack T
711a1946fe
v0.8 = Added logic to skip the header line on csv read
...
+ Added logic to skip the header line on csv read
+ Added in a check to verify if file exists before trying to read it
2018-02-23 00:18:18 -07:00
Zack T
dbafe5b9ab
v0.7 = Added additional configurable items
...
+ Added additional configurable items
+ Adding headers to the output file for readability
+ Adding an exitCode check on the API calls
2018-02-23 00:18:18 -07:00
Zack T
8dc20ca28c
v0.6 = Cleaned up and optimized code
...
+ Cleaned up and optimized code
+ Changed to a tab delimiter instead of a comma in the output file
2018-02-23 00:18:18 -07:00
Zack T
1a035ce7f8
v0.5 = getApps() function should be finalized
...
+ Slight tweak to the getApps() function
2018-02-23 00:18:18 -07:00