 { &quot;enable service ${service_name}&quot;:
        command   =&gt; &quot;update-rc.d ${service_name} defaults&quot;,
        require   =&gt; File[&quot;/etc/init.d/${service_name}&quot;],
        user      =&gt; &#39;root&#39;,
        unless    =&gt; &quot;ls /etc/rc3.d/*${service_name} | /bin/grep \&#39;${service_name}\&#39;&quot;,
        path      =&gt; $exec_path,
        logoutput =&gt; true,
      }
    }
    &#39;Solaris&#39;: {
      file { &#39;/tmp/oradb_smf.xml&#39; :
        ensure  =&gt; p