forked from pndaproject/pnda-heat-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpnda_env_example.yaml
208 lines (171 loc) · 6.31 KB
/
pnda_env_example.yaml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
parameter_defaults:
# NETWORK CONFIGURATION
#
# public_net: UUID of the public network in openstack to use
#
public_net: 5982b761-802a-4af3-9c0b-c3b457559179
#
mine_functions_network_ip_addrs_nic: eth0
#
#
# private_net_cidr: CIDR specifying the address range that the private network
# should be created with
#
private_net_cidr: '192.168.10.0/24'
#
# private_net_pool_start: The first available IP address on the private network
#
private_net_pool_start: '192.168.10.10'
#
# private_net_pool_start: The last available IP address on the private network
#
private_net_pool_end: '192.168.10.250'
#
# private_net_gateway: IP address to use for the network gateway on the private network
#
private_net_gateway: '192.168.10.1'
#
# name_servers: DNS server(s) to use, this should be provided in the environment
#
name_servers: [ "173.38.200.100" ]
#
# image_id: Base image to use for the created instances. It should be created by
# following the guide in https://github.com/pndaproject/pnda-dib-elements
#
image_id: pnda-base
image_id_saltmaster: pnda-base
#
# os_user: Default sudo or root user for the instances created from the image above.
# Often but not always 'cloud-user' on OpenStack platforms.
#
os_user: 'root'
# KEYSTONE CREDENTIALS
#
# keystone_user: Username for the openstack clients to use
#
keystone_user: 'username'
#
# keystone_user: Password for the openstack clients to use
#
keystone_password: 'password'
#
# keystone_tenant: Name of the tenant / project in the openstack environment. The
# PNDA stack will be created in this project.
#
keystone_tenant: 'pnda'
#
# keystone_auth_url: Keystone authentication URL. The Openstack console provides this
# under the Access & Security section.
#
keystone_auth_url: 'http://x.x.x.x:5000/v2.0'
#
# keystone_auth_version: Keystone authentication version. The Openstack console provides this
# under the Access & Security section.
#
keystone_auth_version: '2'
#
# keystone_region_name: Keystone region. The Openstack console provides this
# under the Access & Security section.
#
keystone_region_name: 'regionOne'
#
# hadoop_distro: The distribution of hadoop to install.
#
hadoop_distro: 'CDH'
#
# pnda_archive_container: Swift container for PNDA to use when archiving data
#
pnda_archive_container: 'pnda_archive'
#
# platform_git_repo_uri: The platform-salt git repository url.
#
platform_git_repo_uri: 'https://github.com/pndaproject/platform-salt.git'
#
# GitBranch: The platform-salt git repository branch
#
GitBranch: 'master'
#
# PndaMirror: URI of the mirror for offline installation
#
PndaMirror: 'http://www.example.com'
#
# git_private_key_file: If authenticated access to platform_git_repo_uri is required then this key should be
# provided. This is not normally used now platform-salt is on public github
#
git_private_key_file: deploy
#
# NtpServers: Optional ntp servers. Use this if the standard Ubuntu NTP servers on the Internet cannot be reached
# and a local NTP server has been configured. PNDA will not work without NTP.
# example formats as below
# NtpServers: "['ntp.ubuntu.com', '91.189.94.4', '0.ubuntu.pool.ntp.org']"
# NtpServers: "['ntp.ubuntu.com']"
# NtpServers: ''
NtpServers: "['ntp.ubuntu.com']"
# APPLICATION PACKAGE REPOSITORY
#
# package_repository_fs_type: Type of storage to use for PNDA application packages
# swift - Openstack swift. Also set pnda_apps_container and pnda_apps_folder
# s3 - Amazon S3. Also set pnda_apps_container, pnda_apps_folder, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY and AWS_REGION
# sshfs - standard file system. Also set package_repository_fs_location_path, package_repository_sshfs_user, package_repository_sshfs_host, package_repository_sshfs_path and package_repository_sshfs_key
# local - local filesystem on the package repository service server. Also set package_repository_fs_location_path.
package_repository_fs_type: 'swift'
#
# pnda_apps_container: Name of a container in swift or s3 to use for application packages
#
pnda_apps_container: 'pnda_apps'
#
# pnda_apps_folder: Folder name within pnda_apps_container that contains the application packages
#
pnda_apps_folder: 'releases'
#
# package_repository_fs_location_path: Path to local folder on the package repository service server that contains
# application packages
#
package_repository_fs_location_path: '/mnt/packages'
#
# package_repository_sshfs_user: Username to use when logging in to the sshfs repo
#
#package_repository_sshfs_user: 'cloud-user'
#
# package_repository_sshfs_host: Hostname that contains the sshfs repo
#
#package_repository_sshfs_host: '127.0.0.1'
#
# package_repository_sshfs_path: Path to folder on the sshfs server that contains
# application packages
#
#package_repository_sshfs_path: '/mnt/packages'
#
# package_repository_sshfs_key: RSA key to use when accessing the sshfs server that contains
# application packages
#
#package_repository_sshfs_key: pr_key
#
# S3_ACCESS_KEY_ID: AWS provided key to access the s3 bucket that contains application packages
#
#S3_ACCESS_KEY_ID=xxxx
#
# S3_SECRET_ACCESS_KEY: AWS provided secret key to access the s3 bucket that contains application packages
#
#S3_SECRET_ACCESS_KEY=xxxx
#
# AWS_REGION: AWS region to use to access the s3 bucket that contains application packages
#
#AWS_REGION=xxxx
#
# hypervisor_count: The number of available hypervisors the distribute the Anti-Affiliate servers over.
# This optional parameter can be used to trigger Anti-Affiliate support.
# Commenting out this parameter will disable Anti-Affiliate support altogether.
#
#hypervisor_count: 30
pnda_internal_network: eth0
pnda_ingest_network: eth0
resource_registry:
#
# OS::Pnda::preConfig: the resource definition of a pre configuration file
# that will be run prior to all the other PNDA configuration files.
# Examples:
# To enable the ip tracking config script uncomment the next line.
#OS::Pnda::preConfig : iptracker.yaml
# To enable the ip rejecting config script uncomment the next line.
#OS::Pnda::preConfig : iprejecter.yaml