-
Notifications
You must be signed in to change notification settings - Fork 0
/
monolith_manifests.tf
43 lines (33 loc) · 1.35 KB
/
monolith_manifests.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
resource "zentral_monolith_manifest" "default" {
name = "Default"
meta_business_unit_id = zentral_meta_business_unit.default.id
}
# enrollment
resource "zentral_monolith_enrollment" "default" {
manifest_id = zentral_monolith_manifest.default.id
meta_business_unit_id = zentral_meta_business_unit.default.id
}
# catalog
data "zentral_monolith_catalog" "production" {
name = "production"
}
resource "zentral_monolith_manifest_catalog" "default-production" {
manifest_id = zentral_monolith_manifest.default.id
catalog_id = data.zentral_monolith_catalog.production.id
}
# enrollment packages
resource "zentral_monolith_manifest_enrollment_package" "munki" {
manifest_id = zentral_monolith_manifest.default.id
enrollment_id = zentral_munki_enrollment.default.id
builder = "zentral.contrib.munki.osx_package.builder.MunkiZentralEnrollPkgBuilder"
}
resource "zentral_monolith_manifest_enrollment_package" "osquery" {
manifest_id = zentral_monolith_manifest.default.id
enrollment_id = zentral_osquery_enrollment.default.id
builder = "zentral.contrib.osquery.osx_package.builder.OsqueryZentralEnrollPkgBuilder"
}
# sub manifest
resource "zentral_monolith_manifest_sub_manifest" "default-agents" {
manifest_id = zentral_monolith_manifest.default.id
sub_manifest_id = zentral_monolith_sub_manifest.agents.id
}