Changeset 28b073c9b8925b6b5bab4ecdf6b76690e8adf946

Show
Ignore:
Timestamp:
09/18/09 13:29:11 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1253280551 +0000
git-parent:

[3d7f1db296e64b5317f2c362bd9c015e97508bce]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1253280551 +0000
Message:

ship a default CA list for eventer consumers, refs #13

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/Makefile.in

    r0256945 r28b073c  
    160160        $(INSTALL) -m 0755 noitd $(DESTDIR)$(sbindir)/noitd 
    161161        $(INSTALL) -m 0644 noit.conf $(DESTDIR)$(sysconfdir)/noit.conf.sample 
     162        $(INSTALL) -m 0644 default-ca-chain.crt $(DESTDIR)$(sysconfdir)/default-ca-chain.crt 
    162163        (cd modules && make install DESTDIR=$(DESTDIR)) 
    163164        (cd modules-lua && make install DESTDIR=$(DESTDIR)) 
  • src/eventer/eventer_impl.c

    r88a7178 r28b073c  
    9292    return 0; 
    9393  } 
    94   return -1; 
     94  else if(!strcasecmp(key, "default_ca_chain")) { 
     95    /* used by eventer consumers */ 
     96    return 0; 
     97  } 
     98  noitL(noit_error, "Warning: unknown eventer config '%s'\n", key); 
     99  return 0; 
    95100} 
    96101 
  • src/noit.conf.in

    r9332cda r28b073c  
    44    <config> 
    55      <default_queue_threads>10</default_queue_threads> 
     6      <default_ca_chain>%sysconfdir%/default-ca-chain.crt</default_ca_chain> 
    67    </config> 
    78  </eventer>