Troubles with pcproto.ini

abmteam
Beiträge: 7
Registriert: 15 Mär 2012, 21:41

Re: Troubles with pcproto.ini

Beitragvon abmteam » 22 Mär 2013, 01:06

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

ritsovih
Beiträge: 38
Registriert: 20 Mär 2013, 09:25

Re: Troubles with pcproto.ini

Beitragvon ritsovih » 22 Mär 2013, 08:36

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

Zakyl
Beiträge: 68
Registriert: 16 Okt 2012, 11:03

Re: Troubles with pcproto.ini

Beitragvon Zakyl » 22 Mär 2013, 09:32

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 ! :)

ritsovih
Beiträge: 38
Registriert: 20 Mär 2013, 09:25

Re: Troubles with pcproto.ini

Beitragvon ritsovih » 22 Mär 2013, 10:15

Excellent abmteam! This works for me too.

thanks,

Ritch

abmteam
Beiträge: 7
Registriert: 15 Mär 2012, 21:41

Re: Troubles with pcproto.ini

Beitragvon abmteam » 22 Mär 2013, 19:48

This problem had occured here in Brazil with me.