recognize wxallowed mount option

This commit is contained in:
jasper 2016-06-02 09:52:37 +00:00
parent 446e107ec4
commit bfb6807b1d
2 changed files with 18 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.30 2016/06/02 07:36:19 jasper Exp $
# $OpenBSD: Makefile,v 1.31 2016/06/02 09:52:37 jasper Exp $
# XXXTODO: Subpackage facter.jar for use with puppetserver
COMMENT = collect and display system facts
DISTNAME = facter-3.1.8
REVISION = 0
SHARED_LIBS += facter 3.0 # 3.2
PKGSPEC = facter->=3.0,<4.0
CATEGORIES = sysutils

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-lib_src_facts_bsd_filesystem_resolver_cc,v 1.6 2016/06/02 09:52:38 jasper Exp $
https://github.com/puppetlabs/facter/pull/1347
--- lib/src/facts/bsd/filesystem_resolver.cc.orig Thu Jun 2 11:45:23 2016
+++ lib/src/facts/bsd/filesystem_resolver.cc Thu Jun 2 11:45:30 2016
@@ -73,6 +73,9 @@ namespace facter { namespace facts { namespace bsd {
make_tuple<unsigned int, string>(MNT_JOURNALED, "journaled"),
make_tuple<unsigned int, string>(MNT_DEFWRITE, "deferwrites"),
#endif
+#ifdef __OpenBSD__
+ make_tuple<unsigned int, string>(MNT_WXALLOWED, "wxallowed"),
+#endif
};
vector<string> options;