Fix for ruby 1.8.7

Prior to this commit we were using the literal syntax which is
not compatible with 1.8.7
Fix for 1.8.7 and Puppet 2.7

Prior to this commit the face would fail to run on older versoins
of puppet and ruby. This commit also uses the localhost instead of
server as this did not seem to be working