Skip to content

A plugin to get automatic attributes declared in EC2 Userdata

Notifications You must be signed in to change notification settings

mmshin/ohai-userdata-attribute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ohai-userdata-attribute

A plugin to get automatic attributes declared in EC2 Userdata
Disclaimer : I am just new to Chef, Ohai and Ruby so this is just my experiment.

Add the lines below to your EC2 Userdata. You can add as many variables as you want as long as you follow the format. The custom plugin checks for the word "ohai" and strips the information after it.

ohai|PROJ_ENV=ENVIRONMENT|project=PROJECT_NAME

About

A plugin to get automatic attributes declared in EC2 Userdata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages