Skip to content

Commit

Permalink
Add Suse support (#71)
Browse files Browse the repository at this point in the history
* Add Suse support

* docker module ha sno support for suse

* single line entry

* correct single line

* docker module is not compatible with Suse
  • Loading branch information
tuxmea authored Jan 10, 2024
1 parent 26c0412 commit 86bf391
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions data/os/Suse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
hdm::manage_docker: false
4 changes: 2 additions & 2 deletions manifests/docker.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
}

$shell = $facts['os']['family'] ? {
'Debian' => '/usr/sbin/nologin',
'RedHat' => '/sbin/nologin',
'Debian' => '/usr/sbin/nologin',
/(RedHat|Suse)/ => '/sbin/nologin',
}

user { $hdm::user:
Expand Down

0 comments on commit 86bf391

Please sign in to comment.