|
27 | 27 | include_examples 'ni_packages' |
28 | 28 | include_examples 'nexusctio' |
29 | 29 | it { is_expected.to contain_class('mate') } |
| 30 | + it { is_expected.to contain_class('profile::util::xfce') } |
| 31 | + it { is_expected.to contain_package('freeglut-devel') } # missing opengl lib |
30 | 32 |
|
31 | 33 | # XXX hexrot uses devicemapper, so the docker example group isn't included |
32 | 34 | it do |
|
45 | 47 | ensure: 'present', |
46 | 48 | provider: 'git', |
47 | 49 | source: 'https://github.com/lsst-ts/ts_config_mttcs.git', |
48 | | - revision: 'v0.12.8', |
| 50 | + revision: 'v0.16.4', |
49 | 51 | keep_local_changes: 'false' |
50 | 52 | ) |
51 | 53 | end |
52 | 54 |
|
53 | 55 | pkgs = { |
| 56 | + 'numpy' => { |
| 57 | + 'channel' => 'conda-forge', |
| 58 | + 'version' => '1.26.4', |
| 59 | + }, |
54 | 60 | 'pyside6' => { |
55 | 61 | 'channel' => 'conda-forge', |
56 | | - 'version' => '6.7.0', |
| 62 | + 'version' => '6.7.2', |
57 | 63 | }, |
58 | 64 | 'qasync' => { |
59 | 65 | 'channel' => 'conda-forge', |
60 | | - 'version' => '0.23.0', |
| 66 | + 'version' => '0.27.1', |
61 | 67 | }, |
62 | 68 | 'qt6-charts' => { |
63 | 69 | 'channel' => 'conda-forge', |
64 | | - 'version' => '6.7.0', |
| 70 | + 'version' => '6.7.2', |
| 71 | + }, |
| 72 | + 'ts-guitool' => { |
| 73 | + 'channel' => 'lsstts', |
| 74 | + 'version' => '0.2.5', |
| 75 | + }, |
| 76 | + 'ts-hexgui' => { |
| 77 | + 'channel' => 'lsstts', |
| 78 | + 'version' => '0.4.1', |
| 79 | + }, |
| 80 | + 'ts-hexrotcomm' => { |
| 81 | + 'channel' => 'lsstts', |
| 82 | + 'version' => '1.3.3', |
65 | 83 | }, |
66 | 84 | 'ts-m2com' => { |
67 | 85 | 'channel' => 'lsstts', |
68 | | - 'version' => '1.5.6', |
| 86 | + 'version' => '1.5.9', |
69 | 87 | }, |
70 | 88 | 'ts-m2gui' => { |
71 | 89 | 'channel' => 'lsstts', |
72 | | - 'version' => '1.0.3', |
| 90 | + 'version' => '1.1.4', |
| 91 | + }, |
| 92 | + 'ts-mtdomecom' => { |
| 93 | + 'channel' => 'lsstts', |
| 94 | + 'version' => '0.2.4', |
| 95 | + }, |
| 96 | + 'ts-mtdomegui' => { |
| 97 | + 'channel' => 'lsstts', |
| 98 | + 'version' => '0.4.4', |
| 99 | + }, |
| 100 | + 'ts-rotgui' => { |
| 101 | + 'channel' => 'lsstts', |
| 102 | + 'version' => '0.4.1', |
73 | 103 | }, |
74 | 104 | } |
75 | 105 |
|
|
96 | 126 | ) |
97 | 127 | end |
98 | 128 |
|
99 | | - it do |
100 | | - is_expected.to contain_file('/rubin/mtm2/python').with( |
101 | | - ensure: 'directory', |
102 | | - owner: '73006', |
103 | | - group: '73006' |
104 | | - ) |
| 129 | + ['/rubin/mtm2/python', '/rubin/rotator/python', '/rubin/hexapod/python', '/rubin/mtm2/python'].each do |path| |
| 130 | + it do |
| 131 | + is_expected.to contain_file(path).with( |
| 132 | + ensure: 'directory', |
| 133 | + owner: '73006', |
| 134 | + group: '73006' |
| 135 | + ) |
| 136 | + end |
105 | 137 | end |
106 | 138 |
|
107 | | - it do |
108 | | - is_expected.to contain_file('/rubin/mtm2/python/run_m2gui').with( |
109 | | - ensure: 'link', |
110 | | - owner: '73006', |
111 | | - group: '73006', |
112 | | - target: '/opt/anaconda/envs/py311/bin/run_m2gui' |
113 | | - ) |
| 139 | + symlinks = { |
| 140 | + '/rubin/mtm2/python/run_m2gui' => '/opt/anaconda/envs/py311/bin/run_m2gui', |
| 141 | + '/rubin/hexapod/python/run_hexgui' => '/opt/anaconda/envs/py311/bin/run_hexgui', |
| 142 | + '/rubin/dome/python/run_mtdomegui' => '/opt/anaconda/envs/py311/bin/run_mtdomegui', |
| 143 | + '/rubin/rotator/python/run_rotgui' => '/opt/anaconda/envs/py311/bin/run_rotgui' |
| 144 | + } |
| 145 | + |
| 146 | + symlinks.each do |source, dst| |
| 147 | + it do |
| 148 | + is_expected.to contain_file(source).with( |
| 149 | + ensure: 'link', |
| 150 | + owner: '73006', |
| 151 | + group: '73006', |
| 152 | + target: dst |
| 153 | + ) |
| 154 | + end |
114 | 155 | end |
115 | 156 |
|
116 | | - ['/rubin/rotator', '/rubin/hexapod', '/rubin/mtm2'].each do |path| |
| 157 | + ['/rubin/rotator', '/rubin/hexapod', '/rubin/mtm2', '/rubin/dome'].each do |path| |
117 | 158 | it do |
118 | 159 | is_expected.to contain_file(path).with( |
119 | 160 | ensure: 'directory', |
|
124 | 165 | end |
125 | 166 | end |
126 | 167 |
|
127 | | - ['/rubin/rotator/log', '/rubin/hexapod/log', '/rubin/mtm2/log'].each do |path| |
| 168 | + ['/rubin/rotator/log', '/rubin/hexapod/log', '/rubin/mtm2/log', '/rubin/dome/log'].each do |path| |
128 | 169 | it do |
129 | 170 | is_expected.to contain_file(path).with( |
130 | 171 | ensure: 'directory', |
|
0 commit comments