Anyone got any ideas??? My next thought is to use something like puppet-concat with an ERB template... However not sure how effective that's going to be...
Cheers Gavin On Friday, 4 January 2013 16:33:17 UTC, Gavin Williams wrote: > > Afternoon all, > > I'm currently working on adding oranfstab support to Puppet-Oracle ( > https://github.com/stschulte/puppet-oracle). > > However I'm struggling to get my head around how I can get Puppet > parsedfile to work with multi-line configurations... > > An example oranfstab configuration block is: > server: stgasm <=== NFS server Host name > path: 10.177.52.158 <--- First path to NFS server ie NFS server NIC > local: 10.177.52.151 <--- First client-side NIC > path: 10.177.52.159 <--- Second path to NFS server ie NFS server NIC (For > load balance purpose) > local: 10.177.52.151 <--- Second client-side NIC (For load balance purpose) > export: /oraclenfs mount: /oradata1 > > 'path' and 'local' are optional, but can be specified multiple times > aswell... > The final 'export' line is required, and can be provided multiple times > for multiple mount points.. > > So as you can see, there's a fair amount of variability in the file > format... > > It's also then possible to have multiple 'server/path/local/export' > blocks, for example with different filers... > > Any ideas on where I could begin? Is parsedfile right for the job, or am I > better looking elsewhere? > > Thank you in advance for any responses. > > Regards > Gavin > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/xDI6ktYRcVsJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.