Updated all templates to use instance variables
This commit is contained in:
parent
a0c854d3c0
commit
dc51af1ca2
113 changed files with 527 additions and 522 deletions
|
@ -21,11 +21,13 @@
|
|||
# nameservers => ['192.168.1.100', '192.168.1.101', '192.168.1.102'],
|
||||
# }
|
||||
#
|
||||
class resolver($domainname = "", $searchpath = "", $nameservers ) {
|
||||
file { "/etc/resolv.conf":
|
||||
owner => root,
|
||||
group => root,
|
||||
mode => 644,
|
||||
content => template("resolver/resolv.conf.erb"),
|
||||
}
|
||||
class resolver($domainname = "", $searchpath = [], $nameservers) {
|
||||
|
||||
file { "/etc/resolv.conf":
|
||||
owner => "root",
|
||||
group => "root",
|
||||
mode => "0644",
|
||||
content => template("resolver/resolv.conf.erb"),
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue