class declaration in hiera
This commit is contained in:
parent
a460aa7fde
commit
3774aecd6c
1 changed files with 9 additions and 7 deletions
|
@ -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'] ],
|
||||
# }
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue