anchor.diff:        when 'spm'
           if formula[:package].nil?
             script += <<-INSTALL
  -          #{sudo('spm')} -c #{config[:root_path]}/etc/salt install -y #{formula[:name]};
  +          spm -c #{config[:root_path]}/etc/salt install -y #{formula[:name]};
             INSTALL
           else
             script += <<-INSTALL
  -            #{sudo('curl')} -O #{formula[:package]};
  -            #{sudo('spm')} -c #{config[:root_path]}/etc/salt local install -y "$(basename #{formula[:package]})";
  +            curl -O #{formula[:package]};
  +            spm -c #{config[:root_path]}/etc/salt local install -y "$(basename #{formula[:package]})";
             INSTALL
           end
         when 'yum'
           script += <<-INSTALL
  -          #{sudo('yum')} install -y #{formula[:package]||formula[:name]};
  +          yum install -y #{formula[:package]||formula[:name]};
           INSTALL
         when 'apt'
           script += <<-INSTALL
  -          #{sudo('apt-get')} install -y #{formula[:package]||formula[:name]};
  +          apt-get install -y #{formula[:package]||formula[:name]};
           INSTALL
         end
       elsif formula.key?(:path)
  
positive.code:     case type
      when 'apt'
        script += <<-INSTALL
          #{sudo('apt-get')} update -q;
          sleep 10;
        INSTALL
      when 'yum'
        script += <<-INSTALL
          #{sudo('yum')} update;
          sleep 10;
        INSTALL
      when 'spm'
        script += <<-INSTALL
          #{sudo('spm')} update_repo;
        INSTALL
      end
    end
  
negative.code:   end
    script += <<-INSTALL
      linkFormulas "$SALT_ROOT"
      chown "${SUDO_USER:-$USER}" -R "${SALT_SHARE_DIR}" "${SALT_ROOT}";
      echo "Content of $SALT_ROOT :";
      ls -la "$SALT_ROOT";
    INSTALL
  