Sha256: 17bf01f1bb71c40a1043445fe1f1a595ebb7a75d60945695e24dd47cd00944ff

Contents?: true

Size: 1.65 KB

Versions: 5

Compression:

Stored size: 1.65 KB

Contents

# Software Install
- enable_contrib: true
- enable_nonfree: true


- configure_apt_to_use_less_disk_space:
  - write_in:
    - /etc/apt/apt.conf.d/02compress_indexes
    - |
      Acquire::GzipIndexes "true";
      Acquire::CompressionTypes::Order:: "gz";
  - write_in:
    - /etc/apt/apt.conf.d/02nocache
    - |
      Dir::Cache {
        srcpkgcache "";
        pkgcache "";
      }
  - write_in:
    - /etc/dpkg/dpkg.cfg.d/01_nodoc
    - |
      path-exclude /usr/share/doc/*
      # we need to keep copyright files for legal reasons
      path-include /usr/share/doc/*/copyright
      path-exclude /usr/share/man/*
      path-exclude /usr/share/groff/*
      path-exclude /usr/share/info/*
      # lintian stuff is small, but really unnecessary
      path-exclude /usr/share/lintian/*
      path-exclude /usr/share/linda/*
      path-exclude /usr/share/locale/*
      path-include /usr/share/locale/en*
  - write_in:
    - /etc/locale.nopurge
    - |
      MANDELETE
      DONTBOTHERNEWLOCALE
      SHOWFREEDSPACE
      #QUICKNDIRTYCALC
      #VERBOSE

- add_contribs_and_nonfree_sources:
  - exec_in: |
      if [ $$enable_contrib = true ]; then
        REPO_CONTRIB="contrib"
      fi
  - exec_in: |
      if [ $$enable_nonfree = true ]; then
        REPO_NONFREE="non-free"
      fi
  - exec_in: perl -pi -e "s/main$/main $REPO_CONTRIB $REPO_NONFREE/" /etc/apt/sources.list

- update_repositories:
  - exec_in: apt-get -y --force-yes update
  - exec_in: apt-get -y --force-yes install localepurge
  - on_setup_clean:
    - exec_in: apt-get -y --force-yes autoclean
    - exec_in: apt-get -y --force-yes clean
    - exec_in: apt-get -y --force-yes autoremove
    - exec_in: localepurge

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kameleon-builder-2.2.4 templates/steps/setup/debian/configure_apt.yaml
kameleon-builder-2.2.3 templates/steps/setup/debian/configure_apt.yaml
kameleon-builder-2.2.2 templates/steps/setup/debian/configure_apt.yaml
kameleon-builder-2.2.1 templates/steps/setup/debian/configure_apt.yaml
kameleon-builder-2.2.0 templates/steps/setup/debian/configure_apt.yaml