Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9123703
README.md
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
574 B
Subscribers
None
README.md
View Options
#
puppet
-
resolv_conf
Manage
resolv
.
conf
via
Puppet
##
How
to
use
```
class
{
'
resolv_conf
'
:
domainname
=>
'
example
.
com
'
,
searchpath
=>
'
example
.
com
'
,
nameservers
=>
[
'
192.168
.
0.1
'
,
'
192.168
.
1.1
'
,
'
192.168
.
2.1
'
],
options
=>
[
'
timeout
:
2
'
,
'
attempts
:
3
'
],
}
```
###
Use
dnsmasq
**
You
need
saz
-
dnsmasq
module
**
```
class
{
'
resolv_conf
'
:
domainname
=>
'
example
.
com
'
,
searchpath
=>
'
example
.
com
'
,
nameservers
=>
[
'
192.168
.
0.1
'
,
'
192.168
.
1.1
'
,
'
192.168
.
2.1
'
],
use_dnsmasq
=>
true
,
}
```
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 21, 5:58 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3376146
Attached To
rSPRESO Manage /etc/resolv.conf with puppet
Event Timeline
Log In to Comment