Task/puppetdb deactivate node

####Reviewers 
@jesuspg @jframos
####Description
integration with puppetdb when deleting nodes 
####Tests
tested locally.
Delete strange character at the end of the line.