hiera-mysql
hiera-mysql copied to clipboard
MySQL back end for Hiera
These are the same changes from #23 adapted for the 2.x branch. > Convert numbers to integers instead of strings > And if a string is valid Json parse it.
Convert numbers to integers instead of strings And if a string is valid Json parse it.
--- :backends: - mysql :mysql: :host : localhost :user : root :pass : 123456 :database : config :query: - select class_name as %{key} from %{ostype} as a,classes as b where...
I've been using hiera-mysql in production for a couple of weeks now and on the whole it's been a very good experience, thanks for sharing. On a handful of occasions,...
When calling hiera-mysql only the the first entry from a single select is returned. My Debug output is: ``` DEBUG: mysql_backend initialized DEBUG: mysql_backend invoked lookup DEBUG: resolution type is...
(Rakefile) update the gem packaging (README) update the port parameter in the yaml (example-stable.sql) adds a example table to be used with the module (mysql_backend) updates the module to use...
--- :backends: - mysql :mysql: :host : localhost :user : root :pass : mypass :database : config :query: - select value from node_params as a,nodes as b where a.node_id=b.node_id and...
Sorry for the multiple commits, my formatting skills definitely need an upgrade ;)