Produced by Araxis Merge on 10/2/2017 1:40:10 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | chef-repo.zip\chef-repo\project_cookbooks\vista\recipes | client.rb | Mon May 8 19:59:53 2017 UTC |
| 2 | chef-repo.zip\chef-repo\project_cookbooks\vista\recipes | client.rb | Mon Oct 2 12:41:01 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 184 |
| Changed | 2 | 4 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | # | |
| 2 | # Cookbook Name:: vi sta | |
| 3 | # Recipe:: client | |
| 4 | # | |
| 5 | ||
| 6 | # Add all nodes for the local copies of the vista sites | |
| 7 | vista_site s = find_m ultiple_no des_by_rol e("vista-. *", node[: stack]) | |
| 8 | # If deplo ying the v ista-clien t with no local vist a sites de ployed, ad d | |
| 9 | # this bog us domain to ensure the shortc uts are cr eated | |
| 10 | if vista_s ites.size == 0 | |
| 11 | vista_si tes.push( | |
| 12 | { | |
| 13 | "ipaddress " => " IP " | |
| 14 | }, | |
| 15 | { | |
| 16 | "ipaddress " => " IP " | |
| 17 | } | |
| 18 | ) | |
| 19 | end | |
| 20 | ||
| 21 | # workarou nd for err or: "Chef: :Exception s::Enclosi ngDirector yDoesNotEx ist: Paren t director y C:/opsco de/chef/ca che does n ot exist" | |
| 22 | directory Chef::Conf ig[:file_c ache_path] do | |
| 23 | action : create | |
| 24 | end | |
| 25 | ||
| 26 | remote_fil e "#{Chef: :Config[:f ile_cache_ path]}/vis ta-clients -#{node[:v ista][:cli ent][:vers ion]}.zip" do | |
| 27 | source n ode[:vista ][:client] [:url] | |
| 28 | action : create | |
| 29 | end | |
| 30 | ||
| 31 | # Install VistA GUI clients | |
| 32 | node.norma l[:windows ][:rubyzip version] = '1.0.0' | |
| 33 | windows_zi pfile "c:/ Program Fi les (x86)" do | |
| 34 | source " #{Chef::Co nfig[:file _cache_pat h]}/vista- clients-#{ node[:vist a][:client ][:version ]}.zip" | |
| 35 | overwrit e true | |
| 36 | action : unzip | |
| 37 | end | |
| 38 | ||
| 39 | # Create V istA GUI c lients lin ks | |
| 40 | # Use a cu stom resou rce here t o ensure t he CPRS ve rsions exi st when co mpiling th e shortcut resources | |
| 41 | vista_clie nt_shortcu ts "create shortcuts on Deskto p for each CPRS comp onent" do | |
| 42 | sites vi sta_sites | |
| 43 | action : execute | |
| 44 | end | |
| 45 | ||
| 46 | # Download and Insta ll Visual C++ 2008 | |
| 47 | remote_fil e "#{Chef: :Config[:f ile_cache_ path]}/#{F ile.basena me(node[:v ista][:cli ent][:visu al_studio] [:x86][:ur l])}" do | |
| 48 | source n ode[:vista ][:client] [:visual_s tudio][:x8 6][:url] | |
| 49 | action : create | |
| 50 | notifies :run, 'ex ecute[inst all visual C++ 32-bi t]', :imme diately | |
| 51 | end | |
| 52 | ||
| 53 | execute "i nstall vis ual C++ 32 -bit" do | |
| 54 | command "#{File.ba sename(nod e[:vista][ :client][: visual_stu dio][:x86] [:url])} / qn" | |
| 55 | cwd Chef ::Config[: file_cache _path] | |
| 56 | action : nothing | |
| 57 | end | |
| 58 | ||
| 59 | remote_fil e "#{Chef: :Config[:f ile_cache_ path]}/#{F ile.basena me(node[:v ista][:cli ent][:visu al_studio] [:x64][:ur l])}" do | |
| 60 | source n ode[:vista ][:client] [:visual_s tudio][:x6 4][:url] | |
| 61 | action : create | |
| 62 | notifies :run, 'ex ecute[inst all visual C++ 64-bi t]', :imme diately | |
| 63 | end | |
| 64 | ||
| 65 | execute "i nstall vis ual C++ 64 -bit" do | |
| 66 | command "#{File.ba sename(nod e[:vista][ :client][: visual_stu dio][:x64] [:url])} / qn" | |
| 67 | cwd Chef ::Config[: file_cache _path] | |
| 68 | action : nothing | |
| 69 | end | |
| 70 | ||
| 71 | # Download and Insta ll Cache S tudio | |
| 72 | remote_fil e "#{Chef: :Config[:f ile_cache_ path]}/#{F ile.basena me(node[:v ista][:cli ent][:stud io][:url]) }" do | |
| 73 | source n ode[:vista ][:client] [:studio][ :url] | |
| 74 | action : create | |
| 75 | end | |
| 76 | ||
| 77 | # See docu mentation on silent install at http://do cs.intersy stems.com/ cache20151 /csp/docbo ok/DocBook .UI.Page.c ls?KEY=GCI _windows#G CI_windows _silentins t_run | |
| 78 | execute "i nstall cac he cube" d o | |
| 79 | command "#{File.ba sename(nod e[:vista][ :client][: studio][:u rl])} /ins tance TRYC ACHE /qn A DDLOCAL=cu be,studio" | |
| 80 | cwd Chef ::Config[: file_cache _path] | |
| 81 | not_if { ::File.di rectory?(" C:\\InterS ystems") } | |
| 82 | end | |
| 83 | ||
| 84 | remote_fil e "#{Chef: :Config[:f ile_cache_ path]}/ver gence-desk top-compon ent-#{node [:vista][: vault][:ve rsion]}.zi p" do | |
| 85 | source n ode[:vista ][:vault][ :url] | |
| 86 | action : create | |
| 87 | end | |
| 88 | ||
| 89 | # Place Ve rgence Des ktop Compn ent Instal lers | |
| 90 | windows_zi pfile "c:/ Program Fi les (x86)/ Sentillion " do | |
| 91 | source " #{Chef::Co nfig[:file _cache_pat h]}/vergen ce-desktop -component -#{node[:v ista][:vau lt][:versi on]}.zip" | |
| 92 | overwrit e true | |
| 93 | action : unzip | |
| 94 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.