pmcf 3.7.9 → 3.7.11
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 +2 -2
- package/src/host.mjs +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"ip-utilties": "^1.4.7",
|
|
54
54
|
"npm-pkgbuild": "^18.2.24",
|
|
55
|
-
"pacc": "^4.
|
|
55
|
+
"pacc": "^4.8.0",
|
|
56
56
|
"package-directory": "^8.1.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
package/src/host.mjs
CHANGED
|
@@ -68,7 +68,8 @@ const HostTypeDefinition = {
|
|
|
68
68
|
"camera",
|
|
69
69
|
"inverter",
|
|
70
70
|
"battery",
|
|
71
|
-
"virtual"
|
|
71
|
+
"virtual",
|
|
72
|
+
"dehumidifier"
|
|
72
73
|
]
|
|
73
74
|
},
|
|
74
75
|
architecture: {
|
|
@@ -483,6 +484,10 @@ export class Host extends ServiceOwner {
|
|
|
483
484
|
{ base: this.directory, pattern: "*_key" },
|
|
484
485
|
{ destination: "/etc/ssh/", mode: 0o600 }
|
|
485
486
|
),
|
|
487
|
+
new FileContentProvider(
|
|
488
|
+
{ base: this.directory, pattern: "credential.secret" },
|
|
489
|
+
{ destination: "/var/lib/systemd", mode: 0o400 }
|
|
490
|
+
),
|
|
486
491
|
new FileContentProvider(dir + "/")
|
|
487
492
|
],
|
|
488
493
|
outputs: this.outputs,
|