Commit 514914fd153200134f06135e1629e2371637bac4

Authored by Athos
1 parent 804913a0

Install EPEL package first

Some of the installed packages depend on EPEL (e.g. htop). In this
sense, it is interesting to activate EPEL vefore trying to install those
packages.
Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
cookbooks/basics/recipes/default.rb
  1 +# enable EPEL repository by default
  2 +package 'epel-release'
  3 +
1 package 'vim' 4 package 'vim'
2 package 'bash-completion' 5 package 'bash-completion'
3 package 'rsyslog' 6 package 'rsyslog'
@@ -13,9 +16,6 @@ end @@ -13,9 +16,6 @@ end
13 # FIXME on Debian it's postgresql-client 16 # FIXME on Debian it's postgresql-client
14 package 'postgresql' 17 package 'postgresql'
15 18
16 -# enable EPEL repository by default  
17 -package 'epel-release'  
18 -  
19 # key for our custom repositories 19 # key for our custom repositories
20 if node['platform'] == 'centos' 20 if node['platform'] == 'centos'
21 cookbook_file '/etc/yum.repos.d/softwarepublico.key' do 21 cookbook_file '/etc/yum.repos.d/softwarepublico.key' do