Commit 2d2280ec authored by mh's avatar mh

linting

parent 29c986cd
......@@ -9,4 +9,5 @@ end
mod 'puppet-healthcheck'
mod 'scl', :git => 'https://git-ipuppet.immerda.ch/module-scl'
mod 'selinux', :git => 'https://git-ipuppet.immerda.ch/module-selinux'
mod 'tor', :git => 'https://git-ipuppet.immerda.ch/module-tor'
......@@ -22,12 +22,12 @@ class schleuder::base {
ensure => running,
enable => true,
} -> http_conn_validator { 'schleuder-api-ready':
host => $schleuder::api_host,
port => $schleuder::api_port,
use_ssl => true,
test_url => '/status.json',
host => $schleuder::api_host,
port => $schleuder::api_port,
use_ssl => true,
test_url => '/status.json',
# api likely uses custom certs
verify_peer => false,
verify_peer => false,
}
file{'/var/lib/schleuder/adminkeys':
......@@ -88,7 +88,7 @@ class schleuder::base {
}
if $schleuder::gpg_use_tor {
include tor::daemon
include ::tor::daemon
file{
'/var/lib/schleuder/.gnupg':
ensure => directory,
......
......@@ -26,7 +26,7 @@ class schleuder(
$export_web_api_key = false,
$gpg_use_tor = false,
) {
case $operatingsystem {
case $facts['operatingsystem'] {
'CentOS': { include schleuder::centos }
default: { include schleuder::base }
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment