21 lines
827 B
Markdown
21 lines
827 B
Markdown
|
# Sharp.Augeas
|
||
|
|
||
|
|
||
|
Sharp.Augeas implements an abstraction to be able to use augeas with C# / .NET. it provides a managed class that takes into account the life cycle of the application.
|
||
|
|
||
|
Note: Currently the focus is abstractions with a focus on handling Apache configurations. In the future these abstractions may be associated with various other configurations.
|
||
|
|
||
|
## Instructions
|
||
|
|
||
|
### Ccopy Native wrapper library
|
||
|
|
||
|
`cd Sharp.Augeas && ./copyLibrary.sh`
|
||
|
|
||
|
### Augeas
|
||
|
|
||
|
Augeas must be installed on the system, and the environment variable "AUG_LENS_PATH" must be populated, otherwise an exception will be thrown.
|
||
|
|
||
|
* Mac Os os example, after installing using brew:
|
||
|
`export AUG_LENS_PATH=/opt/homebrew/share/augeas/lenses/dist`
|
||
|
|
||
|
* Debian / Ubuntu (Using package manager): `export AUG_LENS_PATH=/opt/homebrew/share/augeas/lenses/dist`
|