Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sourdough-0.3.17.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

sourdough-0.3.17-py2-none-any.whl (8.5 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page