Skip to content

Instantly share code, notes, and snippets.

#!/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
@fschaer
fschaer / crl.pp
Created November 15, 2016 16:11
puppet crl updating class
#
# 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