Commit cfb0a879 authored by Goh Choon Ming's avatar Goh Choon Ming

fix syntax errors

parent b8dc1925
......@@ -25,7 +25,7 @@ class opstheater::profile::firewall {
$ip_list.each | String $ip | {
firewall { "100 accept connections for ${ip}":
chain => 'OPSTHEATER',
action => 'accept'
action => 'accept',
proto => 'all',
source => $ip,
}
......@@ -34,7 +34,7 @@ class opstheater::profile::firewall {
Firewall <| tag == 'opstheater' |>
Firewall {
before => Class['opstheater::profile::firewall::pre']
before => Class['opstheater::profile::firewall::pre'],
require => Class['opstheater::profile::firewall::post']
}
......
......@@ -185,7 +185,7 @@ class opstheater::profile::gitlab {
action => 'accept',
proto => 'tcp',
dport => '80',
source => hiera('opstheater::vpn_ip', '0.0.0.0')
source => hiera('opstheater::vpn_ip', '0.0.0.0'),
tag => 'opstheater',
}
......@@ -194,7 +194,7 @@ class opstheater::profile::gitlab {
jump => 'OPSTHEATER',
proto => 'tcp',
dport => '443',
source => hiera('opstheater::vpn_ip', '0.0.0.0')
source => hiera('opstheater::vpn_ip', '0.0.0.0'),
tag => 'opstheater',
}
......
......@@ -5,11 +5,11 @@ class opstheater::profile::grafana {
$elasticsearchurl = hiera('opstheater::elasticsearch::fqdn')
$install_method = hiera('opstheater::profile::grafana::install_method')
$domain = hiera('opstheater::domain')
$smtp_address = hiera('opstheater::smtp::fqdn'),
$smtp_port = hiera('opstheater::smtp::port'),
$smtp_user_name = hiera('opstheater::smtp::username'),
$smtp_password = hiera('opstheater::smtp::password'),
$smtp_openssl_verify_mode = hiera('opstheater::smtp::openssl_verify_mode'),
$smtp_address = hiera('opstheater::smtp::fqdn')
$smtp_port = hiera('opstheater::smtp::port')
$smtp_user_name = hiera('opstheater::smtp::username')
$smtp_password = hiera('opstheater::smtp::password')
$smtp_openssl_verify_mode = hiera('opstheater::smtp::openssl_verify_mode')
class { '::grafana':
install_method => $install_method,
......
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