Page MenuHomeDevCentral

Provision eggdrop configuration
ClosedPublic

Authored by dereckson on Nov 15 2017, 01:43.
Tags
None
Referenced Files
F2744080: D1209.id3110.diff
Thu, Mar 28, 13:12
F2742963: D1209.id3105.diff
Thu, Mar 28, 07:10
F2742886: D1209.id3106.diff
Thu, Mar 28, 06:48
F2742829: D1209.id3101.diff
Thu, Mar 28, 06:28
F2742800: D1209.id3114.diff
Thu, Mar 28, 06:21
F2742151: D1209.id3110.diff
Thu, Mar 28, 03:54
F2739497: D1209.id3102.diff
Wed, Mar 27, 15:22
Unknown Object (File)
Mon, Mar 25, 08:04
Subscribers
None

Details

Summary

The /srv/viperserv directory is provisionned with both global files and
files per eggdrop instance.

Eggdrop starts reading a configuration file prepared from eggdrop-bot.conf.
Then, this file loads eggdrop-core.conf.

Scripts list and egg config are stored in the pillar viperserv_bots entry.

Test Plan

Run Dæghrefn, Wearg and TC2

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Salt and UTF-8… Provide modules to context.

Test: dry-run

1$ salt-call --local state.apply roles/viperserv/eggdrop/config test=True
2local:
3------
4 ID: /srv/viperserv/Daeghrefn
5 Function: file.directory
6 Result: True
7 Comment: The directory /srv/viperserv/Daeghrefn is in the correct state
8 Started: 01:58:30.220138
9 Duration: 26.974 ms
10 Changes:
11----------
12 ID: /srv/viperserv/Wearg
13 Function: file.directory
14 Result: True
15 Comment: The directory /srv/viperserv/Wearg is in the correct state
16 Started: 01:58:30.247573
17 Duration: 2.756 ms
18 Changes:
19----------
20 ID: /srv/viperserv/TC2
21 Function: file.directory
22 Result: True
23 Comment: The directory /srv/viperserv/TC2 is in the correct state
24 Started: 01:58:30.250768
25 Duration: 2.704 ms
26 Changes:
27----------
28 ID: /srv/viperserv/logs/Daeghrefn.log
29 Function: file.managed
30 Result: None
31 Comment: The file /srv/viperserv/logs/Daeghrefn.log is set to be changed
32 Started: 01:58:30.253913
33 Duration: 3.982 ms
34 Changes:
35----------
36 ID: /srv/viperserv/logs/Wearg.log
37 Function: file.managed
38 Result: None
39 Comment: The file /srv/viperserv/logs/Wearg.log is set to be changed
40 Started: 01:58:30.258353
41 Duration: 3.569 ms
42 Changes:
43----------
44 ID: /srv/viperserv/logs/TC2.log
45 Function: file.managed
46 Result: None
47 Comment: The file /srv/viperserv/logs/TC2.log is set to be changed
48 Started: 01:58:30.262375
49 Duration: 3.564 ms
50 Changes:
51----------
52 ID: /srv/viperserv/core.conf
53 Function: file.managed
54 Result: None
55 Comment: The file /srv/viperserv/core.conf is set to be changed
56 Started: 01:58:30.266393
57 Duration: 69.516 ms
58 Changes:
59----------
60 ID: /srv/viperserv/Daeghrefn/eggdrop.conf
61 Function: file.managed
62 Result: None
63 Comment: The file /srv/viperserv/Daeghrefn/eggdrop.conf is set to be changed
64 Started: 01:58:30.336370
65 Duration: 27.987 ms
66 Changes:
67----------
68 ID: /srv/viperserv/Daeghrefn/motd
69 Function: file.managed
70 Result: None
71 Comment: The file /srv/viperserv/Daeghrefn/motd is set to be changed
72 Started: 01:58:30.364822
73 Duration: 4.95 ms
74 Changes:
75----------
76 ID: /srv/viperserv/Daeghrefn/banner
77 Function: file.managed
78 Result: None
79 Comment: The file /srv/viperserv/Daeghrefn/banner is set to be changed
80 Started: 01:58:30.370243
81 Duration: 16.012 ms
82 Changes:
83----------
84 ID: /srv/viperserv/Wearg/eggdrop.conf
85 Function: file.managed
86 Result: None
87 Comment: The file /srv/viperserv/Wearg/eggdrop.conf is set to be changed
88 Started: 01:58:30.386713
89 Duration: 26.965 ms
90 Changes:
91----------
92 ID: /srv/viperserv/Wearg/motd
93 Function: file.managed
94 Result: None
95 Comment: The file /srv/viperserv/Wearg/motd is set to be changed
96 Started: 01:58:30.414134
97 Duration: 5.026 ms
98 Changes:
99----------
100 ID: /srv/viperserv/Wearg/banner
101 Function: file.managed
102 Result: None
103 Comment: The file /srv/viperserv/Wearg/banner is set to be changed
104 Started: 01:58:30.419616
105 Duration: 15.75 ms
106 Changes:
107----------
108 ID: /srv/viperserv/TC2/eggdrop.conf
109 Function: file.managed
110 Result: None
111 Comment: The file /srv/viperserv/TC2/eggdrop.conf is set to be changed
112 Started: 01:58:30.435825
113 Duration: 28.05 ms
114 Changes:
115----------
116 ID: /srv/viperserv/TC2/motd
117 Function: file.managed
118 Result: None
119 Comment: The file /srv/viperserv/TC2/motd is set to be changed
120 Started: 01:58:30.464342
121 Duration: 4.917 ms
122 Changes:
123----------
124 ID: /srv/viperserv/TC2/banner
125 Function: file.managed
126 Result: None
127 Comment: The file /srv/viperserv/TC2/banner is set to be changed
128 Started: 01:58:30.469711
129 Duration: 15.912 ms
130 Changes:
131
132Summary for local
133-------------
134Succeeded: 16 (unchanged=13)
135Failed: 0
136-------------
137Total states run: 16
138Total run time: 258.634 ms

Require nasqueron-irc membership to read or delete the logs

This revision is now accepted and ready to land.Nov 15 2017, 03:29

Rebase against current master

This revision was automatically updated to reflect the committed changes.