File: cacert.pp

package info (click to toggle)
puppet-module-vswitch 21.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 596 kB
  • sloc: ruby: 2,189; python: 38; sh: 10; makefile: 10
file content (15 lines) | stat: -rw-r--r-- 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# == 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']
}