diff --git a/src/content/_index.html b/src/content/_index.html index dcf6cd7..98fe0aa 100644 --- a/src/content/_index.html +++ b/src/content/_index.html @@ -143,14 +143,6 @@ og_type: "website" - -
-
Why sysadmins like it
-
-
• Rapid enrolling of existing infra into config management
• Tweak include/exclude paths as needed
-
• Capture what changed from package defaults
diff mode detects and alerts about drift
-
-
diff --git a/src/content/docs.html b/src/content/docs.html index bd0523d..92f16ee 100644 --- a/src/content/docs.html +++ b/src/content/docs.html @@ -159,10 +159,6 @@ description: "How Enroll works: harvest, manifest, modes, and configuration."
Does Enroll use community roles/modules?
No, Enroll does not pull in Ansible Galaxy roles, Puppet Forge modules, or Salt formulas. It generates its own output from the harvest state. If you want to adopt community content later, Enroll can still help you discover and bootstrap the host-specific state you need to port.
-
-
Keep in mind that a lot of software config files are also good candidates for being Jinja templates with abstracted vars for separate hosts.
-
-
Enroll does use my companion tool JinjaTurtle if it's installed, but JinjaTurtle only recognises certain types of files (.ini style, .json, .xml, .yaml, .toml, but not special ones like Nginx or Apache conf files which have their own special syntax). When Enroll cannot turn a config file into a template, it copies the raw file instead. JinjaTurtle creates Jinja2 templates for both Ansible and Salt, and because it's a cheerful turtle, it generates .erb templates if you're manifesting Puppet code, too!
@@ -265,7 +261,8 @@ description: "How Enroll works: harvest, manifest, modes, and configuration."

JinjaTurtle integration

-

If JinjaTurtle (one of my other projects) is installed, Enroll can also produce Jinja2 templates for ini/json/xml/toml-style config and extract variables cleanly into Ansible and Salt, and even erb files for Puppet (as of version 0.5.5).

+

If JinjaTurtle (one of my other projects) is installed, Enroll can also produce Jinja2 templates for ini/json/xml/toml-style config files (as well as SSH configs), and extract variables cleanly into Ansible and Salt, and even erb files for Puppet (as of version 0.5.5).

+

When Enroll cannot turn a config file into a template, it copies the raw file instead.

@@ -282,7 +279,11 @@ description: "How Enroll works: harvest, manifest, modes, and configuration."
Where variables land
  • Ansible single-site: roles/<role>/defaults/main.yml
  • -
  • Ansible multi-site: inventory/host_vars/<fqdn>/<role>.yml
  • +
  • Ansible multi-site (--fqdn): inventory/host_vars/<fqdn>/<role>.yml
  • +
  • Puppet single-site: modules/<role>/manifests/init.pp as generated class parameter defaults
  • +
  • Puppet multi-site: data/nodes/<fqdn>.yaml as Hiera class parameter data
  • +
  • Salt single-site: inline in states/roles/<role>/init.sls as file.managed context: data
  • +
  • Salt multi-site: pillar/nodes/<fqdn>.sls under enroll:roles:<role>:files:<path>:context
@@ -316,6 +317,7 @@ exclude_path = /usr/local/bin/docker-*, /usr/local/bin/some-tool [manifest] no_jinjaturtle = true sops = 54A91143AE0AB4F7743B01FE888ED1B423A3BC99 +target = ansible # is the default, otherwise salt, or puppet [diff] # ignore noisy drift