Skip to content

Commit

Permalink
Merge pull request flux-framework#76 from garlick/config_file
Browse files Browse the repository at this point in the history
etc: install config file for signing
  • Loading branch information
grondo authored Jun 11, 2018
2 parents 782c556 + 43242d2 commit f9e1e96
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SUBDIRS = src t
SUBDIRS = src etc t
ACLOCAL_AMFLAGS = -I config
EXTRA_DIST = \
config/tap-driver.sh \
Expand Down
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ AC_PKGCONFIG
AS_VAR_SET(fluxlibdir, $libdir/flux)
AC_SUBST(fluxlibdir)

AS_VAR_SET(fluxcfdir, $sysconfdir/flux/conf.d)
AC_SUBST(fluxcfdir)
AS_VAR_SET(fluxsecuritycfdir, $sysconfdir/flux/security/conf.d)
AC_SUBST(fluxsecuritycfdir)

AS_VAR_SET(fluxsecurityincludedir, $includedir/flux/security)
AC_SUBST(fluxsecurityincludedir)
Expand All @@ -103,6 +103,7 @@ AC_CONFIG_FILES( \
src/libutil/Makefile \
src/libca/Makefile \
src/imp/Makefile \
etc/Makefile \
)

AC_OUTPUT
1 change: 1 addition & 0 deletions etc/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist_fluxsecuritycf_DATA = sign.toml
4 changes: 4 additions & 0 deletions etc/sign.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[sign]
max-ttl = 1209600 # 2 weeks
default-type = "munge"
allowed-types = [ "munge" ]
2 changes: 1 addition & 1 deletion src/lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AM_LDFLAGS = \

AM_CPPFLAGS = \
-I$(top_srcdir) \
-DINSTALLED_CF_PATTERN=\"$(fluxcfdir)/*.toml\" \
-DINSTALLED_CF_PATTERN=\"$(fluxsecuritycfdir)/*.toml\" \
$(SODIUM_CFLAGS) $(JANSSON_CFLAGS) $(MUNGE_CFLAGS)

lib_LTLIBRARIES = \
Expand Down

0 comments on commit f9e1e96

Please sign in to comment.