Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Active System Manager Release 8.2 SDK Reference Guide

PDF

Content of an Application Module

An Application Module is typically a Puppet module plus one additional metadata file called asm_input.json. Technically, the minimal Application module could include only an asm_input.json file with nothing else, acting simply as a manifest or partial manifest. In that case, any required classes should already have been included in another application module or modules. Here is an example layout of the application module directory for the more typical case.
 my_module /
                                    |-- asm_input.json
                                    |-- files
                                    |-- Gemfile
                                    |-- manifests
                                    |   `-- init.pp
                                    |-- metadata.json
                                    |-- Rakefile
                                    |-- README.md
                                    `-- tests
                                    
                                 

Key files of interest are:

asm_input.json is a JSON file containing metadata describing the puppet classes and types that should be exposed in the ASM UI.

metadata.json is a JSON file containing metadata about the puppet module itself. It contains data such as `name`, `version`, `author`, and the version of Puppet the module is expected to function with, operating systems it supports, and ruby gems that it requires. A full description of this file can be found in the Puppet documentation.

  • NOTE: In fact, ASM does not require a `metadata.json` file at all, but if one is present and contains values for these fields, they can be omitted in the `asm_input.json` and the values from the `metadata.json` file is used.

Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\