Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tracingcarbon
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
Tracingcarbon
Commits
d2c3c3b1
Commit
d2c3c3b1
authored
3 years ago
by
Nils Olof Paulsson
Browse files
Options
Downloads
Patches
Plain Diff
example code
parent
f9eb2089
No related branches found
Branches containing commit
No related tags found
2 merge requests
!2
Test
,
!1
example code
Pipeline
#62243
passed
3 years ago
Stage: puppet
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manifests/init.pp
+39
-0
39 additions, 0 deletions
manifests/init.pp
with
39 additions
and
0 deletions
manifests/init.pp
0 → 100644
+
39
−
0
View file @
d2c3c3b1
# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
# include tracingcarbon
class
tracingcarbon
{
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'
,
}
# ssh_authorized_key { '<name here>@liu.se':
# ensure => present,
# user => '<user here>',
# type => 'ssh-rsa',
# key => '<key here>',
# }
}
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