mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
FreeBSD < 9.1 is not supported.
This commit is contained in:
parent
bea21852d1
commit
5012fc5f25
1 changed files with 8 additions and 0 deletions
|
@ -1058,6 +1058,14 @@ __check_end_of_life_versions() {
|
|||
fi
|
||||
;;
|
||||
|
||||
freebsd)
|
||||
# FreeBSD versions lower than 9.1 are not supported.
|
||||
if ([ $DISTRO_MAJOR_VERSION -eq 9 ] && [ $DISTRO_MINOR_VERSION -lt 01 ]) || [ $DISTRO_MAJOR_VERSION -lt 9 ]; then
|
||||
echoerror "Versions lower than FreeBSD 9.1 are not supported."
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue