Skip to content
Snippets Groups Projects
init.pp 1.61 KiB
Newer Older
  • Learn to ignore specific revisions
  • # @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 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 { 'robin.keskisarkka@liu.se':
        ensure => present,
        user   => 'robke04',
        type   => 'ssh-rsa',
        key    => 'AAAAB3NzaC1yc2EAAAADAQABAAACAQCwT9XO+y2tF2e8Hygy77TlGT9ngZFwUnAagRg28W2AnJdK3na6p4LD+RxJQHMivZOk9GVAkzgZSci/v4s62/fjAZVrKyiRkHNghh5ObaKv2x8H+bUAVWvIc030qXrRNY4OGWXS3a9zJoyrjQdUiKT6ZITyhA5A7vVqVTByDNrh5TiZsejySdLr9A/DajIsYCBaB4pLAbTVQz3pq0kgVgK7c4SP/8YZKzPvvrrcgYZ7qiRUM9QtlIry1JPLezPXgT8I1/cq+bwNrDVX7UnCylFxknEioIJFyI8qHCCj6QpVcrzvwg4Xi2ma3OTmNcl7Z9JsTda5M+OK1AwvAGhTsBN6N6Q5xRyfRBOhYRPPvNQFWhTuy98KaR3UkBkqEpZpaLBcVXJ3AVYrQ2j3CB7i2kqRzYf58acjuUWXUqp1W/kXCRZIQkblL5eaDCC2CY0+05gpu+yvDQLsQ4HmLWXHJM/F742tzAvg5qyTlKCm/JRy36vqGzjdW/aq5P7AxIenFQPMYkwOHyG9lfmf3+TrUz9lu95a30TFlDGGkMPnCIC2Gz20kK25DOSUFOUjci8y4dm/VTiILU9szAA0mujK2ZuTihjPw7/spahxGgQkEoDszXcr0UfEtGP7jpcg8DlUcOnKFLymsNNL77D0wnUb6o7Sm+YwCo6VJeoOmejIKHZEdw==',
    }