aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-01-28 14:04:00 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-01-28 14:04:00 -0200
commit93ee664156c86145fd460c5ca7b96518a8eb4ecc (patch)
treead62e2e52415da9d42c04f7846e6223fab55ae38
parenta44851cbe14d3a359692eac44a7aac0bad0daf4e (diff)
downloadpuppet-bootstrap-93ee664156c86145fd460c5ca7b96518a8eb4ecc.tar.gz
puppet-bootstrap-93ee664156c86145fd460c5ca7b96518a8eb4ecc.tar.bz2
Adding common hiera config
-rw-r--r--Vagrantfile3
-rw-r--r--hiera/common.yaml51
2 files changed, 54 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index ecf1c91..a1cad3a 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -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
index 0000000..5db8905
--- /dev/null
+++ b/hiera/common.yaml
@@ -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'