Comments (3)
The main point of implementing this Augeas provider is to support hashed hostnames, for security reasons. Now it is impossible to implement self.instances
for hashed hostnames, because the instances are hashed not the hash is not reversible.
For this reason, the recommendation when using this is to hash all entries and stop purging them. In short:
# Don't
sshkey { $fqdn: ensure => present, }
resources { 'sshkey': purge => true }
# Do instead
sshkey { $fqdn:
ensure => hashed,
hash_hostname => true,
}
from puppet-augeasproviders_ssh.
I don't see hash_hostname as an attribute
https://docs.puppetlabs.com/references/latest/type.html#sshkey
from puppet-augeasproviders_ssh.
This module adds it
from puppet-augeasproviders_ssh.
Related Issues (20)
- Release new version to fix compatability with puppet 7.28+ and 8.3+
- `augeas` should not be the default provider for `sshkey` HOT 6
- cannot pull via the Forge HOT 2
- Change to sshd_config not restarting daemon HOT 2
- Error when generating types for environment isolation
- Release 3.0.0 missing from forge HOT 2
- When will be supported on Puppet 2019.x HOT 2
- Multiple Port entries should be supported HOT 3
- Bug in handling ports in sshd_config when reducing the number of ports that are active HOT 2
- sshd_config_subsystem does not allow for manging the same subsystem name in multiple targets HOT 2
- error when attempting to manage GSSAPIKexAlgorithms HOT 3
- sshkey provider broken with Puppet 6 HOT 6
- Sshd.lns fails to parse Match block HOT 3
- Validation issues when trying to limit root access to IP address HOT 2
- Cannot create new HostKeyAlgorithms entry with augeas > 1.9.0 HOT 10
- The ssh_config lens does not appear to account for an Include line outside of Hosts entries in ssh_config HOT 1
- Ok to upgrade augeasproviders_core? HOT 5
- Cannot use group with spaces in Match statement HOT 8
- An acceptance test needs to be added that exercises the overrides in `lib/puppet/provider/sshkey/augeas.rb`
- Sshd_config[PubkeyAcceptedKeyTypes]: Could not evaluate: Failed to save Augeas tree to file. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-augeasproviders_ssh.