Seite 2 von 2

Re: Troubles with pcproto.ini

Verfasst: 22 Mär 2013, 01:06
von abmteam
Hello,

Add in your pcproto.ini file the last 6 lines below:

[localboot_product_states]
7zip = not_installed:setup
videolan.vlc = not_installed:setup

[7zip-state]
modificationtime = 2013-03-21 21:05:00 (a valid time)
producttype = LocalbootProduct

[videolan.vlc-sate]
modificationtime = 2013-03-21 21:05:00 (a valid time)
producttype = LocalbootProduct

Att.
Alexandre

Re: Troubles with pcproto.ini

Verfasst: 22 Mär 2013, 08:36
von ritsovih
This is my dispatch.conf file's contents:

Code: Alles auswählen

# -*- coding: utf-8 -*-
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
# =      backend dispatch configuration                                                                         =
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#
# This file configures which methods are dispatched to which backends.
# Entries has to follow the form:
# <regular expression to match method name(s)> : <comma separated list of backend name(s)>
#
# Backend names have to match a backend configuraton file basename <backend name>.conf beneath /etc/opsi/backends.
# For every method executed on backend dispatcher the first matching regular expression will be decisive.
#
# Typical configurations:
#    file, opsipxeconfd and dhcpd backend:
#       backend_.*         : file, opsipxeconfd, dhcpd
#       host_.*            : file, opsipxeconfd, dhcpd
#       productOnClient_.* : file, opsipxeconfd
#       configState_.*     : file, opsipxeconfd
#       .*                 : file
#
#    jsonrpc, opsipxeconfd and dhcpd backend:
#       backend_.*         : jsonrpc, opsipxeconfd, dhcpd
#       .*                 : jsonrpc
#
#    ldap as main backend, mysql as hw/sw invent and license management backend, opsipxeconfd and dhcpd backend:
#       backend_.*         : ldap, mysql, opsipxeconfd, dhcpd
#       host_.*            : ldap, opsipxeconfd, dhcpd
#       productOnClient_.* : ldap, opsipxeconfd
#       configState_.*     : ldap, opsipxeconfd
#       license.*          : mysql
#       softwareLicense.*  : mysql
#       audit.*            : mysql
#       .*                 : ldap
#

backend_.*         : file, opsipxeconfd
host_.*            : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.*     : file, opsipxeconfd
.*                 : file

Re: Troubles with pcproto.ini

Verfasst: 22 Mär 2013, 09:32
von Zakyl
abmteam hat geschrieben:Hello,

Add in your pcproto.ini file the last 6 lines below:

[localboot_product_states]
7zip = not_installed:setup
videolan.vlc = not_installed:setup

[7zip-state]
modificationtime = 2013-03-21 21:05:00 (a valid time)
producttype = LocalbootProduct

[videolan.vlc-sate]
modificationtime = 2013-03-21 21:05:00 (a valid time)
producttype = LocalbootProduct

Att.
Alexandre
It works for me but just for my first package ! I tried it :

Code: Alles auswählen

[localboot_product_states]
7zip = not_installed:setup
firefox = not_installed:setup

[7zip-state]
modificationtime = 2013-03-21 21:05:00
producttype = LocalbootProduct

[firefox-sate]
modificationtime = 2013-03-21 21:05:00
producttype = LocalbootProduct
EDIT: Bad word "firefox-sate" ==> state ^^'

EDIT 2 : I tried for all my packages I need, it works, really useful, lot of thanks ! :)
I think you need to put it in the documentation ! :)

Re: Troubles with pcproto.ini

Verfasst: 22 Mär 2013, 10:15
von ritsovih
Excellent abmteam! This works for me too.

thanks,

Ritch

Re: Troubles with pcproto.ini

Verfasst: 22 Mär 2013, 19:48
von abmteam
This problem had occured here in Brazil with me.