summaryrefslogtreecommitdiff
path: root/puppet/manifests/site.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-09-07 13:06:00 +0200
committervarac <varacanero@zeromail.org>2012-09-07 13:06:00 +0200
commitbdfcfbb8702748ab013190b0116735fe56f7531e (patch)
treeac0be682d19eced203ff5d49cd8ba0892133ee0c /puppet/manifests/site.pp
parentcc435b580fc5cc45d99aa4d17e81f951197b837d (diff)
use hiere for openvpn CA
Diffstat (limited to 'puppet/manifests/site.pp')
-rw-r--r--puppet/manifests/site.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/puppet/manifests/site.pp b/puppet/manifests/site.pp
index de551aed..0d1f426d 100644
--- a/puppet/manifests/site.pp
+++ b/puppet/manifests/site.pp
@@ -1,15 +1,15 @@
node 'default' {
notify {'Please specify a host in site.pp!':}
- $openvpn_server='cougar.leap.se'
+ $openvpn_server=$::fqdn
openvpn::server {
"$openvpn_server":
- country => 'TR',
- province => 'Ankara',
- city => 'Ankara',
- organization => 'leap.se',
- email => 'sysdev@leap.se';
+ country => hiera("country"),
+ province => hiera("province"),
+ city => hiera("city"),
+ organization => hiera("organization"),
+ email => hiera("email");
}
# configure server