Re: [Puppet Users] template does not print variables

2011-11-29 Thread Tim Dunphy
Jacob, Thank you that worked! [root@puppet manifests]# cat motd.pp file { "/etc/motd": group => 'root', owner => 'root', mode => '440', content => template("/etc/puppet/templates/motd.erb") } [root@puppet manifests]# cat /etc/motd memory free = 389.88 MB domain = jokefire.com

Re: [Puppet Users] template does not print variables

2011-11-29 Thread Jacob Helwig
On 2011-11-29 15:37 , Tim Dunphy wrote: > Hello list, > > I am having a problem with template file. Why are variables not > interpolated? > > [root@puppet manifests]# cat /etc/motd > memory free = <%= memoryfree %> > domain = <%= domain %> > operating system = <%= operatingsystem %> > > This

[Puppet Users] template does not print variables

2011-11-29 Thread Tim Dunphy
Hello list, I am having a problem with template file. Why are variables not interpolated? [root@puppet manifests]# cat /etc/motd memory free = <%= memoryfree %> domain = <%= domain %> operating system = <%= operatingsystem %> This is the template file [root@puppet manifests]# cat ../template