Puppet Class: aptrepo::tftp
- Defined in:
- modules/aptrepo/manifests/tftp.pp
Overview
SPDX-License-Identifier: Apache-2.0 We need /srv/tftboot populated from volatile on APT repo servers, not just install (TFTP) servers because installer files are fetched via HTTP (T252382)
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'modules/aptrepo/manifests/tftp.pp', line 4
class aptrepo::tftp () {
file { '/srv/tftpboot':
# config files in the puppet repository,
# larger files like binary images in volatile
source => [
'puppet:///modules/install_server/tftpboot',
# lint:ignore:puppet_url_without_modules
'puppet:///volatile/tftpboot',
# lint:endignore
],
sourceselect => all,
mode => '0444',
owner => 'root',
group => 'root',
recurse => true,
purge => true,
force => true,
backup => false,
}
}
|