fixed '/etc/sysconfig/puppet: line 6: --server=puppetmaster: command not...

I used the module on a Cent OS 6.5. After the installation I wanted check the status of the puppet agent service using: service puppet status and I got an error '/etc/sysconfig/puppet: line 6: --server=puppetmaster: command not found'.