diff options
author | varac <varacanero@zeromail.org> | 2012-09-07 13:06:00 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-09-07 13:06:00 +0200 |
commit | bdfcfbb8702748ab013190b0116735fe56f7531e (patch) | |
tree | ac0be682d19eced203ff5d49cd8ba0892133ee0c | |
parent | cc435b580fc5cc45d99aa4d17e81f951197b837d (diff) |
use hiere for openvpn CA
-rw-r--r-- | puppet/manifests/site.pp | 12 |
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 |