Checking for host definition before defining again
In the example in host.pp, it says to use  for the name. Inside of nagios::host, nagios::target is included and the host is defined again in target using $::fqdn. This should fix that issue.
Merge pull request #12 from lieutdan13/host_redundancy

Checking for host definition before defining again