
... so that users can more easily generate and manage certificates used by ovs and ovn. Change-Id: Ie7f0c3b6d7e5b760e14adef973497810b06669cd
17 lines
416 B
Puppet
17 lines
416 B
Puppet
# == class: vswitch::pki::cacert
|
|
#
|
|
# Initialize CA authority
|
|
#
|
|
class vswitch::pki::cacert {
|
|
include vswitch::params
|
|
|
|
exec { 'ovs-pki-init-ca-authority':
|
|
command => 'ovs-pki init --force',
|
|
creates => '/var/lib/openvswitch/pki/switchca',
|
|
path => ['/usr/sbin', '/sbin', '/usr/bin', '/bin'],
|
|
}
|
|
|
|
Package<| title == $::vswitch::params::ovs_package_name |>
|
|
-> Exec['ovs-pki-init-ca-authority']
|
|
}
|