[Puppet Users] Re: hiera consul backend Puppet 4.10

2017-08-29 Thread Justin DynamicD
Quick update: I found out i can run "hiera " successfuly on the server as long as I link the the file to the path approrpiate to the hiera command (designated with a 'which'). still doesn't apear to function from within a puppet manifest, however ... so I'm more supicious of a syntax issue.

[Puppet Users] hiera consul backend Puppet 4.10

2017-08-29 Thread Justin DynamicD
Hi, anyone have some good concise examples on how to setup using a consul backend in hiera? I've attempted with little luck to get this backend to work. So far these are the steps I've tried: 1. Imported lynxman/hiera-consul into in the Puppetfile 2. Modified puppetserver.conf

Re: [Puppet Users] Re: Literal URIs in templates

2017-08-29 Thread Michael Burling
Thanks very much. I *am *an idiot. On Tuesday, August 29, 2017 at 8:02:41 AM UTC-5, Ken Barber wrote: > > The appropriate attribute in this case should be 'content' instead of > 'source' ... so instead of this: > > file { '/etc/openldap/ldap.conf': > ensure => file, > source =>

Re: [Puppet Users] Re: Literal URIs in templates

2017-08-29 Thread Ken Barber
The appropriate attribute in this case should be 'content' instead of 'source' ... so instead of this: file { '/etc/openldap/ldap.conf': ensure => file, source => template('ldap/ldap.conf.erb'), require => Class["ldap::install"], } Use this: file { '/etc/openldap/ldap.conf':

[Puppet Users] Re: Literal URIs in templates

2017-08-29 Thread Michael Burling
Me, too! How did you fix the above? I'm running into the same error. On Sunday, March 23, 2014 at 7:35:16 PM UTC-5, Grant wrote: > > Scrap that. I'm an idiot. > > > > On 24 March 2014 10:29, Grant Byers > wrote: > >> Hi, >> >> I'm having some trouble using a template to