Skip to content

Instantly share code, notes, and snippets.

@jmjf
Created October 1, 2013 22:23
Show Gist options
  • Save jmjf/6786174 to your computer and use it in GitHub Desktop.
Save jmjf/6786174 to your computer and use it in GitHub Desktop.
Salt states from my test setup. /srv/salt/... Replace - in file names with / (so kernel-init.sls = kernel/init.sls). Note, baseline.sls updates the default precise32 box's packages to specific versions. It's based on the output of apt.list_upgrades at the time I created the VMs.
baseline:
pkg.installed:
- pkgs:
- accountsservice: 0.6.15-2ubuntu9.6
- apparmor: 2.7.102-0ubuntu3.9
- apt: 0.8.16~exp12ubuntu10.14
- apt-transport-https: 0.8.16~exp12ubuntu10.14
- apt-utils: 0.8.16~exp12ubuntu10.14
- apt-xapian-index: 0.44ubuntu5.1
- aptitude: 0.6.6-1ubuntu1.2
- base-files: 6.5ubuntu6.6
- bash: 4.2-2ubuntu2.1
- bash-completion: 1:1.3-1ubuntu8.1
- bind9-host: 1:9.8.1.dfsg.P1-4ubuntu0.7
- binutils: 2.22-6ubuntu1.1
- busybox-initramfs: 1:1.18.5-1ubuntu4.1
- busybox-static: 1:1.18.5-1ubuntu4.1
- coreutils: 8.13-3ubuntu3.2
- cron: 3.0pl1-120ubuntu4
- dbus: 1.4.18-1ubuntu1.4
- dmsetup: 2:1.02.48-4ubuntu7.3
- dnsutils: 1:9.8.1.dfsg.P1-4ubuntu0.7
- dosfstools: 3.0.12-1ubuntu1.1
- dpkg: 1.16.1.2ubuntu7.1
- gnupg: 1.4.11-3ubuntu2.3
- gpgv: 1.4.11-3ubuntu2.3
- grub-common: 1.99-21ubuntu3.10
- grub-pc: 1.99-21ubuntu3.10
- grub-pc-bin: 1.99-21ubuntu3.10
- grub2-common: 1.99-21ubuntu3.10
- hdparm: 9.37-0ubuntu3.1
- initramfs-tools: 0.99ubuntu13.2
- initramfs-tools-bin: 0.99ubuntu13.2
- initscripts: 2.88dsf-13.10ubuntu11.1
- iptables: 1.4.12-1ubuntu5
- isc-dhcp-client: 4.1.ESV-R4-0ubuntu5.9
- isc-dhcp-common: 4.1.ESV-R4-0ubuntu5.9
- krb5-locales: 1.10+dfsg~beta1-2ubuntu0.3
- language-pack-en: 1:12.04+20130128
- language-pack-en-base: 1:12.04+20130128
- language-pack-gnome-en: 1:12.04+20130128
- language-pack-gnome-en-base: 1:12.04+20130128
- language-selector-common: 0.79.4
- libaccountsservice0: 0.6.15-2ubuntu9.6
- libapt-inst1.4: 0.8.16~exp12ubuntu10.14
- libapt-pkg4.12: 0.8.16~exp12ubuntu10.14
- libasn1-8-heimdal: 1.6~git20120311.dfsg.1-2ubuntu0.1
- libbind9-80: 1:9.8.1.dfsg.P1-4ubuntu0.7
- libc-bin: 2.15-0ubuntu10.4
- libc-dev-bin: 2.15-0ubuntu10.4
- libc6: 2.15-0ubuntu10.4
- libc6-dev: 2.15-0ubuntu10.4
- libcurl3-gnutls: 7.22.0-3ubuntu4.3
- libdbus-1-3: 1.4.18-1ubuntu1.4
- libdbus-glib-1-2: 0.98-1ubuntu1.1
- libdevmapper-event1.02.1: 2:1.02.48-4ubuntu7.3
- libdevmapper1.02.1: 2:1.02.48-4ubuntu7.3
- libdns81: 1:9.8.1.dfsg.P1-4ubuntu0.7
- libdrm-intel1: 2.4.43-0ubuntu0.0.2
- libdrm-nouveau1a: 2.4.43-0ubuntu0.0.2
- libdrm-radeon1: 2.4.43-0ubuntu0.0.2
- libdrm2: 2.4.43-0ubuntu0.0.2
- libexpat1: 2.0.1-7.2ubuntu1.1
- libfreetype6: 2.4.8-1ubuntu2.1
- libgcrypt11: 1.5.0-3ubuntu0.2
- libglib2.0-0: 2.32.3-0ubuntu1
- libgnutls26: 2.12.14-5ubuntu3.5
- libgssapi-krb5-2: 1.10+dfsg~beta1-2ubuntu0.3
- libgssapi3-heimdal: 1.6~git20120311.dfsg.1-2ubuntu0.1
- libgssglue1: 0.3-4ubuntu0.1
- libhcrypto4-heimdal: 1.6~git20120311.dfsg.1-2ubuntu0.1
- libheimbase1-heimdal: 1.6~git20120311.dfsg.1-2ubuntu0.1
- libheimntlm0-heimdal: 1.6~git20120311.dfsg.1-2ubuntu0.1
- libhx509-5-heimdal: 1.6~git20120311.dfsg.1-2ubuntu0.1
- libisc83: 1:9.8.1.dfsg.P1-4ubuntu0.7
- libisccc80: 1:9.8.1.dfsg.P1-4ubuntu0.7
- libisccfg82: 1:9.8.1.dfsg.P1-4ubuntu0.7
- libk5crypto3: 1.10+dfsg~beta1-2ubuntu0.3
- libkrb5-26-heimdal: 1.6~git20120311.dfsg.1-2ubuntu0.1
- libkrb5-3: 1.10+dfsg~beta1-2ubuntu0.3
- libkrb5support0: 1.10+dfsg~beta1-2ubuntu0.3
- libldap-2.4-2: 2.4.28-1.1ubuntu4.3
- liblwres80: 1:9.8.1.dfsg.P1-4ubuntu0.7
- libnih-dbus1: 1.0.3-4ubuntu9.1
- libnih1: 1.0.3-4ubuntu9.1
- libparted0debian1: 2.3-8ubuntu5.1
- libpci3: 1:3.1.8-2ubuntu6
- libpciaccess0: 0.12.902-1ubuntu0.2
- libplymouth2: 0.8.2-2ubuntu31.1
- libpolkit-gobject-1-0: 0.104-1ubuntu1.1
- libroken18-heimdal: 1.6~git20120311.dfsg.1-2ubuntu0.1
- libsasl2-2: 2.1.25.dfsg1-3ubuntu0.1
- libsasl2-modules: 2.1.25.dfsg1-3ubuntu0.1
- libsqlite3-0: 3.7.9-2ubuntu1.1
- libssl-dev: 1.0.1-4ubuntu5.10
- libssl-doc: 1.0.1-4ubuntu5.10
- libssl1.0.0: 1.0.1-4ubuntu5.10
- libtasn1-3: 2.10-1ubuntu1.1
- libudev0: 175-0ubuntu9.4
- libwind0-heimdal: 1.6~git20120311.dfsg.1-2ubuntu0.1
- libx11-6: 2:1.4.99.1-0ubuntu2.2
- libx11-data: 2:1.4.99.1-0ubuntu2.2
- libxcb1: 1.8.1-1ubuntu0.2
- libxext6: 2:1.3.0-3ubuntu0.1
- libxml2: 2.7.8.dfsg-5.1ubuntu4.6
- login: 1:4.1.4.2+svn3283-3ubuntu5.1
- lsb-base: 4.0-0ubuntu20.3
- lsb-release: 4.0-0ubuntu20.3
- lvm2: 2.02.66-4ubuntu7.3
- man-db: 2.6.1-2ubuntu1
- mountall: 2.36.4
- multiarch-support: 2.15-0ubuntu10.4
- nfs-common: 1:1.2.5-3ubuntu3.1
- ntfs-3g: 1:2012.1.15AR.1-1ubuntu1.2
- ntpdate: 1:4.2.6.p3+dfsg-1ubuntu3.1
- openssh-client: 1:5.9p1-5ubuntu1.1
- openssh-server: 1:5.9p1-5ubuntu1.1
- openssl: 1.0.1-4ubuntu5.10
- parted: 2.3-8ubuntu5.1
- passwd: 1:4.1.4.2+svn3283-3ubuntu5.1
- pciutils: 1:3.1.8-2ubuntu6
- perl: 5.14.2-6ubuntu2.3
- perl-base: 5.14.2-6ubuntu2.3
- perl-modules: 5.14.2-6ubuntu2.3
- plymouth: 0.8.2-2ubuntu31.1
- plymouth-theme-ubuntu-text: 0.8.2-2ubuntu31.1
- psmisc: 22.15-2ubuntu1.1
- python: 2.7.3-0ubuntu2.2
- python-apt: 0.8.3ubuntu7.1
- python-apt-common: 0.8.3ubuntu7.1
- python-gi: 3.2.2-1~precise
- python-minimal: 2.7.3-0ubuntu2.2
- python2.7: 2.7.3-0ubuntu3.2
- python2.7-minimal: 2.7.3-0ubuntu3.2
- resolvconf: 1.63ubuntu16
- rpcbind: 0.2.0-7ubuntu1.2
- rsyslog: 5.8.6-1ubuntu8.5
- sudo: 1.8.3p1-1ubuntu3.4
- sysv-rc: 2.88dsf-13.10ubuntu11.1
- sysvinit-utils: 2.88dsf-13.10ubuntu11.1
- tzdata: 2013d-0ubuntu0.12.04
- ubuntu-keyring: 2011.11.21.1
- ubuntu-minimal: 1.267.1
- ubuntu-standard: 1.267.1
- udev: 175-0ubuntu9.4
- update-manager-core: 1:0.156.14.11
- upstart: 1.5-0ubuntu7.2
- vim-common: 2:7.3.429-2ubuntu2.1
- vim-tiny: 2:7.3.429-2ubuntu2.1
- xkb-data: 2.5-1ubuntu1.3
dkms:
pkg:
- installed
- version: 2.2.0.3-1ubuntu3.1
kernel:
pkg.installed:
- pkgs:
- linux-firmware: 1.79.6
- linux-generic-pae: 3.2.0.54.64
- linux-headers-generic-pae: 3.2.0.54.64
- linux-image-generic-pae: 3.2.0.54.64
- linux-libc-dev: 3.2.0-54.82
cmd.run:
- name: /etc/init.d/vboxadd setup
- require:
-pkg: dkms
memcached:
pkg:
- installed
- version: 1.4.13-0ubuntu2
nginx:
pkg:
- installed
- version: 1.1.19-1ubuntu0.2
service:
- running
- require:
- pkg: nginx
base:
'*':
- dkms
- kernel
- baseline
'role:WordPress':
- match: grain
- nginx
- memcached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment