|
@@ -12,17 +12,16 @@
|
|
|
#
|
|
|
class public::common {
|
|
|
|
|
|
+ # Internal
|
|
|
include '::public::apt'
|
|
|
+
|
|
|
+ # External (hiera for configuration)
|
|
|
+ include '::dnsclient'
|
|
|
include '::etckeeper'
|
|
|
+ include '::locales'
|
|
|
include '::rsyslog::client'
|
|
|
include '::sudo'
|
|
|
-
|
|
|
- class {'dnsclient':
|
|
|
- nameservers => hiera_array('nameservers', undef),
|
|
|
- options => 'UNSET',
|
|
|
- search => hiera('domain'),
|
|
|
- domain => hiera('domain'),
|
|
|
- }
|
|
|
+ include '::timezone'
|
|
|
|
|
|
# TODO, apt-proxy
|
|
|
|
|
@@ -32,18 +31,6 @@ class public::common {
|
|
|
ensure => purged,
|
|
|
}
|
|
|
|
|
|
- # Setup timezone
|
|
|
- class {
|
|
|
- 'timezone':
|
|
|
- timezone => hiera('timezone'),
|
|
|
- autoupgrade => false;
|
|
|
- }
|
|
|
-
|
|
|
- class {'locales':
|
|
|
- default_locale => 'en_US.UTF-8',
|
|
|
- locales => hiera('locales')
|
|
|
- }
|
|
|
-
|
|
|
ensure_packages(['tmux','screen','netcat','htop','rsync','host','dmraid',
|
|
|
'man-db','vim','zsh','bash','iputils-ping','dnsutils','logrotate',
|
|
|
'python-apt','aptitude','debian-goodies','molly-guard'])
|