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

basic setup based on vacceval

parent 17524951
No related branches found
No related tags found
4 merge requests!4Devel,!3Test,!2My test,!1basic setup based on vacceval
Pipeline #99884 passed
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