Adding README to explain inapt and packages

This commit is contained in:
Gianni Gambetti 2015-02-27 21:04:12 -05:00
parent 90de059156
commit 698aecca27
1 changed files with 21 additions and 0 deletions

21
README Normal file
View File

@ -0,0 +1,21 @@
These are the CSC's package lists. They should be used to keep all of the machines up to date, and limit installation differences between them.
### inapt primer
`inapt` is a wrapper around the `apt-get` tool for managing packages. It is used to group machines and the services that we want to have installed on them.
`inapt` takes a list of files, and builds up a package list for that machine. By default, it only activates the profile for the hostname of the machine, but accepts other profiles by having `--profile PROFILE` passed through the command line.
### usage example
```
sudo inapt nodes.ia packages.ia # what you're going to do to update CSC machines
```
### inapt syntax examples
See nodes.ia for setting up of profiles, and packages.ia for the use of profiles to select package lists.