diff --git a/src/content/docs.html b/src/content/docs.html index 39ba28e..4b2533b 100644 --- a/src/content/docs.html +++ b/src/content/docs.html @@ -280,7 +280,11 @@ ignore_package_versions = true
$ enroll diff --old /path/to/harvestA --new /path/to/harvestB --exclude-path /var/anacron --ignore-package-versions
+ $ enroll diff \
+--old /path/to/harvestA \
+--new /path/to/harvestB \
+--exclude-path /var/spool/anacron \
+--ignore-package-versions
ansible-playbook is on PATH, Enroll can generate a manifest from the old harvest and apply it locally to restore expected state. It avoids package downgrades, and will often run Ansible with --tags role_... so only the roles implicated by the drift are applied. This is very much like a return to Puppet's agent mode!$ enroll diff \
+--old /path/to/harvestA \
+--new /path/to/harvestB \
+--enforce
+
+ enroll diff automatically on a timerStore the below file at /usr/local/bin/enroll-harvest-diff.sh and make it executable.