Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56952463
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/shellserver/userland-software/files/oidentd.rc b/roles/shellserver/userland-software/files/oidentd.rc
new file mode 100644
index 0000000..685dffa
--- /dev/null
+++ b/roles/shellserver/userland-software/files/oidentd.rc
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# oidentd — rc configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/shellserver/userland-software/files/oidentd.rc
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+oidentd_enable="YES"
diff --git a/roles/shellserver/userland-software/irc.sls b/roles/shellserver/userland-software/irc.sls
index d0f1b55..835f819 100644
--- a/roles/shellserver/userland-software/irc.sls
+++ b/roles/shellserver/userland-software/irc.sls
@@ -1,108 +1,118 @@
# -------------------------------------------------------------
# Salt — Provision IRC software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Eglide
# Created: 2016-04-09
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "map.jinja" import dirs, packages with context %}
# -------------------------------------------------------------
# IRC clients
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
irc_clients:
pkg.installed:
- pkgs:
- irssi
- irssi-scripts
- weechat
{% if grains['os'] != 'Debian' and grains['os'] != 'Ubuntu' %}
# Reference: supremetechs.com/tag/bitchx-removed-from-debian
- bitchx
{% endif %}
# -------------------------------------------------------------
# Bouncers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
irc_bouncers:
pkg.installed:
- pkgs:
- znc
shroudbnc_dependencies:
pkg.installed:
- pkgs:
- {{ packages["c-ares"] }}
- libtool
- swig
{% if grains['os_family'] == 'Debian' %}
- tcl-dev
{% endif %}
{% if grains['os_family'] == 'RedHat' %}
- tcl-devel
{% endif %}
shroudbnc_repo:
file.directory:
- name: /usr/local/src/shroudbnc
- user: builder
- group: deployment
- mode: 755
git.latest:
- name: https://github.com/gunnarbeutner/shroudbnc
- target: /usr/local/src/shroudbnc
- user: builder
shroudbnc_build:
cmd.run:
- name: |
./autogen.sh && \
./configure --prefix=/usr/local && \
make
- cwd: /usr/local/src/shroudbnc
- runas: builder
- require:
- git: shroudbnc_repo
- creates: /usr/local/src/shroudbnc/src/sbnc
shroudbnc_install:
cmd.run:
- name: make install
- cwd: /usr/local/src/shroudbnc
- onchanges:
- cmd: shroudbnc_build
# -------------------------------------------------------------
# Bots
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
eggdrop_installer:
file.managed:
- name: /usr/local/bin/install-eggdrop
- source: salt://roles/shellserver/userland-software/files/install-eggdrop.sh
- mode: 755
# -------------------------------------------------------------
# Misc
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
irc_misc:
pkg.installed:
- pkgs:
- bitlbee
- oidentd
- pisg
oidentd_config:
file.managed:
- name: {{ dirs.etc }}/oidentd.conf
- source: salt://roles/shellserver/userland-software/files/oidentd.conf
- mode: 644
oidentd_service_config:
service.running:
- name: oidentd
- enable: true
+
+# -------------------------------------------------------------
+# RC
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% if services["manager"] == "rc" %}
+/etc/rc.conf.d/oidentd:
+ file.managed:
+ - source: salt://roles/shellserver/userland-software/files/oidentd.rc
+{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Nov 13, 13:55 (4 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4248711
Default Alt Text
(4 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment