tasks/sandbox.pp in gepetto-0.0.10 vs tasks/sandbox.pp in gepetto-0.0.11
- old
+ new
@@ -22,14 +22,18 @@
exec { "inittab-no-tty-gettys":
command => "sed -i '/getty 38400 tty[23456]/ d' /etc/inittab",
onlyif => "grep 'getty 38400 tty[23456]' /etc/inittab"
}
-file { "/etc/hostname":
+file { ["/etc/hostname", "/etc/mailname"]:
content => "sandbox"
}
+file { "/etc/default/locale":
+ content => "LANG=en_US.UTF-8"
+}
+
# an host object doesn't find a provider
file { "/etc/hosts":
content => "127.0.0.1 localhost
127.0.1.1 sandbox
$host_ip puppet
@@ -86,9 +90,10 @@
factpath=$vardir/lib/facter
pluginsync=false
color=false
[puppetd]
+certname=sandbox
report=true
# run puppetd .. every day
runinterval = 86400
listen=true
'