Files
puppet-vswitch/manifests/pki/cacert.pp
Takashi Kajinami 10f574dc53 Replace params by hieradata
The params class is the legacy approach to define OS/version specific
values. This replaces the params class by the module hieradata
following the recent standard.

Change-Id: I046267279720e969b0ddde821fafff00e517e728
2023-10-17 11:05:19 +09:00

16 lines
367 B
Puppet

# == class: vswitch::pki::cacert
#
# Initialize CA authority
#
class vswitch::pki::cacert {
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 == 'openvswitch' |>
-> Exec['ovs-pki-init-ca-authority']
}