Révision 8ef25aa2
Install netbase for /etc/services file
spec/setup_acceptance_node.pp | ||
---|---|---|
1 |
|
|
2 |
|
|
3 |
# We need to have a /etc/services file to avoid: |
|
4 |
# `Servname not supported for ai_socktype` during nft validate |
|
5 |
# maybe module itself should install this package |
|
6 |
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995343 |
|
7 |
|
|
8 |
if $facts['os']['name'] == 'Ubuntu' and $facts['os']['release']['major'] == '20.04' { |
|
9 |
package{'netbase': |
|
10 |
ensure => present, |
|
11 |
} |
|
12 |
} |
Formats disponibles : Unified diff