Debian Codegraph @

lib/ansible/module_utils/facts/hardware/dragonfly.py

raw
1 # This file is part of Ansible
2 #
3 # Ansible is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation, either version 3 of the License, or
6 # (at your option) any later version.
7 #
8 # Ansible is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
15
16 from __future__ import annotations
17
18 from ansible.module_utils.facts.hardware.base import HardwareCollector
19 from ansible.module_utils.facts.hardware.freebsd import FreeBSDHardware
20
21
22 class DragonFlyHardwareCollector(HardwareCollector):
23 # Note: This uses the freebsd fact class, there is no dragonfly hardware fact class
24 _fact_class = FreeBSDHardware
25 _platform = 'DragonFly'