Skip to content

Commit

Permalink
Add support for NetBSD
Browse files Browse the repository at this point in the history
While I only checked on NetBSD 7.0, it seems to use the same
rc system as FreeBSD so it should be working for now.
  • Loading branch information
mscherer authored and bcoca committed Dec 13, 2016
1 parent 6ffd494 commit db8719c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ansible/modules/system/hostname.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,11 @@ class FreeBSDHostname(Hostname):
distribution = None
strategy_class = FreeBSDStrategy

class NetBSDHostname(Hostname):
platform = 'NetBSD'
distribution = None
strategy_class = FreeBSDStrategy


# ===========================================

Expand Down

0 comments on commit db8719c

Please sign in to comment.