dust-deploy 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- data/changelog.md +8 -0
- data/lib/dust/recipes/chrony.rb +5 -3
- data/lib/dust/recipes/cjdroute.rb +11 -0
- data/lib/dust/version.rb +1 -1
- metadata +2 -2
data/changelog.md
CHANGED
data/lib/dust/recipes/chrony.rb
CHANGED
@@ -22,6 +22,9 @@ class Chrony < Recipe
|
|
22
22
|
|
23
23
|
@node.write(config, generate_config)
|
24
24
|
|
25
|
+
# centos systems don't use -r by default
|
26
|
+
@node.write('/etc/sysconfig/chronyd', 'OPTIONS="-u chrony -r"' + "\n") if @node.uses_rpm?
|
27
|
+
|
25
28
|
@node.autostart_service(service)
|
26
29
|
@node.restart_service(service) if options.restart?
|
27
30
|
end
|
@@ -52,9 +55,8 @@ class Chrony < Recipe
|
|
52
55
|
'logdir' => '/var/log/chrony',
|
53
56
|
'logchange' => 0.5,
|
54
57
|
'maxupdateskew' => 100.0, # Stop bad estimates upsetting machine clock.
|
55
|
-
|
56
|
-
|
57
|
-
# 'rtconutc' => '' # CMOS clock is on UTC (GMT)
|
58
|
+
'dumponexit' => '', # Dump measurements when daemon exits.
|
59
|
+
'dumpdir' => '/var/lib/chrony'
|
58
60
|
}
|
59
61
|
|
60
62
|
if @node.uses_rpm?
|
@@ -47,6 +47,17 @@ class Cjdroute< Recipe
|
|
47
47
|
def public_peers
|
48
48
|
# list of public peers, taken from https://wiki.projectmeshnet.org/Public_peers
|
49
49
|
{
|
50
|
+
# greys nodes
|
51
|
+
'199.180.252.227:19071' => {
|
52
|
+
'password' => 'public_JFh4rX0R1jm6a7eKWCzD',
|
53
|
+
'publicKey' => '425bcpr9ns0jpuh9ffx1lbbktkd3tpln16jzs9sgbjdkvfg25zv0.k'
|
54
|
+
},
|
55
|
+
|
56
|
+
'80.83.121.61:19071' => {
|
57
|
+
'password' => 'public_2bHnV12c5HRgKddJ1ebv',
|
58
|
+
'publicKey' => 'n5502gtrr9zhj1m0lxm151fqd5mctw68hp64m61dj1mx7w7kvr30.k'
|
59
|
+
},
|
60
|
+
|
50
61
|
# derps nodes
|
51
62
|
'173.255.219.67:10000' => {
|
52
63
|
'password' => 'null',
|
data/lib/dust/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dust-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|