initial commit
This commit is contained in:
2
OPSI/changelog.txt
Normal file
2
OPSI/changelog.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
Don't add cahngelog entries here!
|
||||
It get autogenerated by the opsi-builder.sh
|
||||
88
OPSI/control
Normal file
88
OPSI/control
Normal file
@@ -0,0 +1,88 @@
|
||||
[Package]
|
||||
version: 2
|
||||
depends:
|
||||
incremental: False
|
||||
|
||||
[Product]
|
||||
type: localboot
|
||||
id: opsi-template
|
||||
name: opsi template product
|
||||
description: A template for opsi products
|
||||
advice:
|
||||
version: 4.0.2
|
||||
priority: 0
|
||||
licenseRequired: False
|
||||
productClasses:
|
||||
setupScript: setup3264.ins
|
||||
uninstallScript: uninstall3264.ins
|
||||
updateScript:
|
||||
alwaysScript:
|
||||
onceScript:
|
||||
customScript:
|
||||
userLoginScript:
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: install_architecture
|
||||
multivalue: False
|
||||
editable: False
|
||||
description: which architecture (32/64 bit) has to be installed
|
||||
values: ["32 only", "64 only", "both", "system specific"]
|
||||
default: ["system specific"]
|
||||
|
||||
[ProductDependency]
|
||||
action: setup
|
||||
requiredProduct: sereby.aio
|
||||
requiredStatus: installed
|
||||
requirementType: before
|
||||
|
||||
[ProductDependency]
|
||||
action: setup
|
||||
requiredProduct: openvpn.manager
|
||||
requiredStatus: installed
|
||||
requirementType: before
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: htaccess-password
|
||||
multivalue: False
|
||||
editable: True
|
||||
description: Password for downloading configfiles
|
||||
values: [""]
|
||||
default: ["secret"]
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: htaccess-user
|
||||
multivalue: False
|
||||
editable: True
|
||||
description: Username for downloading configfiles
|
||||
values: [""]
|
||||
default: [""]
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: base-url
|
||||
multivalue: False
|
||||
editable: True
|
||||
description: url for downloading configfiles, is extended by PCName or htaccess FileName in background
|
||||
values: [""]
|
||||
default: ["https://domain.com/openvpn"]
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: htaccess-file
|
||||
multivalue: False
|
||||
editable: True
|
||||
description: Filename of the openvpn config zip file
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: method
|
||||
multivalue: False
|
||||
editable: False
|
||||
description: What should we do:
|
||||
"pc-name" : use the Pcname for the zip file name
|
||||
"filename-from-property": get filename from property 'htaccess-file'
|
||||
values: ["filename-from-property", "pc-name"]
|
||||
default: ["pc-name"]
|
||||
9
OPSI/postinst
Normal file
9
OPSI/postinst
Normal file
@@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# postinst script for softprod
|
||||
# This script executes after unpacking files from that archive and registering the product at the server.
|
||||
#
|
||||
# The following environment variables can be used to obtain information about the current installation:
|
||||
# PRODUCT_ID: id of the current product
|
||||
# CLIENT_DATA_DIR: directory which contains the installed client data
|
||||
#
|
||||
9
OPSI/preinst
Normal file
9
OPSI/preinst
Normal file
@@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# preinst script for softprod
|
||||
# This script executes before that package will be unpacked from its archive file.
|
||||
#
|
||||
# The following environment variables can be used to obtain information about the current installation:
|
||||
# PRODUCT_ID: id of the current product
|
||||
# CLIENT_DATA_DIR: directory where client data will be installed
|
||||
#
|
||||
Reference in New Issue
Block a user