Skip to content
Snippets Groups Projects
Commit d2c3c3b1 authored by Nils Olof Paulsson's avatar Nils Olof Paulsson
Browse files

example code

parent f9eb2089
No related branches found
No related tags found
2 merge requests!2Test,!1example code
Pipeline #62243 passed
# @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>',
# }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment