Add local repo
Change-Id: Ib899b4a8e009486a8c23c53a038133445be32cdb
This commit is contained in:
parent
4da902bec3
commit
3f79f5e7e8
@ -30,9 +30,9 @@ METADATA = {
|
|||||||
'http_proxy': {
|
'http_proxy': {
|
||||||
'_self': {
|
'_self': {
|
||||||
'field': 'general',
|
'field': 'general',
|
||||||
'default_value': 'http://$ipaddr:3128',
|
'default_value': 'http://10.145.89.126:3128',
|
||||||
'options': [
|
'options': [
|
||||||
'http://$ipaddr:3128'
|
'http://10.145.89.126:3128'
|
||||||
],
|
],
|
||||||
'mapping_to': 'http_proxy'
|
'mapping_to': 'http_proxy'
|
||||||
}
|
}
|
||||||
@ -40,9 +40,9 @@ METADATA = {
|
|||||||
'https_proxy': {
|
'https_proxy': {
|
||||||
'_self': {
|
'_self': {
|
||||||
'field': 'general',
|
'field': 'general',
|
||||||
'default_value': 'http://$ipaddr:3128',
|
'default_value': 'http://10.145.89.126:3128',
|
||||||
'options': [
|
'options': [
|
||||||
'http://$ipaddr:3128'
|
'http://10.145.89.126:3128'
|
||||||
],
|
],
|
||||||
'mapping_to': 'https_proxy'
|
'mapping_to': 'https_proxy'
|
||||||
}
|
}
|
||||||
@ -52,13 +52,13 @@ METADATA = {
|
|||||||
'field': 'general_list',
|
'field': 'general_list',
|
||||||
'default_value': [
|
'default_value': [
|
||||||
'127.0.0.1',
|
'127.0.0.1',
|
||||||
'$hostname',
|
'xicheng-126',
|
||||||
'$ipaddr'
|
'10.145.89.126'
|
||||||
],
|
],
|
||||||
'options': [
|
'options': [
|
||||||
'127.0.0.1',
|
'127.0.0.1',
|
||||||
'$hostname',
|
'xicheng-126',
|
||||||
'$ipaddr'
|
'10.145.89.126'
|
||||||
],
|
],
|
||||||
'mapping_to': 'no_proxy'
|
'mapping_to': 'no_proxy'
|
||||||
}
|
}
|
||||||
@ -67,9 +67,9 @@ METADATA = {
|
|||||||
'_self': {
|
'_self': {
|
||||||
'is_required': True,
|
'is_required': True,
|
||||||
'field': 'general',
|
'field': 'general',
|
||||||
'default_value': '$ipaddr',
|
'default_value': '10.145.89.126',
|
||||||
'options': [
|
'options': [
|
||||||
'$ipaddr'
|
'10.145.89.126'
|
||||||
],
|
],
|
||||||
'mapping_to': 'ntp_server'
|
'mapping_to': 'ntp_server'
|
||||||
}
|
}
|
||||||
@ -79,10 +79,10 @@ METADATA = {
|
|||||||
'is_required': True,
|
'is_required': True,
|
||||||
'field': 'general_list',
|
'field': 'general_list',
|
||||||
'default_value': [
|
'default_value': [
|
||||||
'$ipaddr',
|
'10.145.89.126',
|
||||||
],
|
],
|
||||||
'options': [
|
'options': [
|
||||||
'$ipaddr'
|
'10.145.89.126'
|
||||||
],
|
],
|
||||||
'mapping_to': 'nameservers'
|
'mapping_to': 'nameservers'
|
||||||
}
|
}
|
||||||
@ -91,17 +91,17 @@ METADATA = {
|
|||||||
'_self': {
|
'_self': {
|
||||||
'field': 'general',
|
'field': 'general',
|
||||||
'is_required' : True,
|
'is_required' : True,
|
||||||
'default_value': ['$domain'][0],
|
'default_value': ['ods.com'][0],
|
||||||
'options': ['$domain'],
|
'options': ['ods.com'],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'search_path': {
|
'search_path': {
|
||||||
'_self': {
|
'_self': {
|
||||||
'field': 'general_list',
|
'field': 'general_list',
|
||||||
'default_value': [
|
'default_value': [
|
||||||
'$domain'
|
'ods.com'
|
||||||
],
|
],
|
||||||
'options': ['$domain'],
|
'options': ['ods.com'],
|
||||||
'mapping_to': 'search_path'
|
'mapping_to': 'search_path'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -109,9 +109,16 @@ METADATA = {
|
|||||||
'_self': {
|
'_self': {
|
||||||
'is_required': True,
|
'is_required': True,
|
||||||
'field': 'ip',
|
'field': 'ip',
|
||||||
'default_value': '$gateway',
|
'default_value': '10.145.88.1',
|
||||||
'mapping_to': 'gateway'
|
'mapping_to': 'gateway'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
'local_repo': {
|
||||||
|
'_self': {
|
||||||
|
'field': 'general',
|
||||||
|
'default_value': 'http://10.145.89.126/',
|
||||||
|
'mapping_to': 'local_repo'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'server_credentials': {
|
'server_credentials': {
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
## allinone compute management IP/interface
|
## allinone compute management IP/interface
|
||||||
#set allinone_compute_mgmt_nic = $allinone_compute.management.interface
|
#set allinone_compute_mgmt_nic = $allinone_compute.management.interface
|
||||||
#set allinone_compute_mgmt_ip = $allinone_compute.management.ip
|
#set allinone_compute_mgmt_ip = $allinone_compute.management.ip
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "testing",
|
"name": "testing",
|
||||||
"description": "Environment used in testing the upstream cookbooks and reference Chef repository",
|
"description": "Environment used in testing the upstream cookbooks and reference Chef repository",
|
||||||
@ -11,6 +12,7 @@
|
|||||||
"json_class": "Chef::Environment",
|
"json_class": "Chef::Environment",
|
||||||
"chef_type": "environment",
|
"chef_type": "environment",
|
||||||
"default_attributes": {
|
"default_attributes": {
|
||||||
|
"local_repo": ""
|
||||||
},
|
},
|
||||||
"override_attributes": {
|
"override_attributes": {
|
||||||
"mysql": {
|
"mysql": {
|
||||||
|
@ -74,6 +74,7 @@
|
|||||||
"json_class": "Chef::Environment",
|
"json_class": "Chef::Environment",
|
||||||
"chef_type": "environment",
|
"chef_type": "environment",
|
||||||
"default_attributes": {
|
"default_attributes": {
|
||||||
|
"local_repo": "",
|
||||||
"mysql": {
|
"mysql": {
|
||||||
"server_root_password": "test",
|
"server_root_password": "test",
|
||||||
"server_debian_password": "root",
|
"server_debian_password": "root",
|
||||||
|
@ -58,6 +58,7 @@
|
|||||||
"https_proxy": "$getVar('https_proxy', '')",
|
"https_proxy": "$getVar('https_proxy', '')",
|
||||||
"ntp_server": "$ntp_server",
|
"ntp_server": "$ntp_server",
|
||||||
"timezone": "$timezone",
|
"timezone": "$timezone",
|
||||||
"ignore_proxy": "$no_proxy"
|
"ignore_proxy": "$no_proxy",
|
||||||
|
"local_repo": "$local_repo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -59,5 +59,6 @@
|
|||||||
"ntp_server": "$ntp_server",
|
"ntp_server": "$ntp_server",
|
||||||
"timezone": "$timezone",
|
"timezone": "$timezone",
|
||||||
"ignore_proxy": "$no_proxy"
|
"ignore_proxy": "$no_proxy"
|
||||||
|
"local_repo": "$local_repo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user