Skip to content

Commit

Permalink
Merge pull request #470 from qld-gov-au/github-468-drop-python2
Browse files Browse the repository at this point in the history
GitHub 468 drop python2
  • Loading branch information
ThrawnCA authored Oct 28, 2024
2 parents bfc4334 + 80db82f commit 2996f68
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 139 deletions.
3 changes: 1 addition & 2 deletions attributes/ckan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@
#

default['datashades']['ckan_web']['endpoint'] = '/'
default['datashades']['ckan_web']['packages'] = ['xml-commons', 'git', 'libxslt', 'libxslt-devel', 'libxml2', 'libxml2-devel', 'libxslt', 'libxslt-devel', 'gcc', 'gcc-c++', 'make', 'xalan-j2', 'unzip', 'squid']
default['datashades']['ckan_web']['packages'] = ['xml-commons', 'git', 'libxslt', 'libxslt-devel', 'libxml2', 'libxml2-devel', 'libxslt', 'libxslt-devel', 'gcc', 'gcc-c++', 'make', 'python3-devel', 'xalan-j2', 'unzip', 'squid']
default['datashades']['ckan_web']['alternative_packages'] = [
['postgresql', 'postgresql15'],
['postgresql-devel', 'postgresql15-server-devel'],
['python27-devel', 'python3-devel'],
['policycoreutils-python', 'policycoreutils-python-utils'],
]

Expand Down
3 changes: 1 addition & 2 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@

default['datashades']['backup']['retention'] = '30'

default['datashades']['core']['packages'] = ['nfs-utils', 'clamav', 'gcc', 'jq', 'perl-Switch', 'perl-DateTime', 'perl-Sys-Syslog', 'perl-LWP-Protocol-https', 'perl-Digest-SHA.x86_64', 'git', 'telnet', 'cronie']
default['datashades']['core']['packages'] = ['nfs-utils', 'clamav', 'gcc', 'jq', 'perl-Switch', 'perl-DateTime', 'perl-Sys-Syslog', 'perl-LWP-Protocol-https', 'perl-Digest-SHA.x86_64', 'python3-pip', 'git', 'telnet', 'cronie']
default['datashades']['core']['alternative_packages'] = [
['postfix', 'sendmail'],
['yum-cron', 'dnf-automatic'],
['python27-pip', 'python3-pip'],
]
default['datashades']['core']['unwanted-packages'] = ['java-1.7.0-openjdk']

Expand Down
2 changes: 1 addition & 1 deletion recipes/nginx-configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@

service 'nginx' do
supports :restart => true, :reload => true, :status => true
action [:start, :reload]
action [:enable, :start, :reload]
end
6 changes: 0 additions & 6 deletions recipes/nginx-setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,3 @@
EOH
not_if { ::File.exist?("/etc/ssl/certs/wild.#{node['datashades']['tld']}.crt") }
end

# Startup services
#
service 'nginx' do
action [:enable, :start]
end
34 changes: 0 additions & 34 deletions templates/default/installckandbuser.py.erb

This file was deleted.

73 changes: 0 additions & 73 deletions templates/default/installdatastore.py.erb

This file was deleted.

21 changes: 0 additions & 21 deletions templates/default/installpostgis.py.erb

This file was deleted.

0 comments on commit 2996f68

Please sign in to comment.