sourdough is a tool to make an instance automatically register with Chef during boot
Project description
Sourdough
Sourdough is a tool to install chef-client during instance boot.
FAQs
How are node names generated?
In EC2
If we’re in EC2, we look for a Node tag/knob. If the Node tag/knob exists, our node name will be AWS_REGION-NODE_TAG_KNOB-INSTANCE_ID
If the node tag/knob doesn’t exist, we look for the Hostname tag/knob and set the node name to AWS_REGION-HOSTNAME_TAGKNOB.
If the Hostname tag/knob is missing we fail back to reading the output of hostname
Outside EC2
If we aren’t in EC2, we look for a /etc/knobs/Hostname file and use the contents of that - if there’s no knob file we use the output of hostname so we have at least something sane-ish.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sourdough-0.3.17-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99813245dc03f805d084e3c0ae73bc13e6001336ab0ca4097d04f556c40b7e89 |
|
MD5 | 421e5282cbb7f54a0eb74682a67c3728 |
|
BLAKE2b-256 | 20afb8c6dfd3cb15b6eafa4bb5311fc4b55585cb2369161f0eb6192eddb8db1e |