Project

General

Profile

« Previous | Next » 

Revision 8636fb9b

Added by Omar Wit almost 9 years ago

Add arbitrary options via array to dhcpd.conf

Closes GH-49

View differences:

spec/classes/init_spec.rb
:pxeserver => '10.0.0.5',
:pxefilename => 'mypxefilename',
:option_static_route => true,
:options => ['provision-url code 224 = text', 'provision-type code 225 = text'],
} end
let(:facts) do {
......
'option pxegrub code 150 = text ;',
'option rfc3442-classless-static-routes code 121 = array of integer 8;',
'option ms-classless-static-routes code 249 = array of integer 8;',
'option provision-url code 224 = text;',
'option provision-type code 225 = text;',
'next-server 10.0.0.5;',
'filename "mypxefilename";',
'log-facility local7;',

Also available in: Unified diff