Skip to content

Commit

Permalink
scale_apache,scale_mailman: enable modules on c8s (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
davide125 authored Mar 27, 2023
1 parent aa27903 commit 8bb15cf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cookbooks/scale_apache/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,13 @@
python2-boto
}

if node.centos8?
node.default['fb_dnf']['modules']['httpd'] = {
'enable' => true,
'stream' => '2.4',
}
end

package pkgs do
action :upgrade
notifies :restart, 'service[apache]'
Expand Down
13 changes: 13 additions & 0 deletions cookbooks/scale_mailman/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,19 @@
python3
python3-boto3
}

node.default['fb_dnf']['modules']['python27'] = {
'enable' => true,
'stream' => '2.7',
}
node.default['fb_dnf']['modules']['python36'] = {
'enable' => true,
'stream' => '3.6',
}
node.default['fb_dnf']['modules']['mailman'] = {
'enable' => true,
'stream' => '2.1',
}
else
fail "scale_mailman: platform not supported"
end
Expand Down

0 comments on commit 8bb15cf

Please sign in to comment.