Creating your first package
Link to the complete package module:
https://docs.medulla-tech.io/books/medulla-guide-dutilisation-pas-a-pas/chapter/chapitre-8-packages
-
Creating a package involves defining an action (installation, uninstallation, script, etc.) that will be deployed on one or more workstations. The creation form allows you to precisely configure the package’s behavior and its execution options.
Here we will create a simple package, without adding a workflow, solely to install a simple application such as Notepad++.
Next, select the source of the files to be used in the package. Four options are available:
Get a Notepad++ installer, for example, then click:
-
Upload from this page
Import the installation files directly from your computer. - Don’t forget to click “Submit pending files.”
General information to provide
Share
SelectGlobal Packages to make the package visible across the entire platform, for all Entities.
Name
Give the package a descriptive name, for example: InstallNotepad
Special characters (except: _ and -) and accented characters are not allowed.
Version
Specify a version number, e.g., 1.0.0 or the Notepad++ version.
Description
Briefly summarize the purpose of the package.
Operating System
Select the target OS, for example:Windows.
Define the technical deployment details
Transfer method
Generally, use pushrsync (recommended): Server -> Rsync -> Machine.
Link to inventory
Enable this option to allow tracking of the package after installation via the GLPI inventory, if desired.
As you type the first three letters, autocomplete will activate.
You can add custom actions to the package, depending on your needs:
Here, our wizard will automatically determine, based on rules, the correct command to run the installation file to install the application in silent mode.
-
Run a command or script (When adding a file to the "Package Source" package, our wizard automatically adds the correct command to run the setup file and install the application silently)
Once all sections have been configured and verified
ClickAddto save the package.
It will then be accessible from the "Packages > Package List" library for use in a deployment.