Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into zfs-backup
Browse files Browse the repository at this point in the history
  • Loading branch information
singingtelegram committed Oct 25, 2022
2 parents 3fe9d12 + d148bfe commit 849913a
Show file tree
Hide file tree
Showing 83 changed files with 1,217 additions and 478 deletions.
2 changes: 1 addition & 1 deletion hieradata/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,5 @@ kube_dev::controller_nodes:
- hozer-74

# Prometheus config
prometheus::node_exporter::version: 1.3.1
prometheus::node_exporter::version: 1.4.0
prometheus::node_exporter::extra_options: '--collector.textfile.directory /srv/prometheus'
4 changes: 4 additions & 0 deletions hieradata/dummy_secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,12 @@ kubernetes::keepalived::secret: dummysecret
prometheus::docker_metrics_password: dummypassword

mirrors::archlinuxcn_sync_password: dummypassword
mirrors::blender_sync_password: dummypassword
mirrors::finnix_sync_password: dummypassword
mirrors::gimp_sync_password: dummypassword
mirrors::gnome_sync_password: dummypassword
mirrors::mx_linux_sync_password: dummypassword
mirrors::mx_packages_sync_password: dummypassword

xmpp::root_password: dummypassword
xmpp::prosody_mysql_password: dummypassword
Expand Down
1 change: 1 addition & 0 deletions hieradata/nodes/arsenic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocf_desktop::xsession::scale: 1.5
1 change: 1 addition & 0 deletions hieradata/nodes/bigbang.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocf_desktop::xsession::scale: 1.5
1 change: 1 addition & 0 deletions hieradata/nodes/blizzard.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
opstaff: true
ocf_desktop::xsession::scale: 1.5
1 change: 1 addition & 0 deletions hieradata/nodes/chaos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocf_desktop::xsession::scale: 1.5
1 change: 0 additions & 1 deletion hieradata/nodes/dataloss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ocf::packages::ntp::master: true
ocf::packages::ntp::peers:
- hal.ocf.berkeley.edu
- pandemic.ocf.berkeley.edu
- jaws.ocf.berkeley.edu
- riptide.ocf.berkeley.edu

ocf_filehost::storage_device: '/dev/md/nfs'
Expand Down
1 change: 1 addition & 0 deletions hieradata/nodes/famine.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocf_desktop::xsession::scale: 1.5
1 change: 0 additions & 1 deletion hieradata/nodes/hal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ocf::networking::bond: true

ocf::packages::ntp::master: true
ocf::packages::ntp::peers:
- jaws.ocf.berkeley.edu
- pandemic.ocf.berkeley.edu
- riptide.ocf.berkeley.edu
- dataloss.ocf.berkeley.edu
12 changes: 0 additions & 12 deletions hieradata/nodes/jaws.yaml

This file was deleted.

1 change: 1 addition & 0 deletions hieradata/nodes/meteorstorm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocf_desktop::xsession::scale: 1.5
1 change: 0 additions & 1 deletion hieradata/nodes/pandemic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ ocf::networking::bond: true
ocf::packages::ntp::master: true
ocf::packages::ntp::peers:
- hal.ocf.berkeley.edu
- jaws.ocf.berkeley.edu
- riptide.ocf.berkeley.edu
- dataloss.ocf.berkeley.edu
1 change: 0 additions & 1 deletion hieradata/nodes/riptide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ ocf::packages::ntp::master: true
ocf::packages::ntp::peers:
- hal.ocf.berkeley.edu
- pandemic.ocf.berkeley.edu
- jaws.ocf.berkeley.edu
- dataloss.ocf.berkeley.edu
1 change: 1 addition & 0 deletions hieradata/nodes/surge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocf_desktop::xsession::scale: 1.5
1 change: 1 addition & 0 deletions hieradata/nodes/wildfire.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocf_desktop::xsession::scale: 1.5
58 changes: 0 additions & 58 deletions modules/ocf/files/munin/munin-node.conf

This file was deleted.

1 change: 0 additions & 1 deletion modules/ocf/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
include ocf::locale
include ocf::logging
include ocf::motd
include ocf::munin::node
include ocf::networking
include ocf::node_exporter
include ocf::packages
Expand Down
25 changes: 0 additions & 25 deletions modules/ocf/manifests/munin/node.pp

This file was deleted.

38 changes: 0 additions & 38 deletions modules/ocf/manifests/munin/plugin.pp

This file was deleted.

4 changes: 4 additions & 0 deletions modules/ocf/templates/firefox/prefs.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ pref("intl.locale.requested", "");
pref("browser.startup.homepage", "<%= @browser_homepage %>", locked);
pref("browser.cache.disk.capacity", 0);
pref("browser.download.useDownloadDir", false);
pref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
pref("browser.newtabpage.activity-stream.feeds.topsites", false);
pref("browser.newtabpage.activity-stream.showSponsored", false);
pref("browser.newtabpage.activity-stream.showSponsoredTopSite", false);
pref("browser.newtabpage.activity-stream.telemetry", false);
pref("browser.privatebrowsing.autostart", true);
pref("browser.search.geoSpecificDefaults", false);
pref("browser.shell.checkDefaultBrowser", false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ verbosity = 1
# not seem to be actually documented anywhere
key_name = letsencrypt.ocf.io
key_secret = "<%= @letsencrypt_ddns_key -%>"
key_algorithm = hmac-md5
key_algorithm = hmac-sha512
dns_rewrite = s/^_acme-challenge\.(.*)(ocf\.berkeley\.edu|ocf\.io)$/\1letsencrypt.ocf.io/
18 changes: 5 additions & 13 deletions modules/ocf_apt/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

package {
[
'nginx-full',
'libnginx-mod-http-fancyindex',
'reprepro',
]:;
}
Expand Down Expand Up @@ -84,19 +82,13 @@
ipv6_enable => true,
ipv6_listen_port => 80,
format_log => 'main',
raw_append => @(END),
fancyindex on;
fancyindex_exact_size off;
END
autoindex => 'on',
}
nginx::resource::location { '= /':
ensure => present,
server => ['apt.ocf.berkeley.edu', 'apt'],
www_root => '/opt/apt/ftp',
ssl => true,
raw_append => @(END),
fancyindex_header README.html;
END
ensure => present,
server => ['apt.ocf.berkeley.edu', 'apt'],
www_root => '/opt/apt/ftp',
ssl => true,
}
nginx::resource::location { '~ /\.(?!well-known).*':
ensure => present,
Expand Down
3 changes: 0 additions & 3 deletions modules/ocf_backups/files/rsnapshot.conf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ backup_script /opt/share/backups/backup-pgsql pgsql/

# remote servers
backup ocfbackups@hal:/etc/libvirt/qemu/ servers/vm_xml/hal/
backup ocfbackups@jaws:/etc/libvirt/qemu/ servers/vm_xml/jaws/
backup ocfbackups@pandemic:/etc/libvirt/qemu/ servers/vm_xml/pandemic/
backup ocfbackups@riptide:/etc/libvirt/qemu/ servers/vm_xml/riptide/
backup ocfbackups@scurvy:/etc/libvirt/qemu/ servers/vm_xml/scurvy/
Expand All @@ -69,8 +68,6 @@ backup ocfbackups@puppet:/opt/puppetlabs/ servers/puppet/

backup ocfbackups@puppetdb:/etc/puppetlabs/puppet/ssl/ servers/puppetdb/

backup ocfbackups@munin:/var/lib/munin/ servers/munin/

backup ocfbackups@apt:/opt/apt/ servers/apt/

backup ocfbackups@jenkins:/var/lib/jenkins/ servers/jenkins/
Expand Down
2 changes: 0 additions & 2 deletions modules/ocf_csgo/files/bin/update-csgo

This file was deleted.

18 changes: 0 additions & 18 deletions modules/ocf_csgo/files/etc/csgo-update.cmd

This file was deleted.

37 changes: 0 additions & 37 deletions modules/ocf_csgo/files/munin

This file was deleted.

47 changes: 0 additions & 47 deletions modules/ocf_csgo/manifests/init.pp

This file was deleted.

Loading

0 comments on commit 849913a

Please sign in to comment.