This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This SHOULD help get rid of active+clean+inconsistent objects created by ceph 12.2.6 | |
# | |
# This is a (stupid ?) implementation of : http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-September/021054.html | |
# | |
# requirements : jq, local storage for objects backup | |
# | |
# how this works : | |
# - pg deep-scrub # required to get a list of inconsistent objects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# fetch the puppet CRL regularly from the master or pupppetserver | |
# Frederic Schaer, CEA/DRF/IRFU | |
class irfu::puppet::crl( | |
$ssldir = undef, | |
$certfile= "${::fqdn}.pem", | |
$certkey = "${::fqdn}.pem", | |
$cafile = "ca.pem", | |
$ca_host = hiera("puppet::ca_server"), | |
$ca_api = "puppet3", #this is the puppet api to use. either puppet3 or puppet4 |