Add a event script to copy the global cert bundle to fusioninventory settings dir, so it can be deployed on clients

tags/wpkg-fusioninventory-2.4-0.beta1
Daniel Berteaud 11 years ago
parent 38b7e587f5
commit 3daede5bb4
  1. 7
      createlinks
  2. 3
      root/etc/e-smith/events/actions/wpkg-fusioninventory-cacert

@ -0,0 +1,7 @@
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
event_link("wpkg-fusioninventory-cacert", "wpkg-update", "30");
event_link("wpkg-fusioninventory-cacert", "bootstrap-console-save", "80");

@ -0,0 +1,3 @@
#!/bin/sh
/bin/cp -f /etc/pki/tls/certs/ca-bundle.crt /home/e-smith/files/shares/wpkg/files/settings/fusioninventory/cacert.pem
Loading…
Cancel
Save