Skip to content
Snippets Groups Projects
Commit 38be297f authored by Robin Keskisärkkä's avatar Robin Keskisärkkä
Browse files

Merge branch 'test' into 'devel'

Test

See merge request liu-puppet-modules/ontodeside!3
parents f5f41185 143954f1
Branches
No related tags found
2 merge requests!4Devel,!3Test
Pipeline #99924 passed
# @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',
}
}
# frozen_string_literal: true
require 'spec_helper'
describe 'ontodeside' do
on_supported_os.each do |os, os_facts|
context "on #{os}" do
let(:facts) { os_facts }
it { is_expected.to compile }
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment