- correcting "host_ip" entry to be "host" entry for magnum.conf - correcting "userid" to be "rabbit_userid" entry inside magnum.conf - db sync function - beaker tests are working on Ubuntu as well - update metadata.json with new openstacklib version - as we don't have a database parameters in main class we don't want to pickup values from it inside db class Adding: - client class with client package installation - examples folder with example which works with Mitaka release - spec for db_sync - adding nodesets spec for CentOS 7.2 - adding class and spec for creating user and domain for trust setup: http://osdir.com/ml/openstack-dev/2016-02/msg02123.html - class to configure cert_manager_type properties Known issues: - In CentOS/RDP cannot create magnum bay due to the neutron issues: https://bugs.launchpad.net/magnum/+bug/1575524 - Trust domain and trust domain user has to be set to ID, not a names. Bug reported to magnum devs: https://bugs.launchpad.net/puppet-magnum/+bug/1581372 Change-Id: Ib923f79da691b5c71bb1c4efba8935c774598888
63 lines
1.5 KiB
Puppet
63 lines
1.5 KiB
Puppet
# Example: enabling magnum module in Puppet
|
|
|
|
rabbitmq_user { 'magnum':
|
|
admin => true,
|
|
password => 'an_even_bigger_secret',
|
|
provider => 'rabbitmqctl',
|
|
require => Class['::rabbitmq'],
|
|
}
|
|
|
|
rabbitmq_user_permissions { 'magnum@/':
|
|
configure_permission => '.*',
|
|
write_permission => '.*',
|
|
read_permission => '.*',
|
|
provider => 'rabbitmqctl',
|
|
require => Class['::rabbitmq'],
|
|
}
|
|
|
|
class { '::magnum::db::mysql':
|
|
password => 'magnum',
|
|
}
|
|
|
|
class { '::magnum::db':
|
|
database_connection => 'mysql://magnum:magnum@127.0.0.1/magnum',
|
|
}
|
|
|
|
class { '::magnum::keystone::domain':
|
|
domain_password => 'oh_my_no_secret',
|
|
}
|
|
|
|
class { '::magnum::api':
|
|
admin_password => 'a_big_secret',
|
|
auth_uri => 'http://127.0.0.1:5000/',
|
|
identity_uri => 'http://127.0.0.1:35357/',
|
|
host => '127.0.0.1',
|
|
}
|
|
|
|
class { '::magnum::keystone::auth':
|
|
password => 'a_big_secret',
|
|
public_url => 'http://127.0.0.1:9511/v1',
|
|
internal_url => 'http://127.0.0.1:9511/v1',
|
|
admin_url => 'http://127.0.0.1:9511/v1',
|
|
}
|
|
|
|
class { '::magnum':
|
|
rabbit_host => '127.0.0.1',
|
|
rabbit_port => '5672',
|
|
rabbit_userid => 'magnum',
|
|
rabbit_password => 'an_even_bigger_secret',
|
|
rabbit_use_ssl => false,
|
|
notification_driver => 'messagingv2',
|
|
}
|
|
|
|
class { '::magnum::conductor':
|
|
}
|
|
|
|
class { '::magnum::client':
|
|
}
|
|
|
|
class { '::magnum::certificates':
|
|
cert_manager_type => 'local'
|
|
}
|
|
|