On Thursday, April 11, 2013 10:22:54 AM UTC-5, Ygor wrote:
>
> Here's one I learned: 
>
> I originally had 
>
> # Ensure /etc/hosts contains the basics 
> host { "${fqdn}": 
>     host_aliases => $hostname, 
>     ip => $ipaddress, 
> } 
>
> And thru some trial and error, got down to this (which puppet-lint does 
> not gripe about) 
>
> # Ensure /etc/hosts contains the basics 
> host { $fqdn: 
>     host_aliases => $hostname, 
>     ip => $ipaddress, 
> } 
>
> Now for a question: 
>
> puppet-lint does not like template files at all. 
> I keep getting this: ERROR: Syntax error (try running `puppet parser 
> validate <file>`) 
>
> My first thought is to ignore template files. 
>
>
puppet-lint is designed to lint puppet manifests, not the templates.  The 
templates are a big mix of random text with scattered rubyisms. 
 

> “Sometimes I think the surest sign that intelligent life exists elsewhere 
> in the universe is that none of it has tried to contact us.” 
> Bill Waterson (Calvin & Hobbes) 
>
>

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to