Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F28577653
irc.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
irc.sls
View Options
# -------------------------------------------------------------
# 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/plain
Expires
Fri, May 15, 11:52 (1 d, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3711209
Default Alt Text
irc.sls (3 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment