Puppet Class: interface::rpstools
- Defined in:
- modules/interface/manifests/rpstools.pp
Overview
SPDX-License-Identifier: Apache-2.0 Class: interface::rpstools
Populate tools used to set RPS for an interface
Note that this is explicitly split in a separate class. It is used only in definition interface::rps and this split allows up to avoid duplicate definitions of the file resource.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'modules/interface/manifests/rpstools.pp', line 9
class interface::rpstools {
file { '/usr/local/sbin/interface-rps':
owner => 'root',
group => 'root',
mode => '0555',
source => 'puppet:///modules/interface/interface-rps.py',
require => Package['ethtool'],
}
file { '/etc/interface-rps.d':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}
}
|