init.pp file

init.pp file, keep it inside dir /etc/puppet/modules/zabbixagentt/manifests ,
this has been modified to accept Redhat flavour & serverActive parameter .
module is zabbixagentt & can be called as  below , inside a node.pp node

class { 'zabbixagentt':
  servers  => '172.31.5.161', # Optional: defaults to localhost (accepts an array)
  sa => '172.31.5.161',
  hostname => 'http-server1' # Optional: defaults to the fully qualified domain name of the machine
}

This file will also govern stop/start for zabbix agent (if somebody stops it)