I'm running into the issue where someone wants to rename their snippet and
it breaks references to that snipped. Is there some way to reference by
UUID or some other method than by Snippet Name?
> I'm running into the issue where someone wants to rename their snippet and
> it breaks references to that snipped. Is there some way to reference by
> UUID or some other method than by Snippet Name?
>
> Renaming snippet breaks <%= snippet("this snippet") %>
Unfortunately not, there is no other way, if you look at
lib/foreman/renderer.rb you can see we call where using the name only
Template.where(:name => name, :snippet => true)
Open an issue in Issues - Foreman if you would
like to keep track of it and possibly someone will take it up