Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
puppet_cwsens
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
carbon_weather_projects
puppet_cwsens
Commits
9b7fbd0a
Commit
9b7fbd0a
authored
3 years ago
by
Jon Dybeck
Browse files
Options
Downloads
Plain Diff
Fix firewall and adjust auth
parents
8a259606
3846da4f
No related branches found
No related tags found
3 merge requests
!22
Update test
,
!20
Pdk convert
,
!19
Fix firewall and auth
Pipeline
#50614
passed
3 years ago
Stage: puppet
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/firewall.pp
+1
-1
1 addition, 1 deletion
manifests/firewall.pp
manifests/init.pp
+3
-1
3 additions, 1 deletion
manifests/init.pp
with
4 additions
and
2 deletions
manifests/firewall.pp
+
1
−
1
View file @
9b7fbd0a
...
@@ -3,7 +3,7 @@ class puppet_cwsens::firewall{
...
@@ -3,7 +3,7 @@ class puppet_cwsens::firewall{
$mqtt_rule
=
@
(
"EOT"
/
L
)
$mqtt_rule
=
@
(
"EOT"
/
L
)
require
services
require
services
service
mqtt
{
tcp
/
1883
}
service
mqtt
is
{
tcp
/
1883
}
policy
ipsum
-
mqtt
chain
ipsum
-
mqtt
is
policy
ipsum
-
mqtt
chain
ipsum
-
mqtt
is
accept
service
:
mqtt
from
class
:
liu
-
nets
accept
service
:
mqtt
from
class
:
liu
-
nets
end
policy
end
policy
...
...
This diff is collapsed.
Click to expand it.
manifests/init.pp
+
3
−
1
View file @
9b7fbd0a
...
@@ -6,9 +6,11 @@ class puppet_cwsens(
...
@@ -6,9 +6,11 @@ class puppet_cwsens(
$mosquitto_conf
=
@
(
"EOT"
/
L
)
$mosquitto_conf
=
@
(
"EOT"
/
L
)
per_listener_settings
true
per_listener_settings
true
listener
1883
allow_anonymous
false
password_file
/
etc
/
mosquitto
/
passwd
max_inflight_messages
0
max_inflight_messages
0
sys_interval
2
sys_interval
2
allow_anonymous
false
|
EOT
|
EOT
file
{
'/etc/mosquitto/mosquitto.conf'
:
file
{
'/etc/mosquitto/mosquitto.conf'
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment