add fusioninventory agent support
This commit is contained in:
parent
98e4d1b760
commit
58bed7335d
@ -4,8 +4,12 @@ use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
event_link("wpkg-init", "wpkg-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");
|
||||
|
||||
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/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…
Reference in New Issue
Block a user