chore: added section about default plugins to README
This commit is contained in:
parent
8960c2478a
commit
0c87336d58
1 changed files with 6 additions and 0 deletions
|
|
@ -199,6 +199,12 @@ makeshift plugins compile src/example.go -o $MAKESHIFT_ROOT/plugins/example.so
|
|||
> [!TIP]
|
||||
> Make sure you move all of your plugins to `$MAKESHIFT_ROOT/plugins` to use them and should have an `*.so` name for lookup. For example, to use a custom plugin with `makeshift download -p templates/hosts.j2 --plugins my-plugin`, there has to a plugin `$MAKESHIFT_ROOT/plugins/my-plugin.so`.
|
||||
|
||||
### Built-in Plugins
|
||||
|
||||
There is a collection of built-in plugins that can be compiled using the helper script in `bin/compile-plugins.so` and saved to `$MAKESHIFT_ROOT/plugins`.
|
||||
|
||||
See the README for [`jinja`](pkg/plugins/jinja2/README.md) and [`smd`](pkg/plugins/smd/README.md) for more details.
|
||||
|
||||
## Creating Profiles
|
||||
|
||||
On the other hand, profiles are simply objects that contain data used to populate data stores. The `makeshift` tool does not currently use all fields of a profile which will likely be removed in the near future.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue