Page MenuHomeDevCentral

D707.id1779.diff
No OneTemporary

D707.id1779.diff

diff --git a/roles/shellserver/userland-software/files/oidentd.conf b/roles/shellserver/userland-software/files/oidentd.conf
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/userland-software/files/oidentd.conf
@@ -0,0 +1,16 @@
+default {
+ default {
+ allow spoof
+ deny spoof_all
+ deny spoof_privport
+ allow random_numeric
+ allow numeric
+ allow hide
+ }
+}
+
+user root {
+ default {
+ force reply "alexander"
+ }
+}
diff --git a/roles/shellserver/userland-software/irc.sls b/roles/shellserver/userland-software/irc.sls
--- a/roles/shellserver/userland-software/irc.sls
+++ b/roles/shellserver/userland-software/irc.sls
@@ -51,4 +51,15 @@
- installed
- pkgs:
- bitlbee
+ - oidentd
- pisg
+
+oidentd_config:
+ file.managed:
+ {% if grains['os'] == 'FreeBSD' %}
+ - name: /usr/local/etc/oidentd.conf
+ {% else %}
+ - name: /etc/oidentd.conf
+ {% endif %}
+ - source: salt://roles/shellserver/userland-software/files/oidentd.conf
+ - mode: 644

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 15:35 (20 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249440
Default Alt Text
D707.id1779.diff (1016 B)

Event Timeline