Re: New Syntax Error after upgrading to 0.20

Luke Kanies
2006-10-26T19:41:35Z

> So, looking at the file in question shows the following code (in
> condensed form):
>
> 1 class ssh_keys {
> 2 # Commemnts : ...
>
> [snip]
>
> 19
> 20    sshkey { name => "portman-linux.goshen.edu",
> 21       alias => [ "portman-linux", "199.8.232.46"
],
> 22       type => ssh-rsa,
> 23       ensure => present,
> 24       key =>
"AAAAB3NzaC1yc2EAAAABIwAAAQEAszWe7LXOZ59ZMxgXJEl1... " }
>
> Now, this was a valid working conf file, and I cannot see anything that
> has changed for the sshkey type, nor anything with the class language
> construct.  So, any clue what is wrong with this?

Change this to:

sshkey { "portman-linux.goshen.edu": ... }

I could be convinced to make the old syntax legal again, but supporting
it requires the language to know more about the library than I''d like.

--
Honest criticism is hard to take, particularly from a relative, a
friend, an acquaintance, or a stranger.      -- Franklin P. Jones
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com