Skip to content
Snippets Groups Projects

Test

Merged Robin Keskisärkkä requested to merge test into devel
2 files
+ 51
0
Compare changes
  • Side-by-side
  • Inline
Files
2
manifests/init.pp 0 → 100644
+ 38
0
 
# @summary A short summary of the purpose of this class
 
#
 
# A description of what this class does
 
#
 
# @example
 
# include ontodeside
 
class ontodeside {
 
$hostname = fact( 'networking.fqdn' )
 
profiles::letsencrypt::cert { $hostname :
 
common_name => $hostname,
 
}
 
 
firewalld_service { 'Allow SSH in the liu zone':
 
ensure => present,
 
zone => 'liu',
 
service => 'ssh',
 
}
 
firewalld_service { 'Allow http in the liu Zone':
 
ensure => present,
 
zone => 'liu',
 
service => 'http',
 
}
 
firewalld_service { 'Allow https in the liu Zone':
 
ensure => present,
 
zone => 'liu',
 
service => 'https',
 
}
 
firewalld_service { 'Allow http in the public Zone':
 
ensure => present,
 
zone => 'public',
 
service => 'http',
 
}
 
firewalld_service { 'Allow https in the public Zone':
 
ensure => present,
 
zone => 'public',
 
service => 'https',
 
}
 
}
Loading