dotfiles/modules/shell/manifests/init.pp
2017-08-12 17:43:07 +01:00

26 lines
542 B
Puppet

class shell {
$zshrc = "/home/jake/.zshrc"
$files = [
"puppet:///modules/shell/.zshrc",
"puppet:///modules/shell/base.sh",
"puppet:///modules/shell/applications.sh",
"puppet:///modules/shell/catfish.sh",
"puppet:///modules/shell/javascript.sh"
];
concat {"zshrc":
path => $zshrc,
owner => "jake",
group => "users",
mode => "0644",
ensure_newline => true
}
$files.each |String $file| {
concat::fragment {"zshrc concat $file":
target => $zshrc,
source => $file
}
}
}