Hide deprecation warnings in Ubuntu 20.04
This commit is contained in:
parent
234d19b652
commit
b989bd3d54
10
manifests/ubuntu_2004.pp
Normal file
10
manifests/ubuntu_2004.pp
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Class for Ubuntu 20.04
|
||||
class sunetdrive::ubuntu_2004() {
|
||||
if $facts['os']['name'] == 'Ubuntu' and $facts['os']['distro']['release']['full'] == '20.04' {
|
||||
# Hide deprecation warnings for Ubuntu 2004
|
||||
file_line {'env_rubyopt':
|
||||
path => '/etc/environment',
|
||||
line => 'RUBYOPT=\'-W0\'',
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue