Puppet Class: ora_config::clear_caches
- Defined in:
- manifests/clear_caches.pp
Summary
This class contains the puppet code that implements the default facter cache invalidation rules.Overview
::clear_caches
Whenever a certain set of Puppet classes or defined types is applied, it will clear the facter caches for those facts that are implemented.
See the file “LICENSE” for the full license governing this code.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'manifests/clear_caches.pp', line 10
class ora_config::clear_caches () {
fact_cache { 'ora_is_container_db':
ensure => absent,
refreshonly => true,
}
Ora_database<||> ~> Fact_cache['ora_is_container_db']
fact_cache { 'ora_is_root_db':
ensure => absent,
refreshonly => true,
}
Ora_database<||> ~> Fact_cache['ora_is_root_db']
fact_cache { 'ora_is_seed_db':
ensure => absent,
refreshonly => true,
}
Ora_database<||> ~> Fact_cache['ora_is_seed_db']
fact_cache { 'ora_is_pluggable_db':
ensure => absent,
refreshonly => true,
}
Ora_database<||> ~> Fact_cache['ora_is_pluggable_db']
fact_cache { 'ora_is_cluster':
ensure => absent,
refreshonly => true,
}
Ora_database<||> ~> Fact_cache['ora_is_cluster']
fact_cache { 'ora_version':
ensure => absent,
refreshonly => true,
}
Ora_database<||> ~> Fact_cache['ora_version']
fact_cache { 'ora_is_primary_db':
ensure => absent,
refreshonly => true,
}
Ora_database<||> ~> Fact_cache['ora_is_primary_db']
fact_cache { 'ora_asm_running':
ensure => absent,
refreshonly => true,
}
fact_cache { 'ora_asm_diskgroups':
ensure => absent,
refreshonly => true,
}
Ora_asm_diskgroup<||> ~> Fact_cache['ora_asm_diskgroups']
fact_cache { 'ora_asm_volumes':
ensure => absent,
refreshonly => true,
}
Ora_asm_volume<||> ~> Fact_cache['ora_asm_volumes']
}
|