Fixed wrong case statements

Puppet doc says:
  >     Cases are compared in the order that they are written in the manifest; thus, the default case (if any) must be at the end of the list.

This also makes datacat work when using future parser