From 3774aecd6ca626ba084fcb8c6a2cee288e7a567d Mon Sep 17 00:00:00 2001 From: jigen Date: Thu, 8 Jan 2015 00:29:09 +0100 Subject: [PATCH] class declaration in hiera --- manifests/site.pp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/manifests/site.pp b/manifests/site.pp index 2576e8c..f49346b 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -1,6 +1,8 @@ $admin=hiera('ortiche-admin') notify{"Variable is ${::admin}": } +hiera_include('ortiche-classes') + Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" , "/usr/local/bin/", "/usr/local/sbin/" ] } @@ -73,13 +75,13 @@ node 'snf-29152' { "smtpd_tls_key_file" : value => "/etc/ssl/private/tanacetum_mailserver_key.pem"; } - class { 'postfix': - myorigin => 'dev_2.indivia.tk', - anon_sasl => 'yes', - root_mail_recipient => "gestione@posta.indivia.net", - require => [ File['/etc/ssl/certs/tanacetum_mailserver_cert.pem'], - File['/etc/ssl/private/tanacetum_mailserver_key.pem'] ], - } +# class { 'postfix': +# myorigin => 'dev_2.indivia.tk', +# anon_sasl => 'yes', +# root_mail_recipient => "gestione@posta.indivia.net", +# require => [ File['/etc/ssl/certs/tanacetum_mailserver_cert.pem'], +# File['/etc/ssl/private/tanacetum_mailserver_key.pem'] ], +# } }