[Puppet Users] interpolation of puppet fact, with quotes, into erb template

2017-08-18 Thread John
i have this bit of code here <% @microservices.sort.each do |service,val| -%> upstream <%= service %> { server <% val['endpoint']['{domain_suffix}'] = "@domain_suffix" -%> resolve; } <% end -%> i'm trying to do a string replacement of the @domain_suffix puppet fact, ho

Re: [Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-18 Thread David Schmitt
A hot fix for this has been released at https://pm.puppetlabs.com/cgi-bin/pdk_download.cgi?dist=win&arch=x64&ver=1.0.1.0 ; and will be available on the download page Really Soon Now. On Wednesday, August 16, 2017 at 1:41:57 PM UTC+1, David Schmitt wrote: > > > > On 16 August 2017 at 13:06, Pete

Re: [Puppet Users] PDK 1.0.0.1 on Windows

2017-08-18 Thread Peter Faller
Thanks David - the combination of rspec-puppet-facts and 'operatingsystem_support' in metadata.json makes it work. On Thursday, 17 August 2017 18:22:24 UTC+2, David Schmitt wrote: > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsu