sourdough is a tool to make an instance automatically register itself 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.2.13-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f57c14cc58577abe6f2e140d0a6ce4924fad08a26593a5044ff609762bff2f2 |
|
MD5 | 90fa6c71aefeadd3362404695cf093c3 |
|
BLAKE2b-256 | 56b99d36b747178667db13cbdc895d0d0d92b7a958b8915c03d5f046c1fa1ef0 |