Software

Dotfiles for Puppet Installation

I take my dotfiles with me everywhere I go. With this file in my Vagrant setup with Puppet, I’m able to login and feel right at home.

The basis for my dotfiles is the excellent set from Mathias.

class package_dev_tools
{
  package { 'git-core': ensure => present }
  package { 'subversion': ensure => present }
  package { 'vim': ensure => present }
  package { 'curl': ensure => present }
  package { 'ack': ensure => present }

  exec { 'dotfiles':
    creates => '/home/vagrant/.dotfiles',
    path    => '/bin:/usr/bin',
    command => 'su -c "git clone https://github.com/mathiasbynens/dotfiles.git /home/vagrant/.dotfiles && cd /home/vagrant/.dotfiles && ./bootstrap.sh --force" vagrant',
    require => Package['git-core']
  }
}

Return to top