Fast Backups, Stress-free, Rapid Recovery. With its exclusive SmartCloneâ„¢ technology, Casper can maintain a complete backup replacement hard drive or image file backup for your system in the same amount of time required by other backup and disk imaging software to perform a partial or incremental backup to a proprietary archive.
Description
This set of scripts was designed to work with the Casper Suite for Mac management.The purpose of the scripts is to allow a Mac Casper Suite administrator to update any number of Extension Attribute values on their managed Macs, on as frequent a basis as they want, without needing to perform a full inventory collection.
Compatibility
Requirements and Workflow
The requirements to enable this functionality is as follows
General Workflow:
Note that the Extension Attribute scripts directory can be protected by making it hidden and/or protected by having it owned by the root account, as long as the 'update' script is running with root privileges.
Setting up your EA scripts:
In order for the script to properly set up the final xml file for upload, it needs to know the correct EA Display Name for each script as it encounters it.To do this, you will need to edit each script to contain a single commented out line in the following format:
The whitespace between #ea_display_name and Actual Display Name is a single tab character. This is important. A space will not be recognized correctly. This line can be anywhere in the script. The update-extension-attributes script will look for the line and pull the EA Display Name to use for the xml file. The readable display name can contain spaces and most special characters, such as dashes, colons, etc. (see the Known Issues section for more)
In general, this should be the only necessary change to your Extension Attribute scripts. However there are some known issues in relation to the results the scripts may output. See the Known Issues section below for more information.
Using the download-extension-attributes companion script:
The download-extension-attributes.sh script is a companion script that can be used in conjunction with a Casper Suite 9 series JSS to pull down all Extension Attributes into discrete script files to a given directory. The script will also verify each script by running them against the Mac and checking both the output and exit status. Any scripts that fail will be moved to a sub directory. Any scripts that contain illegal characters in the output will be moved into a separate sub directory.
For usage information, run the scrpt on the command line as follows:
Known Issues
The following are the current known issues with these scripts
Illegal characters
There are several illegal characters that, while they may work without errors in your regular Extension Attribute scripts, can cause a failure of the resulting xml file when the upload is attempted.Here are the currently known characters:
The download-extension-attributes script will make a best effort to identify scripts that contain any of the above characters in the results and move these scripts into a Problem_scripts sub directory.
Any problem or failed scripts will remain in these directories, so you'll have an opportunity to examine them and rectify any issues if desired. Once confirmed working, you'll need to move the scripts into the top level of the scripts directory. The update-extension-attributes script only searches one level deep for script files to run at execution time.
Multi line results display
Depending on the specific version of the JSS you're using, multi line Extension Attribute results may not appear properly when viewed in the JSS. This often turns out to be a bug in the JSS version and not necessarily an issue with the script. Early versions of Casper Suite 9.x had this issue, but has been resolved in at least version 9.3, but possibly earlier releases.
Thank you for using our Mac software library. FDMLib bears no responsibility for the safety of the software downloaded from external sites.
Often downloaded with
Editors & Converters
4Videosoft DVD to iPad Suite for Mac
Editors & Converters
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |