On Thu, Feb 16, 2012 at 5:39 AM, Tim Dunphy wrote:
> Whoa! It was just a syntax error! That did it! Thanks man! However
> don't you agree if puppet would say something more informative such as
> ... oh I don't know.. 'command not found' or 'syntax error'... I
> don't necessarily expect anyone to
Whoa! It was just a syntax error! That did it! Thanks man! However
don't you agree if puppet would say something more informative such as
... oh I don't know.. 'command not found' or 'syntax error'... I
don't necessarily expect anyone to do something about this... just
sayin'!
but anyway, thanks
Tim.
From your example I don't think "puppet file /etc/hosts" is a valid
puppet command. I'm guessing you wanted to query the /etc/hosts file
resource with the resource command like the following. See if that
works for you.
$puppet resource file /etc/hosts
file { '/etc/hosts':
ensure => '