Removed trailing comma.
Removed inclusion of puppet-stdlib (autoloaded).
Changed local variables into parametrized ones.
Added puppet doc,
Parametrized ng_temp_dir and ng_conf_dir.
Fixed up ordering and made anchor pattern easier.