<commit_before>---
#
# Ceph parameters
#
ceph::profile::params::manage_repo:                 false
ceph::profile::params::release:                     'nautilus'
######## Ceph.conf - Cluster and location spesific data
ceph::profile::params::authentication_type:         'cephx'
#ceph::profile::params::mon_initial_members:         'cephmon-1, cephmon-2'
#ceph::profile::params::mon_host:                    '10.0.0.10, 10.0.0.11'
ceph::profile::params::osd_pool_default_pg_num:     '2048'
ceph::profile::params::osd_pool_default_pgp_num:    '2048'
ceph::profile::params::osd_pool_default_size:       '3'
ceph::profile::params::osd_pool_default_min_size:   '1'
ceph::profile::params::public_addr:                 "%{ipaddress_trp1}" # Needed for mds
#ceph::profile::params::cluster_network:             '10.0.0.0/24'
#ceph::profile::params::public_network:              '10.0.0.0/24'
######## Keys - Cluster and location spesific data
## as an alternative to specifying the mon key you can provide an exising keyring
##ceph::profile::params::mon_keyring: '/etc/ceph/ceph.mon.keyring'
ceph::profile::params::client_keys:
  'client.admin':
    secret: "%{hiera('ceph_storage_client_admin_key')}"
    mode: '0600'
    user: 'ceph'
    group: 'ceph'
    cap_mon: 'allow *'
    cap_osd: 'allow *'
    cap_mds: 'allow *'
    cap_mgr: 'allow *'
  'client.bootstrap-osd':
    secret: "%{hiera('ceph_storage_client_bootstrap_osd_key')}"
    keyring_path: '/var/lib/ceph/bootstrap-osd/ceph.keyring'
    cap_mon: 'allow profile bootstrap-osd'
  'client.bootstrap-mds':
    secret: "%{hiera('ceph_storage_client_bootstrap_mds_key')}"
    keyring_path: '/var/lib/ceph/bootstrap-mds/ceph.keyring'
    cap_mon: 'allow profile bootstrap-mds'
  'client.glance':
    secret: "%{hiera('ceph_storage_client_glance_key')}"
    mode: '0600'
    user: 'glance'
    group: 'glance'
    cap_mon: 'profile rbd'
    cap_osd: 'profile rbd pool=images'
  'client.cinder':
    secret: "%{hiera('ceph_storage_client_cinder_key')}"
    mode: '0600'
    user: 'cinder'
    group: 'cinder'
    cap_mon: 'profile rbd'
    cap_osd: 'profile rbd pool=volumes, profile rbd pool=vms, profile rbd pool=images'
  'client.cinder-hdd-ec':
    secret: "%{hiera('ceph_storage_client_cinder_key')}"
    mode: '0600'
    user: 'cinder'
    group: 'cinder'
    cap_mon: 'profile rbd'
    cap_osd: 'profile rbd pool=volumes_hdd_ec_meta, profile rbd pool=volumes_hdd_ec_data'
  'client.cinder-dcache-hdd-ec':
    secret: "%{hiera('ceph_storage_client_cinder_key')}"
    mode: '0600'
    user: 'cinder'
    group: 'cinder'
    cap_mon: 'profile rbd'
    cap_osd: 'profile rbd pool=dcache_hdd_ec_meta, profile rbd pool=dcache_hdd_ec_data'
  'client.tape':
    secret: "%{hiera('ceph_storage_client_tape_key')}"
    mode: '0600'
    user: 'root'<commit_msg>add arccache ceph client key<commit_after>---
#
# Ceph parameters
#
ceph::profile::params::manage_repo:                 false
ceph::profile::params::release:                     'nautilus'
######## Ceph.conf - Cluster and location spesific data
ceph::profile::params::authentication_type:         'cephx'
#ceph::profile::params::mon_initial_members:         'cephmon-1, cephmon-2'
#ceph::profile::params::mon_host:                    '10.0.0.10, 10.0.0.11'
ceph::profile::params::osd_pool_default_pg_num:     '2048'
ceph::profile::params::osd_pool_default_pgp_num:    '2048'
ceph::profile::params::osd_pool_default_size:       '3'
ceph::profile::params::osd_pool_default_min_size:   '1'
ceph::profile::params::public_addr:                 "%{ipaddress_trp1}" # Needed for mds
#ceph::profile::params::cluster_network:             '10.0.0.0/24'
#ceph::profile::params::public_network:              '10.0.0.0/24'
######## Keys - Cluster and location spesific data
## as an alternative to specifying the mon key you can provide an exising keyring
##ceph::profile::params::mon_keyring: '/etc/ceph/ceph.mon.keyring'
ceph::profile::params::client_keys:
  'client.admin':
    secret: "%{hiera('ceph_storage_client_admin_key')}"
    mode: '0600'
    user: 'ceph'
    group: 'ceph'
    cap_mon: 'allow *'
    cap_osd: 'allow *'
    cap_mds: 'allow *'
    cap_mgr: 'allow *'
  'client.bootstrap-osd':
    secret: "%{hiera('ceph_storage_client_bootstrap_osd_key')}"
    keyring_path: '/var/lib/ceph/bootstrap-osd/ceph.keyring'
    cap_mon: 'allow profile bootstrap-osd'
  'client.bootstrap-mds':
    secret: "%{hiera('ceph_storage_client_bootstrap_mds_key')}"
    keyring_path: '/var/lib/ceph/bootstrap-mds/ceph.keyring'
    cap_mon: 'allow profile bootstrap-mds'
  'client.glance':
    secret: "%{hiera('ceph_storage_client_glance_key')}"
    mode: '0600'
    user: 'glance'
    group: 'glance'
    cap_mon: 'profile rbd'
    cap_osd: 'profile rbd pool=images'
  'client.cinder':
    secret: "%{hiera('ceph_storage_client_cinder_key')}"
    mode: '0600'
    user: 'cinder'
    group: 'cinder'
    cap_mon: 'profile rbd'
    cap_osd: 'profile rbd pool=volumes, profile rbd pool=vms, profile rbd pool=images'
  'client.cinder-hdd-ec':
    secret: "%{hiera('ceph_storage_client_cinder_key')}"
    mode: '0600'
    user: 'cinder'
    group: 'cinder'
    cap_mon: 'profile rbd'
    cap_osd: 'profile rbd pool=volumes_hdd_ec_meta, profile rbd pool=volumes_hdd_ec_data'
  'client.cinder-dcache-hdd-ec':
    secret: "%{hiera('ceph_storage_client_cinder_key')}"
    mode: '0600'
    user: 'cinder'
    group: 'cinder'
    cap_mon: 'profile rbd'
    cap_osd: 'profile rbd pool=dcache_hdd_ec_meta, profile rbd pool=dcache_hdd_ec_data'
  'client.cinder-arccache-hdd-ec':
    secret: "%{hiera('ceph_storage_client_cinder_key')}"
    mode: '0600'
    user: 'cinder'
    group: 'cinder'
    cap_mon: 'profile rbd'
    cap_osd: 'profile rbd pool=arccache_hdd_ec_meta, profile rbd pool=arccache_hdd_ec_data'
  'client.tape':
    secret: "%{hiera('ceph_storage_client_tape_key')}"
    mode: '0600'
    user: 'root'
{'fraction_non_alphanumeric': 0.15370244565217392, 'fraction_numerical': 0.022078804347826088, 'mean_word_length': 4.050600343053174, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1667317', 'n_tokens_mistral': 2305, 'n_tokens_neox': 2268, 'n_words': 380}