use Puppet[:parser] instead of Puppet['parser']