Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,24 @@ groups:
spawn: ubuntu
```

up will spawn the necessary VMs and install cfengine using cf-remote
`up` will spawn the necessary VMs and install cfengine using cf-remote

```
```bash
cfengine up config.yaml
```

To validate the config, one can run:
```bash
cfengine up --validate config.yaml
```

Every time `up` is run, it will do all the necessary (spawn, destroy, install, uninstall) to reconciliate the current state with the input configuration. After a successful run, the applied configuration is saved. On subsequent runs, CFEngine compares the previously applied configuration with the current configuration and applies only the necessary changes.

To ignore the previously saved configuration and apply the current configuration as-is, run:
```bash
cfengine up --reset config.yaml
```

## Supported platforms and versions

This tool will only support a limited number of platforms, it is not intended to run everywhere CFEngine runs.
Expand Down
Loading