summaryrefslogtreecommitdiffstats
path: root/modules/tozt/manifests/bitwarden.pp
blob: 0e6beda63fedcde53843291f6f17c645ba05ef7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class tozt::bitwarden {
  include tozt::certbot
  include tozt::persistent

  class { "bitwarden::server":
    data_dir => "/media/persistent/bitwarden";
  }

  nginx::site {
    "bitwarden-tls":
      source => 'puppet:///modules/tozt/nginx/bitwarden-tls.conf',
      require => Class['certbot'];
    "bitwarden":
      source => 'puppet:///modules/tozt/nginx/bitwarden.conf';
  }
}