]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
Adding common hiera config
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Jan 2014 16:04:00 +0000 (14:04 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Jan 2014 16:04:00 +0000 (14:04 -0200)
Vagrantfile
hiera/common.yaml [new file with mode: 0644]

index ecf1c914cdd695793ffaa4b20b29da8ed432f660..a1cad3aac331a5149b39b33fc8a1343979e3c0c1 100644 (file)
@@ -12,4 +12,7 @@ Vagrant::Config.run do |config|
     puppet.module_path    = "puppet/modules"
     puppet.pp_path        = "/etc/puppet"
   end
+
+  # Share hiera configuration.
+  config.vm.share_folder "hiera", "/etc/puppet/hiera", "puppet/hiera", create: true
 end
diff --git a/hiera/common.yaml b/hiera/common.yaml
new file mode 100644 (file)
index 0000000..5db8905
--- /dev/null
@@ -0,0 +1,51 @@
+---
+#
+# General
+#
+nodo::subsystem::apt::include_src: false
+nodo::subsystem::apt::use_next_release: false
+nodo::subsystem::monitor::use_nagios: false
+nodo::subsystem::monitor::address: "%{::fqdn}"
+
+#
+# Firewall
+#
+firewall::ssl_ratelimit: "s:ssl:200/min:20"
+firewall::local_net: false
+firewall::local::manage_host: true
+firewall::local::manage_iface: false
+
+#
+# Mail
+#
+mail::sympa::subdomain: "listas"
+mail::sympa::lang: "pt_BR"
+
+#
+# Monitoring
+#
+nodo::munin_node::allow: '127.0.0.1:192.168.0.[0-9]*:192.168.1.[0-9]*'
+
+#
+# Wordpress
+#
+wordpress::locale: 'pt_BR'
+
+#
+# Timezone and ntp
+#
+ntp::zone: "Brazil/East"
+ntp::pool: "south-america.pool.ntp.org"
+ntp::servers:
+  - 'a.ntp.br'
+  - 'b.ntp.br'
+  - 'c.ntp.br'
+
+#
+# Nameservers
+#
+# OpenDNS:
+#
+#nodo::subsystem::resolver::nameservers:
+#  - '208.67.222.222'
+#  - '208.67.220.220'