add fusioninventory agent support

tags/0.0.1
Daniel Berteaud 13 years ago
parent 98e4d1b760
commit 58bed7335d
  1. 4
      createlinks
  2. 34
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x64.reg/10All
  3. 0
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x64.reg/template-begin
  4. 34
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x86.reg/10All
  5. 0
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x86.reg/template-begin

@ -4,8 +4,12 @@ use esmith::Build::CreateLinks qw(:all);
event_link("wpkg-init", "wpkg-update", "20"); event_link("wpkg-init", "wpkg-update", "20");
event_link("wpkg-init", "ipasserelle-update", "20"); event_link("wpkg-init", "ipasserelle-update", "20");
event_link("wpkg-update-packages", "wpkg-update", "30");
event_link("initialize-default-databases", "wpkg-update", "02"); event_link("initialize-default-databases", "wpkg-update", "02");
templates2events("/home/e-smith/files/shares/wpkg/files/settings/wpkg-gp/Wpkg-GP.ini", qw(wpkg-update bootstrap-console-save)); templates2events("/home/e-smith/files/shares/wpkg/files/settings/wpkg-gp/Wpkg-GP.ini", qw(wpkg-update bootstrap-console-save));
templates2events("/home/e-smith/files/shares/tools/files/scripts/conf.bat", qw(wpkg-update bootstrap-console-save)); templates2events("/home/e-smith/files/shares/tools/files/scripts/conf.bat", qw(wpkg-update bootstrap-console-save));
templates2events("/home/e-smith/files/shares/wpkg/files/config.xml", qw(wpkg-update bootstrap-console-save)); templates2events("/home/e-smith/files/shares/wpkg/files/config.xml", qw(wpkg-update bootstrap-console-save));
templates2events("/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x86.reg", qw(wpkg-update bootstrap-console-save));
templates2events("/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x64.reg", qw(wpkg-update bootstrap-console-save));

@ -0,0 +1,34 @@
Windows Registry Editor Version 5.00
{
my $server = ${'fusioninventory-agent'}{'Server'} || 'https://inventory.firewall-services.com/';
my $user = ${'fusioninventory-agent'}{'User'} || $DomainName;
my $pass = ${'fusioninventory-agent'}{'Password'} || 'secret';
my $out .=<"EOF";
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\FusionInventory-Agent]
"server"="$server"
"tag"="$DomainName"
"user"="$user"
"password"="$pass"
"realm"=""
"ca-cert-file"=""
"no-ssl-check"="0"
"proxy"=""
"rpc-port"=""
"debug"="1"
"rpc-trust-localhost"="1"
"scan-homedirs"="0"
"basevardir"="C:\\\\Program Files (x86)\\\\FusionInventory-Agent\\\\dumps"
"share-dir"="C:\\\\Program Files (x86)\\\\FusionInventory-Agent\\\\share"
"logfile"="C:\\\\Program Files (x86)\\\\FusionInventory-Agent\\\\agent-log.txt"
"logfile-maxsize"="5"
EOF
$out =~ s/\n/\r\n/g;
$OUT = $out;
}

@ -0,0 +1,34 @@
Windows Registry Editor Version 5.00
{
my $server = ${'fusioninventory-agent'}{'Server'} || 'https://inventory.firewall-services.com/';
my $user = ${'fusioninventory-agent'}{'User'} || $DomainName;
my $pass = ${'fusioninventory-agent'}{'Password'} || 'secret';
my $out .=<"EOF";
[HKEY_LOCAL_MACHINE\SOFTWARE\FusionInventory-Agent]
"server"="$server"
"tag"="$DomainName"
"user"="$user"
"password"="$pass"
"realm"=""
"ca-cert-file"=""
"no-ssl-check"="0"
"proxy"=""
"rpc-port"=""
"debug"="1"
"rpc-trust-localhost"="1"
"scan-homedirs"="0"
"basevardir"="C:\\\\Program Files\\\\FusionInventory-Agent\\\\dumps"
"share-dir"="C:\\\\Program Files\\\\FusionInventory-Agent\\\\share"
"logfile"="C:\\\\Program Files\\\\FusionInventory-Agent\\\\agent-log.txt"
"logfile-maxsize"="5"
EOF
$out =~ s/\n/\r\n/g;
$OUT = $out;
}
Loading…
Cancel
Save