]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Adding SNMPv3 users to all spk-chatbot hosts.
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 29 Aug 2018 12:16:03 +0000 (14:16 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 29 Aug 2018 12:16:03 +0000 (14:16 +0200)
customer/spk-chatbot/cb09-spk-de.pixelpark.net.yaml
customer/spk-chatbot/common.yaml

index c6b826c3f4c067d6680e93615ba66f6a83a2e254..cd21505a47e530a967e3c44bd2a772d1b8d08bd7 100644 (file)
@@ -1,54 +1,2 @@
 ---
 
-infra::additional_classes:
-  - infra::profile::snmp
-
-infra::profile::snmp::users_v3:
-  kauz:
-    authpass: >
-        ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw
-        DQYJKoZIhvcNAQEBBQAEggEAeHwhoQ3EdVOFQWIPHtir4W6q8PhA422Hjhbe
-        SZjz5vS6s6ZdAX/xZJ322FeHkh2fsb/j9iLC0B5ADW61kO8Q+0hjMTau8dTJ
-        yykSxWYJXj9DwYqlR6VWTPX+n8Bzl6Gitt9eqBnsa52SKD82tLh0cO7TZvUE
-        3BU1fjuUU0ts/8bbFZ9xiN+uIY2KIPruiDtMeUCtcrKf4al5RnCS3XE+nMPk
-        N90QYrGuzoW0C32y+Oh2NcddonQE5PjpPjV7KVuSGGGSgwQEsmukp+jc0eZ/
-        uS5N4rJtb75ErPDWysj5S5sYCQ3Ls2pH2VEevTk0Lipk6fT3RoovgimymiOz
-        K2hCXTA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDLxOIT2FJUr/Ja/qQB
-        6gzggBCAk33B4XmjAnHbnf73OGyk]
-    privpass: >
-        ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw
-        DQYJKoZIhvcNAQEBBQAEggEAQ9QEI+E11p6CGWqBAbJnKQoHJvcJrWl5OnSs
-        ue60yuKnr8GDI6Gxbo/tdQ05cqTSTLo/wx+F58ma1Y85Zr1U99aZFF0+MzPu
-        4N/ZmRGvR/wVt0eIml+DhTaiWTLUv0WqNspFji7+kop6UMIuJKpo+8V2ArCM
-        Bbz4y69MBtQ2/SIdSU6yjnLSbnR/waZlhcFK9jU482msTQwtRYaa3nvhfMrS
-        HqFIrpMZv6bVY2yjRUEnMMoQl0D5vlwU+vKb8BN5QzDcWa5pdbPInogFAj1v
-        xeFkLv4OPg15CzGYqvO4DBRZRQaMD6sB7Br0shASiy6ib9IYGSYLm99GPhJE
-        rjmKEjA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBHIZihSVxR6qIMBaUe
-        6VWVgBAYyqqNhlXRTYezz3imjfj+]
-  sfp:
-    authpass: >
-        ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw
-        DQYJKoZIhvcNAQEBBQAEggEARbecGOBsIYZ8JDqLcGWJQAafRyMvMVHUqDVM
-        sBXfTg88mVPXjX3a+gcGc+9pHnltIH1d1AbkemIbf09ljyNLRjw/blStd5D+
-        QycNqrvL4C82UB7Zn3OHmwQ8MuJxO9OgWohZQnXpScPXRyltOz7pHG4ESqjU
-        nJ7+3QV7OPrgHM3rodNS50abdJCdehClscaOAR9TTsk7tJm8YJVcJ/JkX1kw
-        Z+R8bcZcgb4MrBFN9A7DZw37Bhz7DbfkdXFE3VORmCPvafE5lFzEMbJOxe4W
-        X5tUAZjFVmY8pY+j1kAB5bP9AcVxGlOWI8mACj2Bg11CsVOAVy1v7tX5zeFh
-        lzV/6jA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAN/oFFEaeJN3rmR54R
-        qGsSgBAllkJZGQOC6gePULx/29qq]
-    privpass: >
-        ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw
-        DQYJKoZIhvcNAQEBBQAEggEAQK/0kWB0FNpS5vQQqYkNaAEW1sD27OJxt8Xr
-        rgRxNuMGf8XY797yao4W+N2fa2vuiwAQI7/d0I3qgzaxEIKN+H0IOMHBquMS
-        eykJq/Xiij5Qw2gm5MO1Bs6lTL3ah8FvGY5c7sXavzaP8diEDJ6V0KDX7Cko
-        kbw/spmpTuN6o6G2UeP/o4fEPNHfjfzHJzvKFE0XWYku6iX1JFjGtGPvbVis
-        vPDA3VuzHiwdOP1qZJaTJ2S7hu3wnsJmrkgxjIIPyZYfwYd1wnQDrp0+CtzU
-        dnTJqiTh7nU+FgGogqLIBQttsproWbMLZ7dptGjGU/N6TVvDmJvHMzQ3eofA
-        wQMYIzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCaxtYqA4XsFDOVrtlh
-        kZ1cgBAFpCmxgcx4RX9RgasE7sgo]
-
-snmp::snmpd_config:
-  - 'rouser kauz'
-  - 'rouser sfp'
-  - 'rwuser pixelpark'
-
index d90e1087e5bf0b324d81b88327d742e8129c76d6..5f8c2c331a83bc9eeb5cc685dfaf4c834fce44b8 100644 (file)
@@ -3,43 +3,63 @@ infra::role: base
 infra::additional_classes:
   - infra::profile::cron
   - pp_postfix
-  - snmp
-  - snmp::client
+  - infra::profile::snmp
 
 #####################################################
 # SNMP configuration
 
-snmp::agentaddress:
-  - 'udp:161'
-#  - 'udp6:161'
-snmp::ro_community: >
-    ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw
-    DQYJKoZIhvcNAQEBBQAEggEAe0tD10tQpo0ZgBVSOlj7ulo9HRpDDx/ZBC/3
-    +x4lGUaU8vzUkmjcCFTZXOHy5M87rY+vhewBTsTzHOqmkv7GP8tM17Toj9JP
-    Z203+lLYXKZU5j2h5xun2OqdG1Dh0DFb3Hp8rbj32FHX6zPU03B0IjjV/R0B
-    RwwdeBefizxC7mMmIA7Tg1n6UvZ2UYm9v5dNWTjSZRH1hEiyzE477BHSd89W
-    g+BmDW3pE2h2poRV03jyfhTAhadJOtwp+vLj1Dr7DfA/VvdZ4SCdmPDZDpT2
-    q6LXMGtblfeyT4zCY4SIdp0dgbT8AZ08ZWzM2jandf/mcAyI0c4spe0aNxj/
-    LDCl6TA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBX1NiacAmrRu3svjbi
-    VZ0rgBDyjDDEhGgNvrp6RAHDvI3m]
-snmp::ro_network: '0.0.0.0/0'
-snmp::rw_community: >
-    ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEw
-    DQYJKoZIhvcNAQEBBQAEggEAtiAjXWU+TYHO1mxi9uRQUJMy2Mf3E2Eu4T/e
-    UeuAS5d1an6PYJrhSB4mwnYz/qLM/ehBsPBy+oGfJwsIB7jF9YqDrGgKY5a6
-    pLTMRaJklres55N9bMvQSIGaW0JfiX3kg9/bLJgOMIqZQtP34hTwgLLWK+gg
-    Qv7tZgyA5l3q+hmmjNG43bgTATSQnq9tzmpXAXsn1kLNDOXEj4piXAR6n6mo
-    Wzq1ckFy27RP3xvY/D4qaudWnT15cEWSxYNhhqiAfhF8WjUJKwPmmCxnTd7u
-    Gw4cY9At/+JKdMOLULG9FidkUbcpfKtFMhi53usfPgrkr6LsbFkvdLRaDGBH
-    fY6bKDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDe5g5Xe+ZV2m9rkWfw
-    4aCbgCAh1czju6aFa8ssoLxcKHM7wKhUerGYTdE9iOyMXQ/lxg==]
 snmp::rw_network:
   - 127.0.0.1
   - 10.99.1.0/24
-snmp::contact: 'Pixelpark GmbH Berlin, Betrieb <8x5@pixelpark.com>'
-snmp::location: 'BA1, L105, Berlin, Germany, Earth, Milky Way'
 
-snmp::client::ensure: 'present'
+infra::profile::snmp::users_v3:
+  kauz:
+    authpass: >
+        ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw
+        DQYJKoZIhvcNAQEBBQAEggEAeHwhoQ3EdVOFQWIPHtir4W6q8PhA422Hjhbe
+        SZjz5vS6s6ZdAX/xZJ322FeHkh2fsb/j9iLC0B5ADW61kO8Q+0hjMTau8dTJ
+        yykSxWYJXj9DwYqlR6VWTPX+n8Bzl6Gitt9eqBnsa52SKD82tLh0cO7TZvUE
+        3BU1fjuUU0ts/8bbFZ9xiN+uIY2KIPruiDtMeUCtcrKf4al5RnCS3XE+nMPk
+        N90QYrGuzoW0C32y+Oh2NcddonQE5PjpPjV7KVuSGGGSgwQEsmukp+jc0eZ/
+        uS5N4rJtb75ErPDWysj5S5sYCQ3Ls2pH2VEevTk0Lipk6fT3RoovgimymiOz
+        K2hCXTA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDLxOIT2FJUr/Ja/qQB
+        6gzggBCAk33B4XmjAnHbnf73OGyk]
+    privpass: >
+        ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw
+        DQYJKoZIhvcNAQEBBQAEggEAQ9QEI+E11p6CGWqBAbJnKQoHJvcJrWl5OnSs
+        ue60yuKnr8GDI6Gxbo/tdQ05cqTSTLo/wx+F58ma1Y85Zr1U99aZFF0+MzPu
+        4N/ZmRGvR/wVt0eIml+DhTaiWTLUv0WqNspFji7+kop6UMIuJKpo+8V2ArCM
+        Bbz4y69MBtQ2/SIdSU6yjnLSbnR/waZlhcFK9jU482msTQwtRYaa3nvhfMrS
+        HqFIrpMZv6bVY2yjRUEnMMoQl0D5vlwU+vKb8BN5QzDcWa5pdbPInogFAj1v
+        xeFkLv4OPg15CzGYqvO4DBRZRQaMD6sB7Br0shASiy6ib9IYGSYLm99GPhJE
+        rjmKEjA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBHIZihSVxR6qIMBaUe
+        6VWVgBAYyqqNhlXRTYezz3imjfj+]
+  sfp:
+    authpass: >
+        ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw
+        DQYJKoZIhvcNAQEBBQAEggEARbecGOBsIYZ8JDqLcGWJQAafRyMvMVHUqDVM
+        sBXfTg88mVPXjX3a+gcGc+9pHnltIH1d1AbkemIbf09ljyNLRjw/blStd5D+
+        QycNqrvL4C82UB7Zn3OHmwQ8MuJxO9OgWohZQnXpScPXRyltOz7pHG4ESqjU
+        nJ7+3QV7OPrgHM3rodNS50abdJCdehClscaOAR9TTsk7tJm8YJVcJ/JkX1kw
+        Z+R8bcZcgb4MrBFN9A7DZw37Bhz7DbfkdXFE3VORmCPvafE5lFzEMbJOxe4W
+        X5tUAZjFVmY8pY+j1kAB5bP9AcVxGlOWI8mACj2Bg11CsVOAVy1v7tX5zeFh
+        lzV/6jA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAN/oFFEaeJN3rmR54R
+        qGsSgBAllkJZGQOC6gePULx/29qq]
+    privpass: >
+        ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw
+        DQYJKoZIhvcNAQEBBQAEggEAQK/0kWB0FNpS5vQQqYkNaAEW1sD27OJxt8Xr
+        rgRxNuMGf8XY797yao4W+N2fa2vuiwAQI7/d0I3qgzaxEIKN+H0IOMHBquMS
+        eykJq/Xiij5Qw2gm5MO1Bs6lTL3ah8FvGY5c7sXavzaP8diEDJ6V0KDX7Cko
+        kbw/spmpTuN6o6G2UeP/o4fEPNHfjfzHJzvKFE0XWYku6iX1JFjGtGPvbVis
+        vPDA3VuzHiwdOP1qZJaTJ2S7hu3wnsJmrkgxjIIPyZYfwYd1wnQDrp0+CtzU
+        dnTJqiTh7nU+FgGogqLIBQttsproWbMLZ7dptGjGU/N6TVvDmJvHMzQ3eofA
+        wQMYIzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCaxtYqA4XsFDOVrtlh
+        kZ1cgBAFpCmxgcx4RX9RgasE7sgo]
+
+snmp::snmpd_config:
+  - 'rouser kauz'
+  - 'rouser sfp'
+  - 'rwuser pixelpark'
 
 #####################################################
 # Postfix configuration: