-
Notifications
You must be signed in to change notification settings - Fork 2
/
metadata.json
29 lines (29 loc) · 1.71 KB
/
metadata.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"dependencies": {
},
"name": "dhcpd",
"maintainer_email": "[email protected]",
"attributes": {
},
"license": "Apache License, Version 2.0",
"suggestions": {
},
"platforms": {
},
"maintainer": "Joshua SS Miller",
"long_description": "= DESCRIPTION:\nA simple install of dhcpd server on ubuntu\n\n= REQUIREMENTS:\n\nTested on Ubuntu 10.04\n\n= ATTRIBUTES:\n\nThe defaults I use here are based on a guide I am writting so you will likely want to override for your env\n\ndefault[:dhcpd][:version] = FALSE\ndefault[:dhcpd][:interfaces] = [ 'eth0' ]\ndefault[:dhcpd][:next_server] = \"10.0.198.11\"\ndefault[:dhcpd][:routers] = \"10.0.198.1\"\ndefault[:dhcpd][:netmask] = \"255.255.254.0\"\ndefault[:dhcpd][:subnet] = '10.0.198.0'\ndefault[:dhcpd][:range] = [ '10.0.199.201', '10.0.199.250' ]\ndefault[:dhcpd][:default_leaser_time] = \"600\"\ndefault[:dhcpd][:max_lease_time] = \"7200\"\ndefault[:dhcpd][:filename] = \"/pxelinux.0\"\ndefault[:dhcpd][:nameservers] = [ '10.0.198.11' ]\ndefault[:dhcpd][:domain] = [ 'internal.mydomain.net' ]\n\n\n\n= USAGE:\n\n\ncreate the following role, or apply the attributes one of your existing roles on the server you want to be your dhcpd server\n\nname \"dhcpserver\"\ndescription \"a simple dhcpd server\"\noverride_attributes(\n \"dhcpd\" => {\n \"interfaces\" => [ 'eth1' ],\n \"tftp_server\" => \"10.0.198.11\",\n \"gateway\" => \"10.0.198.1\",\n \"netmask\" => \"255.255.254.0\"\n }\n)\nrun_list(\n \"recipe[dhcpd]\"\n)\n\n",
"version": "0.1.1",
"recommendations": {
},
"recipes": {
},
"groupings": {
},
"conflicting": {
},
"replacing": {
},
"description": "Installs/Configures dhcpd",
"providing": {
}
}