File tree Expand file tree Collapse file tree 12 files changed +104
-9
lines changed Expand file tree Collapse file tree 12 files changed +104
-9
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ cfncluster-cookbook CHANGELOG
3
3
4
4
This file is used to list changes made in each version of the cfncluster cookbook.
5
5
6
+ 1.4.1
7
+ -----
8
+
9
+ Major new features/updates:
10
+
11
+ - Updated to latest cfncluster-node 1.4.3
12
+
6
13
1.4.0
7
14
-----
8
15
Original file line number Diff line number Diff line change 19
19
default [ 'cfncluster' ] [ 'scripts_dir' ] = "#{ node [ 'cfncluster' ] [ 'base_dir' ] } /scripts"
20
20
default [ 'cfncluster' ] [ 'license_dir' ] = "#{ node [ 'cfncluster' ] [ 'base_dir' ] } /licenses"
21
21
# Python packages
22
- default [ 'cfncluster' ] [ 'cfncluster-node-version' ] = '1.4.2 '
22
+ default [ 'cfncluster' ] [ 'cfncluster-node-version' ] = '1.4.3 '
23
23
default [ 'cfncluster' ] [ 'cfncluster-supervisor-version' ] = '3.3.1'
24
24
# URLs to software packages used during install receipes
25
25
# Gridengine software
Original file line number Diff line number Diff line change @@ -80,8 +80,12 @@ sudo /bin/sed -r -i -e 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/co
80
80
# install) and turning off ifnames, because a bunch of the scripts expect
81
81
# to find eth0. Should handle the eth naming better, but that's todo.
82
82
echo " Updating Grub command line"
83
- sudo /bin/sed -r -i -e ' s/GRUB_CMDLINE_LINUX="(.*)"/GRUB_CMDLINE_LINUX="\1 net.ifnames=0 rd.driver.blacklist=nouveau nouveau.modeset=0"/' /etc/default/grub
84
- sudo grub2-mkconfig -o /boot/grub2/grub.cfg
83
+ if test $is_centos6 -eq 1; then
84
+ sudo grubby --update-kernel=ALL --args=" net.ifnames=0 rd.driver.blacklist=nouveau nouveau.modeset=0"
85
+ else
86
+ sudo /bin/sed -r -i -e ' s/GRUB_CMDLINE_LINUX="(.*)"/GRUB_CMDLINE_LINUX="\1 net.ifnames=0 rd.driver.blacklist=nouveau nouveau.modeset=0"/' /etc/default/grub
87
+ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
88
+ fi
85
89
86
90
echo " Update Complete. Rebooting."
87
91
# sleep for 30 seconds to make sure packer doesn't try to run the next
Original file line number Diff line number Diff line change 40
40
echo " Cleaning out old kernels"
41
41
sudo package-cleanup -y --oldkernels --count=1
42
42
43
+ if test $is_centos6 -eq 1; then
44
+ sudo yum install -y cloud-init cloud-utils dracut-modules-growroot cloud-utils-growpart
45
+ rpm -qa kernel-lt | sed ' s/^kernel-lt-//' | xargs -I {} sudo dracut -f /boot/initramfs-{}.img {}
46
+ fi
47
+
43
48
echo " Cleaning up filesystem"
44
49
sudo rm -rf /tmp/* /var/tmp/* /var/log/* /etc/ssh/ssh_host*
45
50
sudo rm -rf /root/* /root/.ssh /root/.history /root/.bash_history
Original file line number Diff line number Diff line change 6
6
long_description 'Installs/Configures cfncluster'
7
7
issues_url 'https://github.com/awslabs/cfncluster-cookbook/issues'
8
8
source_url 'https://github.com/awslabs/cfncluster-cookbook'
9
- version '1.4.0 '
9
+ version '1.4.1 '
10
10
11
11
depends 'build-essential' , '~> 8.0.2'
12
12
depends 'poise-python' , '~> 1.6.0'
Original file line number Diff line number Diff line change 103
103
},
104
104
{
105
105
"type" : " chef-solo" ,
106
+ "remote_cookbook_paths" : [
107
+ " /etc/chef/cookbooks"
108
+ ],
109
+ "skip_install" : " true" ,
110
+ "execute_command" : " sudo chef-client -z --no-color -c {{.ConfigPath}} -j {{.JsonPath}}" ,
111
+ "run_list" : [
112
+ " cfncluster::_update_packages"
113
+ ]
114
+ },
115
+ {
116
+ "type" : " shell" ,
117
+ "expect_disconnect" : " true" ,
118
+ "inline" : [
119
+ " sudo reboot"
120
+ ]
121
+ },
122
+ {
123
+ "type" : " chef-solo" ,
124
+ "pause_before" : " 2m" ,
106
125
"json" : {
107
126
"cfncluster" : {
108
127
"nvidia" : {
Original file line number Diff line number Diff line change 17
17
{
18
18
"type" : " amazon-ebs" ,
19
19
"region" : " us-east-1" ,
20
- "source_ami" : " ami-9ff841e5 " ,
20
+ "source_ami" : " ami-44f1aa3e " ,
21
21
"ami_regions" : " {{user `build_for`}}" ,
22
22
"ami_groups" : " {{user `ami_perms`}}" ,
23
23
"instance_type" : " {{user `instance_type`}}" ,
Original file line number Diff line number Diff line change 17
17
{
18
18
"type" : " amazon-ebs" ,
19
19
"region" : " us-east-1" ,
20
- "source_ami" : " ami-01098c7b " ,
20
+ "source_ami" : " ami-06fea57c " ,
21
21
"ami_regions" : " {{user `build_for`}}" ,
22
22
"ami_groups" : " {{user `ami_perms`}}" ,
23
23
"instance_type" : " {{user `instance_type`}}" ,
103
103
},
104
104
{
105
105
"type" : " chef-solo" ,
106
+ "remote_cookbook_paths" : [
107
+ " /etc/chef/cookbooks"
108
+ ],
109
+ "skip_install" : " true" ,
110
+ "execute_command" : " sudo chef-client -z --no-color -c {{.ConfigPath}} -j {{.JsonPath}}" ,
111
+ "run_list" : [
112
+ " cfncluster::_update_packages"
113
+ ]
114
+ },
115
+ {
116
+ "type" : " shell" ,
117
+ "expect_disconnect" : " true" ,
118
+ "inline" : [
119
+ " sudo reboot"
120
+ ]
121
+ },
122
+ {
123
+ "type" : " chef-solo" ,
124
+ "pause_before" : " 2m" ,
106
125
"json" : {
107
126
"cfncluster" : {
108
127
"nvidia" : {
Original file line number Diff line number Diff line change 111
111
},
112
112
{
113
113
"type" : " chef-solo" ,
114
+ "remote_cookbook_paths" : [
115
+ " /etc/chef/cookbooks"
116
+ ],
117
+ "skip_install" : " true" ,
118
+ "execute_command" : " sudo chef-client -z --no-color -c {{.ConfigPath}} -j {{.JsonPath}}" ,
119
+ "run_list" : [
120
+ " cfncluster::_update_packages"
121
+ ]
122
+ },
123
+ {
124
+ "type" : " shell" ,
125
+ "expect_disconnect" : " true" ,
126
+ "inline" : [
127
+ " sudo reboot"
128
+ ]
129
+ },
130
+ {
131
+ "type" : " chef-solo" ,
132
+ "pause_before" : " 2m" ,
114
133
"json" : {
115
134
"cfncluster" : {
116
135
"nvidia" : {
Original file line number Diff line number Diff line change 111
111
},
112
112
{
113
113
"type" : " chef-solo" ,
114
+ "remote_cookbook_paths" : [
115
+ " /etc/chef/cookbooks"
116
+ ],
117
+ "skip_install" : " true" ,
118
+ "execute_command" : " sudo chef-client -z --no-color -c {{.ConfigPath}} -j {{.JsonPath}}" ,
119
+ "run_list" : [
120
+ " cfncluster::_update_packages"
121
+ ]
122
+ },
123
+ {
124
+ "type" : " shell" ,
125
+ "expect_disconnect" : " true" ,
126
+ "inline" : [
127
+ " sudo reboot"
128
+ ]
129
+ },
130
+ {
131
+ "type" : " chef-solo" ,
132
+ "pause_before" : " 2m" ,
114
133
"json" : {
115
134
"cfncluster" : {
116
135
"nvidia" : {
You can’t perform that action at this time.
0 commit comments