Add Master Conditional

Prior to this commit this agent would install on every machine
This commit adds a is_master param that defaults to the pe master fac