Here is what I see is going on.  On systemV script in /etc/init.d there is 
not a UnitFileState.


Debug: Executing: '/bin/systemctl is-active ossec-hids'
Debug: Executing: '/bin/systemctl show ossec-hids --property LoadState 
--property UnitFileState --no-pager'
Debug: Executing: '/bin/systemctl unmask ossec-hids'
Debug: Executing: '/bin/systemctl enable ossec-hids'
Notice: /Stage[main]/Ossec/Service[ossec-hids]/enable: enable changed 
'false' to 'true'


# /bin/systemctl show ossec-hids --property SourcePath --property LoadState 
--property UnitFileState --no-pager
LoadState=loaded
SourcePath=/etc/rc.d/init.d/ossec-hids
UnitFileState=

# /bin/systemctl show sshd --property SourcePath --property LoadState 
--property UnitFileState --no-pager
LoadState=loaded
SourcePath=
UnitFileState=enabled

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/893ebab5-b3eb-4c44-99bc-92eb091c1479%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to