To differentiate between two ServerTemplates, revealing what has been added, removed or modified to produce their differences
Table of Contents
Similar to the way you can differentiate between two RightScripts, you can also run a diff to see the differences between two ServerTemplates. You select the two ServerTemplates in drop-down menu fashion. The output of your diff shows the two ServerTemplates in parallel, with colored text highlights of all added, removed, and modified attributes.
A common use case for this is when you want to see, in detail, the differences between two ServerTemplates after a new ServerTemplate release. Another possible use case is when you have cloned a ServerTemplate, spent some time working on it, then perhaps left it untouched for some period of time. Running a diff on the original and the clone will quickly catch you up to speed with respect to what has changed. You can also follow that up with running a diff on the two latest versions of your newer cloned ServerTemplate to pin point exactly what you had been working on most recently.
The following is a basic example of how to perform a diff on two ServerTemplates, including sample output.
* Alternatively, you can select the Diff action button here, and specify both ServerTemplates in the drop down menu. It is easier to have this filled out for you when selecting the ServerTemplate name however, particularly because the default version numbers are usually correct and you can often proceed by simply pressing the Diff action button.
A cookbook change will be highlighted for the following reasons:
When a script is dragged up/down the list, it will be highlighted as removed and added in the differential markup.
When you select a ServerTemplate name, the default versions in the drop down are usually correct, and what you would want to run a diff against. However, you can specify any existing revisions. The "To" entry is the most recent non-Head version. The default "From" entry is the version prior to that. For example, if your ServerTemplate has 5 revisions (rev 5 down to rev 1), the defaults would be:
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.