1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---
tags:
- puppet
---
```
file_line {
'/etc/sysconfig/libvirt-guests onboot':
path => '/etc/default/libvirt-guests',
line => 'ON_BOOT=ignore',
match => 'ON_BOOT=';
'/etc/libvirt/qemu.conf vnctls':
path => '/etc/libvirt/qemu.conf',
line => 'vnc_tls = 0',
match => '^#?vnc_tls = ',
notify => Service['libvirt'];
'/etc/libvirt/qemu.conf vnctls_verify':
path => '/etc/libvirt/qemu.conf',
line => 'vnc_tls_x509_verify = 0',
match => 'vnc_tls_x509_verify =',
notify => Service['libvirt'];
'/etc/libvirt/qemu.conf tls':
path => '/etc/libvirt/qemu.conf',
match => '^default_tls_x509_cert_dir = "/etc/pki/qemu"$',
line => '#default_tls_x509_cert_dir = "/etc/pki/qemu"',
notify => Service['libvirt'];
'/etc/libvirt/qemu.conf tls_verify':
path => '/etc/libvirt/qemu.conf',
match => '^default_tls_x509_verify = 1$',
line => '#default_tls_x509_verify = 1',
notify => Service['libvirt'];
}
```
|