Re: [Puppet Users] Hiera Array Only Returns Last Line

2020-03-01 Thread Dan Crisp
Perfect!!! Thank you Martin. On Saturday, February 29, 2020 at 3:49:04 PM UTC, Martin Alfke wrote: > > Sorry. wrong function: > > content => $set.join("\n") > > hth, > martin > > > > On 29. Feb 2020, at 15:56, Dan Crisp > > wrote: > > > > Thanks for the respone Martin. Unfortunately that

Re: [Puppet Users] Hiera Array Only Returns Last Line

2020-02-29 Thread Martin Alfke
Sorry. wrong function: content => $set.join("\n") hth, martin > On 29. Feb 2020, at 15:56, Dan Crisp wrote: > > Thanks for the respone Martin. Unfortunately that made no difference. Still > only end up with one line. > > Thanks, > Dan. > > On Saturday, February 29, 2020 at 2:44:38 PM UTC

Re: [Puppet Users] Hiera Array Only Returns Last Line

2020-02-29 Thread Dan Crisp
Thanks for the respone Martin. Unfortunately that made no difference. Still only end up with one line. Thanks, Dan. On Saturday, February 29, 2020 at 2:44:38 PM UTC, Martin Alfke wrote: > > AFAIK content expects a string. > Maybe you can try > > content => $set.flatten > > hth, > martin >

Re: [Puppet Users] Hiera Array Only Returns Last Line

2020-02-29 Thread Martin Alfke
AFAIK content expects a string. Maybe you can try content => $set.flatten hth, martin > On 29. Feb 2020, at 14:42, Dan Crisp wrote: > > Hi, > > Attempting to popualte a file with a hiera array. > > I have the following hiera defined: > > # more common.yaml > vimrc: > - 'syntax on' >

[Puppet Users] Hiera Array Only Returns Last Line

2020-02-29 Thread Dan Crisp
Hi, Attempting to popualte a file with a hiera array. I have the following hiera defined: # more common.yaml vimrc: - 'syntax on' - 'colo delek' - 'set nu' - 'set cursorline' - 'set history=1000' - 'set showmode' - 'set showcmd' Puppet lookup seems to return what I expect to see