You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| source | String,nil | 'recursor.conf.erb' | No |
298
-
| variables | Hash | {} | No |
299
298
| virtual | Boolean | false | No |
300
299
301
300
-`cookbook` : Cookbook for a custom configuration template.
302
301
-`config_dir` : Path of the recursor configuration directory.
303
-
-`socket_dir` : Directory where sockets are created.
304
302
-`source` : Name of the recursor custom template.
305
-
-`variables`: Variables for the configuration template.
306
303
-`virtual` : Is this a virtual instance or the default?
307
304
308
305
### pdns_recursor_service
@@ -329,34 +326,24 @@ pdns_recursor_service 'default' do
329
326
end
330
327
```
331
328
332
-
Configure a virtual PowerDNS recursor service instance named 'my_recursor' in your wrapper cookbook for Acme Corp with a custom template named `my-recursor.erb`
329
+
Configure a virtual PowerDNS recursor service instance named 'my_recursor' in your wrapper cookbook for Acme Corp with a custom template named `my-virtual-recursor.erb`
333
330
334
331
```ruby
335
332
pdns_recursor_service 'my_recursor'do
336
333
virtual true
337
-
source 'my-recursor.erb'
334
+
source 'my-virtual-recursor.erb'
338
335
cookbook 'acme-pdns-recursor'
339
336
end
340
337
```
341
338
342
-
##### Customize the default recursor installation and change it's port to 54
343
-
344
-
```ruby
345
-
pdns_recursor_config 'default'do
346
-
variables(
347
-
'local-port' => '54'
348
-
)
349
-
end
350
-
```
339
+
##### Customize the default recursor installation
351
340
352
341
Create a PowerDNS recursor configuration named 'my_recursor' in your wrapper cookbook for Acme Corp which uses a custom template named `my-recursor.erb` and a few attributes:
0 commit comments