Update README.md

This commit is contained in:
Enrico Bacis 2015-09-11 20:52:51 +02:00
parent 227feb4909
commit e9451c683a
1 changed files with 42 additions and 1 deletions

View File

@ -1,2 +1,43 @@
# nethserver-networkpackagemanager
NetworkPackageManager for NethServer
----------------------------------
*NetworkPackageManager* is a [NethServer][1] plugin used to define the linux
packages to be installed on remote Ansible-managed machines having defined
roles.
## Usage
----------------------------------
The plugins shows a table where each line represents a role. For each role it
is possible to define a list of packages to be installed and a list of packages
to be removed from all the machines assigned to that role.
The informations are stored in a NethServer *e-smith* database called `roles`,
which can be queries with:
db roles getjson
## Installation
----------------------------------
You just have to copy the directories `Module`, `Template` and `Language` in:
/usr/share/nethesis/NethServer
You should end up with the following files:
* `/usr/share/nethesis/NethServer/Module/NetworkPackageManager.php`
* `/usr/share/nethesis/NethServer/Template/NetworkPackageManager/CreateUpdate.php`
* `/usr/share/nethesis/NethServer/Language/en/NethServer_Module_NetworkPackageManager.php`
* `/usr/share/nethesis/NethServer/Language/it/NethServer_Module_NetworkPackageManager.php`
After that, the entry *Network Package Manager* should be listed in the
*Administration* section of your NethServer installation.
## TODO
----------------------------------
* We still have to create the Help file with information shown to the system
administrator in the help tab.
[1]: http://www.nethserver.org