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
|
# File 'modules/openstack/manifests/keystone/bootstrap.pp', line 2
class openstack::keystone::bootstrap(
$region,
$db_user,
$db_pass,
$admin_token,
) {
file {'/etc/keystone/bootstrap':
ensure => 'directory',
owner => 'root',
group => 'root',
mode => '0655',
}
file { '/etc/keystone/bootstrap/admintoken':
owner => 'keystone',
group => 'keystone',
mode => '0544',
content => template('openstack/bootstrap/keystone/admintoken.erb'),
require => File['/etc/keystone/bootstrap'],
}
file { '/etc/keystone/bootstrap/seed.sh':
owner => 'keystone',
group => 'keystone',
mode => '0544',
content => template('openstack/bootstrap/keystone/keystone_seed.sh.erb'),
require => File['/etc/keystone/bootstrap'],
}
file { '/etc/keystone/bootstrap/keystone.conf.bootstrap':
owner => 'keystone',
group => 'keystone',
mode => '0544',
content => template('openstack/bootstrap/keystone/keystone.conf.bootstrap.erb'),
require => File['/etc/keystone/bootstrap'],
}
}
|