diff --git a/manifests/init.pp b/manifests/init.pp index a1287ba20ef23247fd3a28c8828c1a4298f22045..ab642c682a79d0dcce6f2c0e9f105c9e8cfa539d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -11,4 +11,27 @@ class terminalegress { sshkeytype => 'ssh-ed25519', sshkey => 'AAAAC3NzaC1lZDI1NTE5AAAAIM14PlReB8vWuuF2vp4XSOhxXG5HOXIO1OUB7T+9HS3W', # lint:ignore:140chars } + + firewalld_service { 'Allow https from liu Zone': + ensure => present, + zone => 'liu', + service => 'https', + } + firewalld_service { 'Allow http from liu Zone': + ensure => present, + zone => 'liu', + service => 'http', + } + + firewalld_service { 'Allow https from public Zone': + ensure => present, + zone => 'public', + service => 'https', + } + firewalld_service { 'Allow http from public Zone': + ensure => present, + zone => 'public', + service => 'http', + } + }