... | ... | @@ -584,6 +584,24 @@ password. It's actually how the `trocla()` function behaves in Puppet |
|
|
as well.
|
|
|
|
|
|
|
|
|
## Getting facts from other hosts
|
|
|
|
|
|
TODO: expand.
|
|
|
|
|
|
```
|
|
|
02:37:52 <bastelfreak> anarcat: query_nodes('Class[Profiles::Kafkabroker]') gets you all FQDNs from all nodes with that
|
|
|
class in the catalog
|
|
|
02:38:52 <bastelfreak> anarcat: for all ips: $ipfact = 'networking.interfaces.enp0s5.ip6' \n
|
|
|
query_nodes('Class[Profiles::Cephmon]', $ipfact)
|
|
|
02:39:24 <bastelfreak> anarcat: and something like this if you want ips from all nodes except the current ones (e.g. for
|
|
|
firewalling): $elknodeips = query_nodes("Class[Profiles::Elasticsearch] and ${ipfact} != '${ipv6}'",
|
|
|
$ipfact)
|
|
|
09:09:34 <bastelfreak> you can pass any factname
|
|
|
09:09:40 <bastelfreak> but please don't use legacy facts
|
|
|
09:09:44 <bastelfreak> use networking.ip
|
|
|
09:09:51 <bastelfreak> or networking.ip6 !
|
|
|
```
|
|
|
|
|
|
## Revoking and generating a new certificate for a host
|
|
|
|
|
|
Revocation procedures problems were discussed in [33587][] and [33446][].
|
... | ... | |