pmcf 4.9.13 → 4.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.9.13",
3
+ "version": "4.10.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -55,8 +55,8 @@
55
55
  "dependencies": {
56
56
  "content-entry-transform": "^1.6.1",
57
57
  "ip-utilties": "^2.0.3",
58
- "npm-pkgbuild": "^20.2.1",
59
- "pacc": "^8.0.4",
58
+ "npm-pkgbuild": "^20.2.2",
59
+ "pacc": "^8.1.2",
60
60
  "package-directory": "^8.1.0"
61
61
  },
62
62
  "devDependencies": {
package/src/module.mjs CHANGED
@@ -23,6 +23,7 @@ export * from "./services/bind.mjs";
23
23
  export * from "./services/chrony.mjs";
24
24
  export * from "./services/kea.mjs";
25
25
  export * from "./services/openldap.mjs";
26
+ export * from "./services/postfix.mjs";
26
27
  export * from "./services/influxdb.mjs";
27
28
  export * from "./services/mosquitto.mjs";
28
29
  export * from "./services/headscale.mjs";
@@ -0,0 +1,66 @@
1
+ import { FileContentProvider } from "npm-pkgbuild";
2
+ import { addType } from "pacc";
3
+ import { addServiceType } from "pmcf";
4
+ import { ServiceTypeDefinition, Service } from "../service.mjs";
5
+
6
+ const PostfixServiceTypeDefinition = {
7
+ name: "üpstfix",
8
+ extends: ServiceTypeDefinition,
9
+ specializationOf: ServiceTypeDefinition,
10
+ owners: ServiceTypeDefinition.owners,
11
+ key: "name",
12
+ attributes: {},
13
+ service: {
14
+ systemdService: "postfix.service",
15
+ extends: ["smtp", "lmpt"],
16
+ services: {}
17
+ }
18
+ };
19
+
20
+ export class PostfixService extends Service {
21
+ static {
22
+ addType(this);
23
+ addServiceType(this.typeDefinition.service, this.typeDefinition.name);
24
+ }
25
+
26
+ static get typeDefinition() {
27
+ return PostfixServiceTypeDefinition;
28
+ }
29
+
30
+ get type() {
31
+ return PostfixServiceTypeDefinition.name;
32
+ }
33
+
34
+ async *preparePackages(dir) {
35
+ const owner = "root";
36
+ const group = "root";
37
+
38
+ const entryProperties = {
39
+ mode: 0o644,
40
+ owner,
41
+ group
42
+ };
43
+ const directoryProperties = {
44
+ mode: 0o755,
45
+ owner,
46
+ group
47
+ };
48
+
49
+ const packageData = {
50
+ dir,
51
+ sources: [
52
+ ...this.templateContent(entryProperties, directoryProperties),
53
+ new FileContentProvider(dir + "/", entryProperties, directoryProperties)
54
+ ],
55
+ outputs: this.outputs,
56
+ properties: {
57
+ name: `${this.typeName}-${this.location.name}-${this.host.name}`,
58
+ description: `${this.typeName} definitions for ${this.fullName}@${this.host.name}`,
59
+ access: "private",
60
+ dependencies: ["openldap>=3.10.7"]
61
+ }
62
+ };
63
+
64
+ yield packageData;
65
+ }
66
+ }
@@ -23,6 +23,7 @@ export * from "./services/bind.mjs";
23
23
  export * from "./services/chrony.mjs";
24
24
  export * from "./services/kea.mjs";
25
25
  export * from "./services/openldap.mjs";
26
+ export * from "./services/postfix.mjs";
26
27
  export * from "./services/influxdb.mjs";
27
28
  export * from "./services/mosquitto.mjs";
28
29
  export * from "./services/headscale.mjs";
@@ -0,0 +1,765 @@
1
+ export class PostfixService extends Service {
2
+ static get typeDefinition(): {
3
+ name: string;
4
+ extends: {
5
+ name: string;
6
+ owners: (string | {
7
+ name: string;
8
+ owners: string[];
9
+ extends: typeof import("pmcf").Base;
10
+ key: string;
11
+ attributes: {
12
+ networkInterfaces: {
13
+ type: string;
14
+ collection: boolean;
15
+ isKey: boolean;
16
+ writable: boolean;
17
+ mandatory: boolean;
18
+ private?: boolean;
19
+ credential?: boolean;
20
+ persistent?: boolean;
21
+ depends?: string;
22
+ description?: string;
23
+ default?: any;
24
+ set?: Function;
25
+ get?: Function;
26
+ toInternal?: Function;
27
+ toExternal?: Function;
28
+ values?: Set<any>;
29
+ externalName?: string;
30
+ env?: string[] | string;
31
+ additionalValues?: object;
32
+ };
33
+ services: {
34
+ type: string;
35
+ collection: boolean;
36
+ isKey: boolean;
37
+ writable: boolean;
38
+ mandatory: boolean;
39
+ private?: boolean;
40
+ credential?: boolean;
41
+ persistent?: boolean;
42
+ depends?: string;
43
+ description?: string;
44
+ default?: any;
45
+ set?: Function;
46
+ get?: Function;
47
+ toInternal?: Function;
48
+ toExternal?: Function;
49
+ values?: Set<any>;
50
+ externalName?: string;
51
+ env?: string[] | string;
52
+ additionalValues?: object;
53
+ };
54
+ aliases: import("pacc").AttributeDefinition;
55
+ os: {
56
+ values: string[];
57
+ type: object;
58
+ isKey: boolean;
59
+ writable: boolean;
60
+ mandatory: boolean;
61
+ collection: boolean;
62
+ private?: boolean;
63
+ credential?: boolean;
64
+ persistent?: boolean;
65
+ depends?: string;
66
+ description?: string;
67
+ default?: any;
68
+ set?: Function;
69
+ get?: Function;
70
+ toInternal?: Function;
71
+ toExternal?: Function;
72
+ externalName?: string;
73
+ env?: string[] | string;
74
+ additionalValues?: object;
75
+ };
76
+ "machine-id": import("pacc").AttributeDefinition;
77
+ distribution: import("pacc").AttributeDefinition;
78
+ deployment: {
79
+ values: string[];
80
+ type: object;
81
+ isKey: boolean;
82
+ writable: boolean;
83
+ mandatory: boolean;
84
+ collection: boolean;
85
+ private?: boolean;
86
+ credential?: boolean;
87
+ persistent?: boolean;
88
+ depends?: string;
89
+ description?: string;
90
+ default?: any;
91
+ set?: Function;
92
+ get?: Function;
93
+ toInternal?: Function;
94
+ toExternal?: Function;
95
+ externalName?: string;
96
+ env?: string[] | string;
97
+ additionalValues?: object;
98
+ };
99
+ weight: import("pacc").AttributeDefinition;
100
+ serial: import("pacc").AttributeDefinition;
101
+ vendor: import("pacc").AttributeDefinition;
102
+ keymap: import("pacc").AttributeDefinition;
103
+ chassis: {
104
+ values: string[];
105
+ type: object;
106
+ isKey: boolean;
107
+ writable: boolean;
108
+ mandatory: boolean;
109
+ collection: boolean;
110
+ private?: boolean;
111
+ credential?: boolean;
112
+ persistent?: boolean;
113
+ depends?: string;
114
+ description?: string;
115
+ default?: any;
116
+ set?: Function;
117
+ get?: Function;
118
+ toInternal?: Function;
119
+ toExternal?: Function;
120
+ externalName?: string;
121
+ env?: string[] | string;
122
+ additionalValues?: object;
123
+ };
124
+ architecture: {
125
+ values: string[];
126
+ type: object;
127
+ isKey: boolean;
128
+ writable: boolean;
129
+ mandatory: boolean;
130
+ collection: boolean;
131
+ private?: boolean;
132
+ credential?: boolean;
133
+ persistent?: boolean;
134
+ depends?: string;
135
+ description?: string;
136
+ default?: any;
137
+ set?: Function;
138
+ get?: Function;
139
+ toInternal?: Function;
140
+ toExternal?: Function;
141
+ externalName?: string;
142
+ env?: string[] | string;
143
+ additionalValues?: object;
144
+ };
145
+ replaces: import("pacc").AttributeDefinition;
146
+ depends: import("pacc").AttributeDefinition;
147
+ provides: import("pacc").AttributeDefinition;
148
+ extends: {
149
+ type: string;
150
+ collection: boolean;
151
+ isKey: boolean;
152
+ writable: boolean;
153
+ mandatory: boolean;
154
+ private?: boolean;
155
+ credential?: boolean;
156
+ persistent?: boolean;
157
+ depends?: string;
158
+ description?: string;
159
+ default?: any;
160
+ set?: Function;
161
+ get?: Function;
162
+ toInternal?: Function;
163
+ toExternal?: Function;
164
+ values?: Set<any>;
165
+ externalName?: string;
166
+ env?: string[] | string;
167
+ additionalValues?: object;
168
+ };
169
+ model: import("pacc").AttributeDefinition;
170
+ isModel: import("pacc").AttributeDefinition;
171
+ hostName: {
172
+ writable: boolean;
173
+ type: object;
174
+ isKey: boolean;
175
+ mandatory: boolean;
176
+ collection: boolean;
177
+ private?: boolean;
178
+ credential?: boolean;
179
+ persistent?: boolean;
180
+ depends?: string;
181
+ description?: string;
182
+ default?: any;
183
+ set?: Function;
184
+ get?: Function;
185
+ toInternal?: Function;
186
+ toExternal?: Function;
187
+ values?: Set<any>;
188
+ externalName?: string;
189
+ env?: string[] | string;
190
+ additionalValues?: object;
191
+ };
192
+ cidrAddresses: import("pacc").AttributeDefinition;
193
+ cidrAddress: import("pacc").AttributeDefinition;
194
+ addresses: import("pacc").AttributeDefinition;
195
+ address: import("pacc").AttributeDefinition;
196
+ };
197
+ })[];
198
+ extends: typeof import("pmcf").Base;
199
+ specializations: {};
200
+ factoryFor(owner: any, value: any): any;
201
+ key: string;
202
+ attributes: {
203
+ alias: import("pacc").AttributeDefinition;
204
+ weight: {
205
+ type: object;
206
+ isKey: boolean;
207
+ writable: boolean;
208
+ mandatory: boolean;
209
+ collection: boolean;
210
+ private?: boolean;
211
+ credential?: boolean;
212
+ persistent?: boolean;
213
+ depends?: string;
214
+ description?: string;
215
+ default?: any;
216
+ set?: Function;
217
+ get?: Function;
218
+ toInternal?: Function;
219
+ toExternal?: Function;
220
+ values?: Set<any>;
221
+ externalName?: string;
222
+ env?: string[] | string;
223
+ additionalValues?: object;
224
+ };
225
+ systemdService: import("pacc").AttributeDefinition;
226
+ port: import("pacc").AttributeDefinition;
227
+ protocol: {
228
+ values: string[];
229
+ type: object;
230
+ isKey: boolean;
231
+ writable: boolean;
232
+ mandatory: boolean;
233
+ collection: boolean;
234
+ private?: boolean;
235
+ credential?: boolean;
236
+ persistent?: boolean;
237
+ depends?: string;
238
+ description?: string;
239
+ default?: any;
240
+ set?: Function;
241
+ get?: Function;
242
+ toInternal?: Function;
243
+ toExternal?: Function;
244
+ externalName?: string;
245
+ env?: string[] | string;
246
+ additionalValues?: object;
247
+ };
248
+ type: import("pacc").AttributeDefinition;
249
+ types: typeof import("pacc").string_collection_attribute;
250
+ tls: import("pacc").AttributeDefinition;
251
+ hostName: {
252
+ writable: boolean;
253
+ type: object;
254
+ isKey: boolean;
255
+ mandatory: boolean;
256
+ collection: boolean;
257
+ private?: boolean;
258
+ credential?: boolean;
259
+ persistent?: boolean;
260
+ depends?: string;
261
+ description?: string;
262
+ default?: any;
263
+ set?: Function;
264
+ get?: Function;
265
+ toInternal?: Function;
266
+ toExternal?: Function;
267
+ values?: Set<any>;
268
+ externalName?: string;
269
+ env?: string[] | string;
270
+ additionalValues?: object;
271
+ };
272
+ cidrAddresses: import("pacc").AttributeDefinition;
273
+ cidrAddress: import("pacc").AttributeDefinition;
274
+ addresses: import("pacc").AttributeDefinition;
275
+ address: import("pacc").AttributeDefinition;
276
+ };
277
+ };
278
+ specializationOf: {
279
+ name: string;
280
+ owners: (string | {
281
+ name: string;
282
+ owners: string[];
283
+ extends: typeof import("pmcf").Base;
284
+ key: string;
285
+ attributes: {
286
+ networkInterfaces: {
287
+ type: string;
288
+ collection: boolean;
289
+ isKey: boolean;
290
+ writable: boolean;
291
+ mandatory: boolean;
292
+ private?: boolean;
293
+ credential?: boolean;
294
+ persistent?: boolean;
295
+ depends?: string;
296
+ description?: string;
297
+ default?: any;
298
+ set?: Function;
299
+ get?: Function;
300
+ toInternal?: Function;
301
+ toExternal?: Function;
302
+ values?: Set<any>;
303
+ externalName?: string;
304
+ env?: string[] | string;
305
+ additionalValues?: object;
306
+ };
307
+ services: {
308
+ type: string;
309
+ collection: boolean;
310
+ isKey: boolean;
311
+ writable: boolean;
312
+ mandatory: boolean;
313
+ private?: boolean;
314
+ credential?: boolean;
315
+ persistent?: boolean;
316
+ depends?: string;
317
+ description?: string;
318
+ default?: any;
319
+ set?: Function;
320
+ get?: Function;
321
+ toInternal?: Function;
322
+ toExternal?: Function;
323
+ values?: Set<any>;
324
+ externalName?: string;
325
+ env?: string[] | string;
326
+ additionalValues?: object;
327
+ };
328
+ aliases: import("pacc").AttributeDefinition;
329
+ os: {
330
+ values: string[];
331
+ type: object;
332
+ isKey: boolean;
333
+ writable: boolean;
334
+ mandatory: boolean;
335
+ collection: boolean;
336
+ private?: boolean;
337
+ credential?: boolean;
338
+ persistent?: boolean;
339
+ depends?: string;
340
+ description?: string;
341
+ default?: any;
342
+ set?: Function;
343
+ get?: Function;
344
+ toInternal?: Function;
345
+ toExternal?: Function;
346
+ externalName?: string;
347
+ env?: string[] | string;
348
+ additionalValues?: object;
349
+ };
350
+ "machine-id": import("pacc").AttributeDefinition;
351
+ distribution: import("pacc").AttributeDefinition;
352
+ deployment: {
353
+ values: string[];
354
+ type: object;
355
+ isKey: boolean;
356
+ writable: boolean;
357
+ mandatory: boolean;
358
+ collection: boolean;
359
+ private?: boolean;
360
+ credential?: boolean;
361
+ persistent?: boolean;
362
+ depends?: string;
363
+ description?: string;
364
+ default?: any;
365
+ set?: Function;
366
+ get?: Function;
367
+ toInternal?: Function;
368
+ toExternal?: Function;
369
+ externalName?: string;
370
+ env?: string[] | string;
371
+ additionalValues?: object;
372
+ };
373
+ weight: import("pacc").AttributeDefinition;
374
+ serial: import("pacc").AttributeDefinition;
375
+ vendor: import("pacc").AttributeDefinition;
376
+ keymap: import("pacc").AttributeDefinition;
377
+ chassis: {
378
+ values: string[];
379
+ type: object;
380
+ isKey: boolean;
381
+ writable: boolean;
382
+ mandatory: boolean;
383
+ collection: boolean;
384
+ private?: boolean;
385
+ credential?: boolean;
386
+ persistent?: boolean;
387
+ depends?: string;
388
+ description?: string;
389
+ default?: any;
390
+ set?: Function;
391
+ get?: Function;
392
+ toInternal?: Function;
393
+ toExternal?: Function;
394
+ externalName?: string;
395
+ env?: string[] | string;
396
+ additionalValues?: object;
397
+ };
398
+ architecture: {
399
+ values: string[];
400
+ type: object;
401
+ isKey: boolean;
402
+ writable: boolean;
403
+ mandatory: boolean;
404
+ collection: boolean;
405
+ private?: boolean;
406
+ credential?: boolean;
407
+ persistent?: boolean;
408
+ depends?: string;
409
+ description?: string;
410
+ default?: any;
411
+ set?: Function;
412
+ get?: Function;
413
+ toInternal?: Function;
414
+ toExternal?: Function;
415
+ externalName?: string;
416
+ env?: string[] | string;
417
+ additionalValues?: object;
418
+ };
419
+ replaces: import("pacc").AttributeDefinition;
420
+ depends: import("pacc").AttributeDefinition;
421
+ provides: import("pacc").AttributeDefinition;
422
+ extends: {
423
+ type: string;
424
+ collection: boolean;
425
+ isKey: boolean;
426
+ writable: boolean;
427
+ mandatory: boolean;
428
+ private?: boolean;
429
+ credential?: boolean;
430
+ persistent?: boolean;
431
+ depends?: string;
432
+ description?: string;
433
+ default?: any;
434
+ set?: Function;
435
+ get?: Function;
436
+ toInternal?: Function;
437
+ toExternal?: Function;
438
+ values?: Set<any>;
439
+ externalName?: string;
440
+ env?: string[] | string;
441
+ additionalValues?: object;
442
+ };
443
+ model: import("pacc").AttributeDefinition;
444
+ isModel: import("pacc").AttributeDefinition;
445
+ hostName: {
446
+ writable: boolean;
447
+ type: object;
448
+ isKey: boolean;
449
+ mandatory: boolean;
450
+ collection: boolean;
451
+ private?: boolean;
452
+ credential?: boolean;
453
+ persistent?: boolean;
454
+ depends?: string;
455
+ description?: string;
456
+ default?: any;
457
+ set?: Function;
458
+ get?: Function;
459
+ toInternal?: Function;
460
+ toExternal?: Function;
461
+ values?: Set<any>;
462
+ externalName?: string;
463
+ env?: string[] | string;
464
+ additionalValues?: object;
465
+ };
466
+ cidrAddresses: import("pacc").AttributeDefinition;
467
+ cidrAddress: import("pacc").AttributeDefinition;
468
+ addresses: import("pacc").AttributeDefinition;
469
+ address: import("pacc").AttributeDefinition;
470
+ };
471
+ })[];
472
+ extends: typeof import("pmcf").Base;
473
+ specializations: {};
474
+ factoryFor(owner: any, value: any): any;
475
+ key: string;
476
+ attributes: {
477
+ alias: import("pacc").AttributeDefinition;
478
+ weight: {
479
+ type: object;
480
+ isKey: boolean;
481
+ writable: boolean;
482
+ mandatory: boolean;
483
+ collection: boolean;
484
+ private?: boolean;
485
+ credential?: boolean;
486
+ persistent?: boolean;
487
+ depends?: string;
488
+ description?: string;
489
+ default?: any;
490
+ set?: Function;
491
+ get?: Function;
492
+ toInternal?: Function;
493
+ toExternal?: Function;
494
+ values?: Set<any>;
495
+ externalName?: string;
496
+ env?: string[] | string;
497
+ additionalValues?: object;
498
+ };
499
+ systemdService: import("pacc").AttributeDefinition;
500
+ port: import("pacc").AttributeDefinition;
501
+ protocol: {
502
+ values: string[];
503
+ type: object;
504
+ isKey: boolean;
505
+ writable: boolean;
506
+ mandatory: boolean;
507
+ collection: boolean;
508
+ private?: boolean;
509
+ credential?: boolean;
510
+ persistent?: boolean;
511
+ depends?: string;
512
+ description?: string;
513
+ default?: any;
514
+ set?: Function;
515
+ get?: Function;
516
+ toInternal?: Function;
517
+ toExternal?: Function;
518
+ externalName?: string;
519
+ env?: string[] | string;
520
+ additionalValues?: object;
521
+ };
522
+ type: import("pacc").AttributeDefinition;
523
+ types: typeof import("pacc").string_collection_attribute;
524
+ tls: import("pacc").AttributeDefinition;
525
+ hostName: {
526
+ writable: boolean;
527
+ type: object;
528
+ isKey: boolean;
529
+ mandatory: boolean;
530
+ collection: boolean;
531
+ private?: boolean;
532
+ credential?: boolean;
533
+ persistent?: boolean;
534
+ depends?: string;
535
+ description?: string;
536
+ default?: any;
537
+ set?: Function;
538
+ get?: Function;
539
+ toInternal?: Function;
540
+ toExternal?: Function;
541
+ values?: Set<any>;
542
+ externalName?: string;
543
+ env?: string[] | string;
544
+ additionalValues?: object;
545
+ };
546
+ cidrAddresses: import("pacc").AttributeDefinition;
547
+ cidrAddress: import("pacc").AttributeDefinition;
548
+ addresses: import("pacc").AttributeDefinition;
549
+ address: import("pacc").AttributeDefinition;
550
+ };
551
+ };
552
+ owners: (string | {
553
+ name: string;
554
+ owners: string[];
555
+ extends: typeof import("pmcf").Base;
556
+ key: string;
557
+ attributes: {
558
+ networkInterfaces: {
559
+ type: string;
560
+ collection: boolean;
561
+ isKey: boolean;
562
+ writable: boolean;
563
+ mandatory: boolean;
564
+ private?: boolean;
565
+ credential?: boolean;
566
+ persistent?: boolean;
567
+ depends?: string;
568
+ description?: string;
569
+ default?: any;
570
+ set?: Function;
571
+ get?: Function;
572
+ toInternal?: Function;
573
+ toExternal?: Function;
574
+ values?: Set<any>;
575
+ externalName?: string;
576
+ env?: string[] | string;
577
+ additionalValues?: object;
578
+ };
579
+ services: {
580
+ type: string;
581
+ collection: boolean;
582
+ isKey: boolean;
583
+ writable: boolean;
584
+ mandatory: boolean;
585
+ private?: boolean;
586
+ credential?: boolean;
587
+ persistent?: boolean;
588
+ depends?: string;
589
+ description?: string;
590
+ default?: any;
591
+ set?: Function;
592
+ get?: Function;
593
+ toInternal?: Function;
594
+ toExternal?: Function;
595
+ values?: Set<any>;
596
+ externalName?: string;
597
+ env?: string[] | string;
598
+ additionalValues?: object;
599
+ };
600
+ aliases: import("pacc").AttributeDefinition;
601
+ os: {
602
+ values: string[];
603
+ type: object;
604
+ isKey: boolean;
605
+ writable: boolean;
606
+ mandatory: boolean;
607
+ collection: boolean;
608
+ private?: boolean;
609
+ credential?: boolean;
610
+ persistent?: boolean;
611
+ depends?: string;
612
+ description?: string;
613
+ default?: any;
614
+ set?: Function;
615
+ get?: Function;
616
+ toInternal?: Function;
617
+ toExternal?: Function;
618
+ externalName?: string;
619
+ env?: string[] | string;
620
+ additionalValues?: object;
621
+ };
622
+ "machine-id": import("pacc").AttributeDefinition;
623
+ distribution: import("pacc").AttributeDefinition;
624
+ deployment: {
625
+ values: string[];
626
+ type: object;
627
+ isKey: boolean;
628
+ writable: boolean;
629
+ mandatory: boolean;
630
+ collection: boolean;
631
+ private?: boolean;
632
+ credential?: boolean;
633
+ persistent?: boolean;
634
+ depends?: string;
635
+ description?: string;
636
+ default?: any;
637
+ set?: Function;
638
+ get?: Function;
639
+ toInternal?: Function;
640
+ toExternal?: Function;
641
+ externalName?: string;
642
+ env?: string[] | string;
643
+ additionalValues?: object;
644
+ };
645
+ weight: import("pacc").AttributeDefinition;
646
+ serial: import("pacc").AttributeDefinition;
647
+ vendor: import("pacc").AttributeDefinition;
648
+ keymap: import("pacc").AttributeDefinition;
649
+ chassis: {
650
+ values: string[];
651
+ type: object;
652
+ isKey: boolean;
653
+ writable: boolean;
654
+ mandatory: boolean;
655
+ collection: boolean;
656
+ private?: boolean;
657
+ credential?: boolean;
658
+ persistent?: boolean;
659
+ depends?: string;
660
+ description?: string;
661
+ default?: any;
662
+ set?: Function;
663
+ get?: Function;
664
+ toInternal?: Function;
665
+ toExternal?: Function;
666
+ externalName?: string;
667
+ env?: string[] | string;
668
+ additionalValues?: object;
669
+ };
670
+ architecture: {
671
+ values: string[];
672
+ type: object;
673
+ isKey: boolean;
674
+ writable: boolean;
675
+ mandatory: boolean;
676
+ collection: boolean;
677
+ private?: boolean;
678
+ credential?: boolean;
679
+ persistent?: boolean;
680
+ depends?: string;
681
+ description?: string;
682
+ default?: any;
683
+ set?: Function;
684
+ get?: Function;
685
+ toInternal?: Function;
686
+ toExternal?: Function;
687
+ externalName?: string;
688
+ env?: string[] | string;
689
+ additionalValues?: object;
690
+ };
691
+ replaces: import("pacc").AttributeDefinition;
692
+ depends: import("pacc").AttributeDefinition;
693
+ provides: import("pacc").AttributeDefinition;
694
+ extends: {
695
+ type: string;
696
+ collection: boolean;
697
+ isKey: boolean;
698
+ writable: boolean;
699
+ mandatory: boolean;
700
+ private?: boolean;
701
+ credential?: boolean;
702
+ persistent?: boolean;
703
+ depends?: string;
704
+ description?: string;
705
+ default?: any;
706
+ set?: Function;
707
+ get?: Function;
708
+ toInternal?: Function;
709
+ toExternal?: Function;
710
+ values?: Set<any>;
711
+ externalName?: string;
712
+ env?: string[] | string;
713
+ additionalValues?: object;
714
+ };
715
+ model: import("pacc").AttributeDefinition;
716
+ isModel: import("pacc").AttributeDefinition;
717
+ hostName: {
718
+ writable: boolean;
719
+ type: object;
720
+ isKey: boolean;
721
+ mandatory: boolean;
722
+ collection: boolean;
723
+ private?: boolean;
724
+ credential?: boolean;
725
+ persistent?: boolean;
726
+ depends?: string;
727
+ description?: string;
728
+ default?: any;
729
+ set?: Function;
730
+ get?: Function;
731
+ toInternal?: Function;
732
+ toExternal?: Function;
733
+ values?: Set<any>;
734
+ externalName?: string;
735
+ env?: string[] | string;
736
+ additionalValues?: object;
737
+ };
738
+ cidrAddresses: import("pacc").AttributeDefinition;
739
+ cidrAddress: import("pacc").AttributeDefinition;
740
+ addresses: import("pacc").AttributeDefinition;
741
+ address: import("pacc").AttributeDefinition;
742
+ };
743
+ })[];
744
+ key: string;
745
+ attributes: {};
746
+ service: {
747
+ systemdService: string;
748
+ extends: string[];
749
+ services: {};
750
+ };
751
+ };
752
+ get type(): string;
753
+ preparePackages(dir: any): AsyncGenerator<{
754
+ dir: any;
755
+ sources: any[];
756
+ outputs: Set<typeof import("npm-pkgbuild").DEBIAN | typeof import("npm-pkgbuild").ARCH | typeof import("npm-pkgbuild").OCI | typeof import("npm-pkgbuild").DOCKER>;
757
+ properties: {
758
+ name: string;
759
+ description: string;
760
+ access: string;
761
+ dependencies: string[];
762
+ };
763
+ }, void, unknown>;
764
+ }
765
+ import { Service } from "../service.mjs";