Skip to content
Snippets Groups Projects
init.pp 962 B
Newer Older
Nils Olof Paulsson's avatar
Nils Olof Paulsson committed
# @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>',
  # }
}