1 class base_installation::system_config inherits base_installation {
2 unless empty($base_installation::system_timezone) {
3 file { "/etc/localtime":
5 target => "../usr/share/zoneinfo/$base_installation::system_timezone"
9 if empty($base_installation::system_hostname) {
10 $hostname = $base_installation::real_hostname
12 $hostname = $base_installation::system_hostname
15 file { '/etc/hostname':
16 content => "$hostname\n",
19 exec { "set_hostname":
20 command => "/usr/bin/hostnamectl set-hostname $hostname",
22 subscribe => File["/etc/hostname"],