Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
Vacceval
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
liu-puppet-modules
Vacceval
Commits
bf8acafa
Commit
bf8acafa
authored
3 years ago
by
Magnus Svensson
Browse files
Options
Downloads
Patches
Plain Diff
Open firewalld for http/https
parent
d09e845f
No related branches found
No related tags found
2 merge requests
!6
Open firewalld for http/https
,
!5
Revert "Populate module skeleton"
Pipeline
#61915
passed
3 years ago
Stage: puppet
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
manifests/init.pp
+28
-0
28 additions, 0 deletions
manifests/init.pp
pdk.yaml
+2
-0
2 additions, 0 deletions
pdk.yaml
spec/classes/vacceval_spec.rb
+13
-0
13 additions, 0 deletions
spec/classes/vacceval_spec.rb
with
43 additions
and
0 deletions
manifests/init.pp
0 → 100644
+
28
−
0
View file @
bf8acafa
# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
# include vacceval
class
vacceval
{
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'
,
}
}
This diff is collapsed.
Click to expand it.
pdk.yaml
0 → 100644
+
2
−
0
View file @
bf8acafa
---
ignore
:
[]
This diff is collapsed.
Click to expand it.
spec/classes/vacceval_spec.rb
0 → 100644
+
13
−
0
View file @
bf8acafa
# frozen_string_literal: true
require
'spec_helper'
describe
'vacceval'
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment