Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom facts #9

Open
bobtfish opened this issue Aug 24, 2014 · 2 comments
Open

Add custom facts #9

bobtfish opened this issue Aug 24, 2014 · 2 comments

Comments

@bobtfish
Copy link
Owner

Puppet by default provides not all that many AWS facts for instances.

Add at least facts to determine region/AZ etc.

@clarabstract
Copy link
Collaborator

I am in the process of adding exactly this actually :)

e: Oh you have them already! Ok I'll wait for you to merge instead.

@clarabstract
Copy link
Collaborator

Just a note on this - I'm trying very hard in my refactors to avoid looping over regions as it is incredibly slow (and filtering them out via an ENV var is a little hackish to say the least). So rather than adding AZ info as a fact (which is always evaluated) I thought I'd just provide a lookup function (given region, return AZs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants