Skip to content

Programmatically build the storm.yaml file - #6

Open
eherot wants to merge 2 commits into
Webtrends:masterfrom
evertrue:evertrue/eherot/jsonize_yaml_config
Open

Programmatically build the storm.yaml file#6
eherot wants to merge 2 commits into
Webtrends:masterfrom
evertrue:evertrue/eherot/jsonize_yaml_config

Conversation

@eherot

@eherot eherot commented May 23, 2014

Copy link
Copy Markdown

Rather than hard-coding a bunch of options in the template (and making it necessary to override the template to remove an option), just build the file directly from the attributes.

Note that I removed local_mode_zmq because it wasn't actually in the template in the first place.

I also made what should be an inconsequential change to how the nimbus_host's fqdn gets stored.

I apologize for lumping these two commits into one PR, it was mainly for my own sanity, and because this is actually a cherry-pick from our own heavily-developed fork, and I didn't want to land myself in merge-hell trying to re-do all of my work on the old attribute file layout.

Please let me know if you have any questions/comments/concerns and I will try to work through them!

/cc'ing my cow-orker @jeffbyrnes

eherot added 2 commits May 22, 2014 19:20
…ton of options directly into the template

Conflicts:
	attributes/default.rb
	attributes/nimbus.rb
	attributes/supervisor.rb
	attributes/zookeeper.rb
	recipes/default.rb
	templates/default/storm.yaml.erb
@jeffbyrnes
jeffbyrnes force-pushed the evertrue/eherot/jsonize_yaml_config branch 4 times, most recently from 08a462e to cf03338 Compare February 5, 2015 18:55
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

Successfully merging this pull request may close these issues.

1 participant