8d5fe5e952
* Create manifest to deploy Ironic services with 'fake' driver. * Add bits to tempest class to enable the service. * Update README. * Add api.baremetal tests so we actually test Ironic. Depends-On: I93fd4740d09b0c7e926c4dba7a7602f4d295d2ea Depends-On: I01c83a6daa3909d4d9b1cb559836b7b5e54c7c7e Change-Id: Ice03be261e687af43e677a9f60a1cc3c79acdf8b
40 lines
1.1 KiB
Puppet
40 lines
1.1 KiB
Puppet
class openstack_integration::ironic {
|
|
|
|
rabbitmq_user { 'ironic':
|
|
admin => true,
|
|
password => 'an_even_bigger_secret',
|
|
provider => 'rabbitmqctl',
|
|
require => Class['::rabbitmq'],
|
|
}
|
|
rabbitmq_user_permissions { 'ironic@/':
|
|
configure_permission => '.*',
|
|
write_permission => '.*',
|
|
read_permission => '.*',
|
|
provider => 'rabbitmqctl',
|
|
require => Class['::rabbitmq'],
|
|
}
|
|
|
|
class { '::ironic':
|
|
rabbit_userid => 'ironic',
|
|
rabbit_password => 'an_even_bigger_secret',
|
|
rabbit_host => '127.0.0.1',
|
|
database_connection => 'mysql+pymysql://ironic:ironic@127.0.0.1/ironic?charset=utf8',
|
|
debug => true,
|
|
verbose => true,
|
|
enabled_drivers => ['fake', 'pxe_ssh', 'pxe_ipmitool'],
|
|
}
|
|
class { '::ironic::db::mysql':
|
|
password => 'ironic',
|
|
}
|
|
class { '::ironic::keystone::auth':
|
|
password => 'a_big_secret',
|
|
}
|
|
class { '::ironic::client': }
|
|
class { '::ironic::api':
|
|
admin_password => 'a_big_secret',
|
|
workers => '2',
|
|
}
|
|
class { '::ironic::conductor': }
|
|
|
|
}
|