Commit 27413bb2 authored by mh's avatar mh
Browse files

fixed some vim stuff, added bash module

parents
export PKG_PATH=ftp://mirror.switch.ch/pub/OpenBSD/`uname -r`/packages/`uname -m`
export PS1="`hostname -s`$ "
# modules/bash/manifests/init.pp - manage bash stuff
# Copyright (C) 2007 admin@immerda.ch
#
modules_dir { "bash": }
class bash {
case $operatingsystem {
OpenBSD: {
package { 'bash':
ensure => 'present',
source => 'ftp://mirror.switch.ch/pub/OpenBSD/4.2/packages/i386/bash-3.2.17.tgz',
}
}
default: {
}
}
}
bash::deploy_profile(
$source,
$destination = '/root/.bash_profile',
$uid = 'root',
$gid = '0' ){
file {$name:
path => $target,
owner => $uid,
group => $gid,
mode => 600,
source => "puppet://$server/bash/${source}",
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment