blob: b9d9b1caf07056d2a2b598c97c4f13815ba9e401 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#
# resolvconf DHCP support
#
# Copyright 2015, Antoine Beaupré <anarcat@koumbit.org>
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of the GNU
# General Public License version 3 as published by
# the Free Software Foundation.
#
class resolvconf::dhcp(
$tail,
)
{
package { 'resolvconf': ensure => installed, }
if $tail {
file { '/etc/resolvconf/resolv.conf.d/tail':
content => $tail,
require => Package['resolvconf'],
}
}
}
|