
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
16 lines
367 B
Puppet
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']
|
|
}
|