|
16 | 16 | # See the License for the specific language governing permissions and |
17 | 17 | # limitations under the License. |
18 | 18 |
|
19 | | -# nfs_server_hosts = %w{ |
20 | | -# nfs-server-centos-stream-9 |
21 | | -# nfs-server-ubuntu-2204 |
22 | | -# }.include?(node['hostname']) |
23 | | -# |
24 | | -# if nfs_server_hosts |
25 | | -# node.default['fb_iptables']['filter']['INPUT']['rules']['nfs server'] = { |
26 | | -# 'rules' => [ |
27 | | -# '-p tcp --dport 2049 -j ACCEPT', |
28 | | -# '-p udp --dport 2049 -j ACCEPT', |
29 | | -# ], |
30 | | -# } |
31 | | -# |
32 | | -# directory '/var/nfs' do |
33 | | -# owner node.root_user |
34 | | -# group node.root_group |
35 | | -# mode '0755' |
36 | | -# end |
37 | | -# |
38 | | -# directory '/var/nfs/general' do |
39 | | -# owner 'nobody' |
40 | | -# group node.ubuntu? ? 'nogroup' : 'nobody' |
41 | | -# mode '0777' |
42 | | -# end |
43 | | -# |
44 | | -# node.default['boxcutter_nfs']['server']['exports']['/var/nfs/general'] = %w{ |
45 | | -# *(rw,sync,no_subtree_check,insecure) |
46 | | -# } |
47 | | -# |
48 | | -# include_recipe 'boxcutter_nfs::server' |
49 | | -# end |
50 | | - |
51 | 19 | nexus_hosts = %w{ |
52 | 20 | crake-nexus |
53 | 21 | }.include?(node['hostname']) |
|
359 | 327 | node.run_state['boxcutter_sonatype']['nexus_repository']['admin_password'] = nexus_admin_password |
360 | 328 |
|
361 | 329 | include_recipe 'boxcutter_sonatype::default' |
362 | | - |
363 | | - # node['boxcutter_docker']['buildkits']['x86_64_builder'] = { |
364 | | - # 'name' => 'x86-64-builder', |
365 | | - # 'use' => true, |
366 | | - # } |
367 | | - # node['boxcutter_docker']['contexts']['nvidia_jetson_agx_orin'] = { |
368 | | - # 'name' => 'nvidia-jetson-agx-orin', |
369 | | - # 'docker' => 'host=ssh://craft@10.63.34.15', |
370 | | - # } |
371 | 330 | end |
0 commit comments