Proper structure for project?
Hi, i have some complex project, using alot of modules (both self-written and public). How i should handle it if i plan to deploy 2 env with this manifests? This two envs is completely similar except hostnames/ips, installing similar software on similar OSes. In current state i can only deploy one stack because it looks like "node railsrole inherits server { lots of classes/code }" and for actual box i write something like "node my.srv.example.tld inherits railsrole" to deploy all stuff for that role. ATM it's not customizable at all - no templates, no variables, etc.
Feels ...