puppet-standalone-mashup/shared/additional-modules/debian-base/manifests/init.pp

27 lines
550 B
ObjectPascal
Raw Normal View History

2012-04-30 16:02:19 +00:00
class basics {
$packages = [ "ntp", "ntpdate", "gcc", "curl", "build-essential", "patch", 'sysstat', 'git-core' ]
package { $packages: ensure => installed }
bash_rc { "/etc/bash.bashrc": ensure => present }
}
class base {
$path = "/usr/bin:/bin:/usr/sbin:/sbin"
$src_path = "/usr/src"
$install_path = "/usr/local"
$config_path = "/etc"
$pid_path = "/var/run"
2012-05-02 22:17:23 +00:00
$log_path = "/var/log"
2012-04-30 16:02:19 +00:00
$local_path = $install_path
}
node default {
include basics
include debian
class { base: require => Class['basics'] }
include umask
}