Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9796 from alphagov/python3
Browse files Browse the repository at this point in the history
Ensure Python 3 is installed
  • Loading branch information
thomasleese authored Nov 6, 2019
2 parents c928eeb + 78566c5 commit 0aa821b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions modules/govuk/manifests/node/s_mapit.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
->
class { 'govuk_postgresql::server::standalone': }

include govuk_python

include collectd::plugin::memcached
class { 'memcached':
max_memory => '12%',
Expand Down
2 changes: 1 addition & 1 deletion modules/govuk_ci/manifests/agent.pp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
include ::govuk_jenkins::pipeline
include ::govuk_jenkins::user
include ::govuk_rbenv::all
include ::govuk_python
include ::govuk_sysdig
include ::govuk_testing_tools
include ::yarn
Expand All @@ -65,7 +66,6 @@
$deb_packages = [
'jq',
'libfreetype6-dev', # govuk-taxonomy-supervised-learning
'python3-dev', # govuk-taxonomy-supervised-learning
'shellcheck',
]

Expand Down
2 changes: 2 additions & 0 deletions modules/govuk_python/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@
}

Class['python::install'] -> Package <| provider == 'pip' and ensure != absent |>

ensure_packages(['python3', 'python3-dev', 'python3-venv'])
}

0 comments on commit 0aa821b

Please sign in to comment.