-
Notifications
You must be signed in to change notification settings - Fork 5
/
cinder.pp
36 lines (29 loc) · 864 Bytes
/
cinder.pp
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
class trystack::cinder {
class {'cinder::base':
rabbit_password => '',
sql_connection => "mysql://cinder:${cinder_db_password}@10.100.0.222/cinder"
}
cinder_config{
"DEFAULT/rpc_backend": value => "cinder.openstack.common.rpc.impl_qpid";
"DEFAULT/qpid_hostname": value => "10.100.0.222";
"DEFAULT/glance_host": value => "10.100.0.222";
}
class {'cinder::api':
keystone_password => "${cinder_user_password}",
keystone_tenant => "services",
keystone_user => "cinder",
keystone_auth_host => "10.100.0.222",
}
class {'cinder::scheduler':
}
class {'cinder::volume':
}
class {'cinder::volume::iscsi':
iscsi_ip_address => '10.100.0.2'
}
firewall { '001 cinder incoming':
proto => 'tcp',
dport => ['3260', '8776'],
action => 'accept',
}
}