fix for future parser

I had to add the following braces to support the future parser in your puppet::agent class (also works with the old parser)