File: cacert.pp

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