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

Merge branch 'my-test' into 'test'

basic setup based on vacceval

See merge request !1
parents 17524951 f56886eb
Branches test
No related tags found
3 merge requests!4Devel,!3Test,!1basic setup based on vacceval
Pipeline #99922 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