dptfoles and bare essentials

This commit is contained in:
Andrew Tomaka 2013-08-22 01:47:34 -04:00
parent c0c50e98e4
commit 91999b63bd
5 changed files with 125 additions and 0 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@
/shared/*
!/shared/README.md
/vendor/gems/
/vendor/*

View file

@ -36,3 +36,8 @@ github "xquartz", "1.1.0"
# Optional/custom modules. There are tons available at
# https://github.com/boxen.
github "chrome", "1.1.1"
github "iterm2", "1.0.3"
github "tmux", "1.0.2"
github "osx", "1.6.0"
github "zsh", "1.0.0"

View file

@ -8,6 +8,11 @@ GITHUBTARBALL
specs:
boxen (3.0.1)
GITHUBTARBALL
remote: boxen/puppet-chrome
specs:
chrome (1.1.1)
GITHUBTARBALL
remote: boxen/puppet-dnsmasq
specs:
@ -33,6 +38,11 @@ GITHUBTARBALL
specs:
hub (1.0.3)
GITHUBTARBALL
remote: boxen/puppet-iterm2
specs:
iterm2 (1.0.3)
GITHUBTARBALL
remote: boxen/puppet-nginx
specs:
@ -48,6 +58,11 @@ GITHUBTARBALL
specs:
openssl (1.0.0)
GITHUBTARBALL
remote: boxen/puppet-osx
specs:
osx (1.6.0)
GITHUBTARBALL
remote: boxen/puppet-repository
specs:
@ -63,11 +78,21 @@ GITHUBTARBALL
specs:
sudo (1.0.0)
GITHUBTARBALL
remote: boxen/puppet-tmux
specs:
tmux (1.0.2)
GITHUBTARBALL
remote: boxen/puppet-xquartz
specs:
xquartz (1.1.0)
GITHUBTARBALL
remote: boxen/puppet-zsh
specs:
zsh (1.0.0)
GITHUBTARBALL
remote: puppetlabs/puppetlabs-inifile
specs:
@ -81,18 +106,23 @@ GITHUBTARBALL
DEPENDENCIES
autoconf (= 1.0.0)
boxen (= 3.0.1)
chrome (= 1.1.1)
dnsmasq (= 1.0.0)
gcc (= 2.0.1)
git (= 1.2.5)
homebrew (= 1.4.1)
hub (= 1.0.3)
inifile (= 1.0.0)
iterm2 (= 1.0.3)
nginx (= 1.4.2)
nodejs (= 3.2.9)
openssl (= 1.0.0)
osx (= 1.6.0)
repository (= 2.2.0)
ruby (= 6.3.0)
stdlib (= 4.1.0)
sudo (= 1.0.0)
tmux (= 1.0.2)
xquartz (= 1.1.0)
zsh (= 1.0.0)

View file

@ -0,0 +1,10 @@
class people::atomaka {
$home = "/Users/${::boxen_user}"
include chrome
include tmux
include iterm2::stable
include zsh
package { 'coreutils': }
}

View file

@ -0,0 +1,79 @@
class people::atomaka::dotfiles {
$home = ${atomaka::people::home}
$dotfiles = "${home}/dotfiles"
$vim = "${home}/.vim"
repository { $dotfiles:
source => 'atomaka/dotfiles',
}
file { "${home}/.vimrc":
ensure => link,
target => "${dotfiles}/.vimrc",
require => Repository[$dotfiles],
}
file { "${vim}/bundle":
ensure => directory,
require => Repository[$dotfiles],
}
file { "${vim}/bundle/vundle":
ensure => link,
target => "${dotfiles}/.vim/bundle/vundle",
require => Repository[$dotfiles],
}
file { "${vim}/colors":
ensure => directory,
require => Repository[$dotfiles],
}
file { "${vim}/colors/vividchalk.vim":
ensure => link,
target => "${dotfiles}/.vim/colors/vividchalk.vim",
require => [Repository[$dotfiles], File["${vim}/colors"]],
}
file { "${home}/.zshrc":
ensure => link,
target => "${dotfiles}/.zshrc",
require => Repository[$dotfiles],
}
file { "${home}/.aliases":
ensure => link,
target => "${dotfiles}/.aliases",
require => Repository[$dotfiles],
}
file { "${home}/.functions":
ensure => link,
target => "${dotfiles}/.functions",
require => Repository[$dotfiles],
}
file { "${home}/.oh-my-zsh":
ensure => link,
target => "${dotfiles}/.oh-my-zsh",
require => Repository[$dotfiles],
}
file { "${home}/.gitconfig":
ensure => link,
target => "${dotfiles}/.gitconfig",
require => Repository[$dotfiles],
}
file { "${home}/.gitignore_global":
ensure => link,
target => "${dotfiles}/.gitignore_global",
require => Repository[$dotfiles],
}
file { "${home}/.tmux.conf":
ensure => link,
target => "${dotfiles}/.tmux.conf",
require => Repository[$dotfiles],
}
}