feat: initial commit
This commit is contained in:
commit
38f495e3f4
457 changed files with 40577 additions and 0 deletions
30
environments/production/modules/authentik/manifests/init.pp
Normal file
30
environments/production/modules/authentik/manifests/init.pp
Normal file
|
@ -0,0 +1,30 @@
|
|||
class authentik {
|
||||
include docker
|
||||
|
||||
contain authentik::install
|
||||
}
|
||||
|
||||
class authentik::install {
|
||||
package { 'docker-compose':
|
||||
ensure => installed
|
||||
}
|
||||
|
||||
file { '/opt/authentik':
|
||||
ensure => directory
|
||||
}
|
||||
|
||||
file { '/opt/authentik/compose.yml':
|
||||
ensure => file,
|
||||
source => 'puppet:///modules/authentik/compose.yml'
|
||||
}
|
||||
|
||||
file { '/opt/authentik/.env':
|
||||
ensure => file,
|
||||
content => template('authentik/.env.erb')
|
||||
}
|
||||
|
||||
docker_compose { 'authentik':
|
||||
compose_files => ['/opt/authentik/compose.yml'],
|
||||
ensure => present,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue