at&#39;, &#39;OracleLinux&#39;, &#39;SLES&#39;: {
      exec { &quot;enable service ${service_name}&quot;:
        command   =&gt; &quot;chkconfig --add ${service_name}&quot;,
        require   =&gt; File[&quot;/etc/init.d/${service_name}&quot;],
        user      =&gt; &#39;root&#39;,
        unless    =&gt; &quot;chkconfig --list | /bin/grep \&#39;${service_name}\&#39;&quot;,
        path      =&gt; $exec_path,
        logoutput =&gt; true,
      }
    }
    &#39;Ubuntu&#39;, &#39;Debian&#39;:{
      exec