resources: augeas: Make augeas support optional

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto
2017-02-13 07:03:35 +01:00
parent 35d3328e3e
commit 3261c405bd
4 changed files with 41 additions and 2 deletions

View File

@@ -558,7 +558,7 @@ no binary available continue working in a temporary directory to avoid failure.
You can control some compilation variables by using environment variables.
#### Disable livirt support
#### Disable libvirt support
If you wish to compile mgmt without libvirt, you can use the following command:
@@ -566,6 +566,20 @@ If you wish to compile mgmt without libvirt, you can use the following command:
GOTAGS=novirt make build
```
#### Disable augeas support
If you wish to compile mgmt without augeas support, you can use the following command:
```
GOTAGS=noaugeas make build
```
#### Combining compile-time flags
You can combine multiple tags by using a space-separated list:
GOTAGS="noaugeas novirt" make build
## Examples
For example configurations, please consult the [examples/](https://github.com/purpleidea/mgmt/tree/master/examples) directory in the git
source repository. It is available from: