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

Merge branch 'devel' into 'production'

Devel

See merge request !4
parents 17524951 38be297f
No related branches found
No related tags found
1 merge request!4Devel
Pipeline #99926 passed
Just checking
Jodå, det funkar Just
# @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