Sha256: a45b42cf27c7bc71227e80a7aa2686b2889b4a457379b6b552065354899d3fc5

Contents?: true

Size: 818 Bytes

Versions: 4

Compression:

Stored size: 818 Bytes

Contents

#!/bin/bash

# Load base utility functions like sunzi::silencer()
source recipes/sunzi.sh

# This line is necessary for automated provisioning for Debian/Ubuntu.
# Remove if you're not on Debian/Ubuntu.
export DEBIAN_FRONTEND=noninteractive

# Add Dotdeb repository. Recommended if you're using Debian. See http://www.dotdeb.org/about/
# source recipes/dotdeb.sh

# SSH key
source recipes/ssh_key.sh $(cat attributes/ssh_key)

# Update apt catalog. If you prefer less verbosity, use the sunzi::silencer version instead
aptitude update
aptitude -y safe-upgrade
# sunzi::silencer "aptitude update"
# sunzi::silencer "aptitude -y safe-upgrade"

# Install packages. If you prefer less verbosity, use the sunzi::silencer version instead
aptitude -y install git-core ntp
# sunzi::silencer "aptitude -y install git-core ntp"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sunzi-0.9.0 lib/templates/create/install.sh
sunzi-0.8.0 lib/templates/create/install.sh
sunzi-0.7.0 lib/templates/create/install.sh
sunzi-0.6.0 lib/templates/create/install.sh