$ tar xvfz saml2pf9_0.2.1_Linux_x86_64.tar.gz
$ sudo install ./saml2pf9 /usr/local/bin
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: qadev-team-cluster-admin | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: cluster-admin | |
subjects: |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# Use this script if you have 3 or more Chef Organizations | |
# and wish to speed up restores by using parallelism. | |
require 'fileutils' | |
require 'optparse' | |
CONCURRENCY = 1 | |
BACKUP_LOG = "restore_#{Time.now.strftime('%m%d%Y%H%M')}.log".freeze |
# this is the secret used for encrypting/decryting encrypted databags | |
# https://docs.chef.io/data_bags.html#encrypt-a-data-bag-item | |
# defaults to /etc/chef/encrypted_data_bag_secret | |
encrypted_data_bag_secret '/path/to/file/with/secret' |
chef-zero
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/dna.json --chef-zero-port 8889
/tmp/client.rb
node_name "default-ubuntu-1604"
checksum_path "/tmp/checksums"
file_cache_path "/tmp/cache"
/etc/security/limits.conf | |
elasticsearch - nofile 65535 | |
elasticsearch - memlock unlimited | |
root - memlock unlimited |
#!/usr/bin/env ruby | |
require 'fileutils' | |
require 'optparse' | |
ARGV << '-h' if ARGV.length != 6 | |
$options = {} | |
OptionParser.new do |opts| |
fqdn "FQDN" | |
postgresql['external'] = true | |
postgresql['vip'] = 'EXTERNAL_PG_IP' | |
postgresql['db_superuser'] = 'DB_SUPERUSER' | |
postgresql['db_superuser_password'] = 'DB_SUPERUSER_PASSWORD' | |
opscode_solr4['external'] = true | |
opscode_solr4['external_url'] = 'http://EXTERNAL_ES_IP:9200' | |
opscode_erchef['search_provider'] = 'elasticsearch' | |
opscode_erchef['search_queue_mode'] = 'batch' | |
bookshelf['storage_type'] = :sql |