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: # puppet lookup vimrc --- - syntax on - colo delek - set nu - set cursorline - set history=1000 - set showmode - set showcmd Here's how I'm call the hiera array: class base::vim { $set = lookup('vimrc', Array[String]) package { 'vim': ensure => installed, } file { '/root/.vimrc': owner => root, group => root, mode => '0644', content => $set, } } However I just end up with the last line of the arrary: # more .vimrc set showcmd Any help here would be greatly appreciated. Thanks, Dan. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/3620a92d-f2d2-43a4-9f92-4d12c3f0c45f%40googlegroups.com.