├── .editorconfig ├── .fixtures.yml ├── .github ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md ├── labeler.yml ├── release.yml └── workflows │ ├── ci.yml │ ├── labeler.yml │ ├── prepare_release.yml │ └── release.yml ├── .gitignore ├── .msync.yml ├── .overcommit.yml ├── .pmtignore ├── .puppet-lint.rc ├── .rubocop.yml ├── CHANGELOG.md ├── Gemfile ├── HISTORY.md ├── LICENSE ├── README.md ├── REFERENCE.md ├── Rakefile ├── data ├── AIX.yaml ├── Amazon.yaml ├── Archlinux.yaml ├── Darwin.yaml ├── Debian.yaml ├── DragonFly.yaml ├── FreeBSD.yaml ├── Gentoo.yaml ├── OpenBSD.yaml ├── OpenSuSE.yaml ├── RedHat-9.yaml ├── RedHat.yaml ├── SLES-10-x86_64.yaml ├── SLES-11-x86_64.yaml ├── SLES.yaml ├── SmartOS.yaml ├── Solaris-10.yaml ├── Solaris.yaml ├── Suse.yaml └── common.yaml ├── hiera.yaml ├── lib ├── facter │ ├── ssh_client_version.rb │ └── ssh_server_version.rb └── puppet │ ├── functions │ └── ssh │ │ └── ipaddresses.rb │ └── parser │ └── functions │ ├── sshclient_options_to_augeas_ssh_config.rb │ └── sshserver_options_to_augeas_sshd_config.rb ├── manifests ├── client.pp ├── client │ ├── config.pp │ ├── config │ │ └── user.pp │ ├── install.pp │ └── match_block.pp ├── hostkeys.pp ├── init.pp ├── knownhosts.pp ├── server.pp └── server │ ├── config.pp │ ├── config │ └── setting.pp │ ├── config_file.pp │ ├── host_key.pp │ ├── install.pp │ ├── instances.pp │ ├── match_block.pp │ ├── options.pp │ └── service.pp ├── metadata.json ├── spec ├── acceptance │ ├── client_spec.rb │ └── init_spec.rb ├── classes │ ├── client_spec.rb │ ├── hostkeys_spec.rb │ ├── init_spec.rb │ └── server_spec.rb ├── defines │ ├── client │ │ ├── config │ │ │ └── user_spec.rb │ │ └── match_block_spec.rb │ └── server │ │ ├── config │ │ └── setting_spec.rb │ │ ├── host_key_spec.rb │ │ ├── instances_spec.rb │ │ └── match_block_spec.rb ├── fixtures │ ├── .gitignore │ └── mock-interface-fact.json ├── functions │ └── ssh │ │ └── ipaddresses_spec.rb ├── setup_acceptance_node.pp ├── spec_helper.rb ├── spec_helper_acceptance.rb ├── type_aliases │ └── sshclientmatch_spec.rb └── unit │ └── facter │ └── util │ ├── fact_ssh_client_version_spec.rb │ ├── fact_ssh_server_version_major_spec.rb │ └── fact_ssh_server_version_spec.rb ├── templates ├── issue.net.erb ├── options.erb ├── ssh_config.erb ├── ssh_instance.erb ├── ssh_instance_service.erb ├── sshd_config.erb └── sshd_match_block.erb └── types └── clientmatch.pp /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.editorconfig -------------------------------------------------------------------------------- /.fixtures.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.fixtures.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/labeler.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.github/labeler.yml -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.github/release.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/labeler.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.github/workflows/labeler.yml -------------------------------------------------------------------------------- /.github/workflows/prepare_release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.github/workflows/prepare_release.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.gitignore -------------------------------------------------------------------------------- /.msync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.msync.yml -------------------------------------------------------------------------------- /.overcommit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.overcommit.yml -------------------------------------------------------------------------------- /.pmtignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.pmtignore -------------------------------------------------------------------------------- /.puppet-lint.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.puppet-lint.rc -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/Gemfile -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/HISTORY.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/README.md -------------------------------------------------------------------------------- /REFERENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/REFERENCE.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/Rakefile -------------------------------------------------------------------------------- /data/AIX.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/AIX.yaml -------------------------------------------------------------------------------- /data/Amazon.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/Amazon.yaml -------------------------------------------------------------------------------- /data/Archlinux.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/Archlinux.yaml -------------------------------------------------------------------------------- /data/Darwin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/Darwin.yaml -------------------------------------------------------------------------------- /data/Debian.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/Debian.yaml -------------------------------------------------------------------------------- /data/DragonFly.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/DragonFly.yaml -------------------------------------------------------------------------------- /data/FreeBSD.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/FreeBSD.yaml -------------------------------------------------------------------------------- /data/Gentoo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/Gentoo.yaml -------------------------------------------------------------------------------- /data/OpenBSD.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/OpenBSD.yaml -------------------------------------------------------------------------------- /data/OpenSuSE.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/OpenSuSE.yaml -------------------------------------------------------------------------------- /data/RedHat-9.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/RedHat-9.yaml -------------------------------------------------------------------------------- /data/RedHat.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/RedHat.yaml -------------------------------------------------------------------------------- /data/SLES-10-x86_64.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/SLES-10-x86_64.yaml -------------------------------------------------------------------------------- /data/SLES-11-x86_64.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/SLES-11-x86_64.yaml -------------------------------------------------------------------------------- /data/SLES.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/SLES.yaml -------------------------------------------------------------------------------- /data/SmartOS.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/SmartOS.yaml -------------------------------------------------------------------------------- /data/Solaris-10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/Solaris-10.yaml -------------------------------------------------------------------------------- /data/Solaris.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/Solaris.yaml -------------------------------------------------------------------------------- /data/Suse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/Suse.yaml -------------------------------------------------------------------------------- /data/common.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/data/common.yaml -------------------------------------------------------------------------------- /hiera.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/hiera.yaml -------------------------------------------------------------------------------- /lib/facter/ssh_client_version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/lib/facter/ssh_client_version.rb -------------------------------------------------------------------------------- /lib/facter/ssh_server_version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/lib/facter/ssh_server_version.rb -------------------------------------------------------------------------------- /lib/puppet/functions/ssh/ipaddresses.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/lib/puppet/functions/ssh/ipaddresses.rb -------------------------------------------------------------------------------- /lib/puppet/parser/functions/sshclient_options_to_augeas_ssh_config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/lib/puppet/parser/functions/sshclient_options_to_augeas_ssh_config.rb -------------------------------------------------------------------------------- /lib/puppet/parser/functions/sshserver_options_to_augeas_sshd_config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/lib/puppet/parser/functions/sshserver_options_to_augeas_sshd_config.rb -------------------------------------------------------------------------------- /manifests/client.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/client.pp -------------------------------------------------------------------------------- /manifests/client/config.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/client/config.pp -------------------------------------------------------------------------------- /manifests/client/config/user.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/client/config/user.pp -------------------------------------------------------------------------------- /manifests/client/install.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/client/install.pp -------------------------------------------------------------------------------- /manifests/client/match_block.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/client/match_block.pp -------------------------------------------------------------------------------- /manifests/hostkeys.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/hostkeys.pp -------------------------------------------------------------------------------- /manifests/init.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/init.pp -------------------------------------------------------------------------------- /manifests/knownhosts.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/knownhosts.pp -------------------------------------------------------------------------------- /manifests/server.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server.pp -------------------------------------------------------------------------------- /manifests/server/config.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server/config.pp -------------------------------------------------------------------------------- /manifests/server/config/setting.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server/config/setting.pp -------------------------------------------------------------------------------- /manifests/server/config_file.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server/config_file.pp -------------------------------------------------------------------------------- /manifests/server/host_key.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server/host_key.pp -------------------------------------------------------------------------------- /manifests/server/install.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server/install.pp -------------------------------------------------------------------------------- /manifests/server/instances.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server/instances.pp -------------------------------------------------------------------------------- /manifests/server/match_block.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server/match_block.pp -------------------------------------------------------------------------------- /manifests/server/options.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server/options.pp -------------------------------------------------------------------------------- /manifests/server/service.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/manifests/server/service.pp -------------------------------------------------------------------------------- /metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/metadata.json -------------------------------------------------------------------------------- /spec/acceptance/client_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/acceptance/client_spec.rb -------------------------------------------------------------------------------- /spec/acceptance/init_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/acceptance/init_spec.rb -------------------------------------------------------------------------------- /spec/classes/client_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/classes/client_spec.rb -------------------------------------------------------------------------------- /spec/classes/hostkeys_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/classes/hostkeys_spec.rb -------------------------------------------------------------------------------- /spec/classes/init_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/classes/init_spec.rb -------------------------------------------------------------------------------- /spec/classes/server_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/classes/server_spec.rb -------------------------------------------------------------------------------- /spec/defines/client/config/user_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/defines/client/config/user_spec.rb -------------------------------------------------------------------------------- /spec/defines/client/match_block_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/defines/client/match_block_spec.rb -------------------------------------------------------------------------------- /spec/defines/server/config/setting_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/defines/server/config/setting_spec.rb -------------------------------------------------------------------------------- /spec/defines/server/host_key_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/defines/server/host_key_spec.rb -------------------------------------------------------------------------------- /spec/defines/server/instances_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/defines/server/instances_spec.rb -------------------------------------------------------------------------------- /spec/defines/server/match_block_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/defines/server/match_block_spec.rb -------------------------------------------------------------------------------- /spec/fixtures/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/fixtures/.gitignore -------------------------------------------------------------------------------- /spec/fixtures/mock-interface-fact.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/fixtures/mock-interface-fact.json -------------------------------------------------------------------------------- /spec/functions/ssh/ipaddresses_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/functions/ssh/ipaddresses_spec.rb -------------------------------------------------------------------------------- /spec/setup_acceptance_node.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/setup_acceptance_node.pp -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/spec_helper_acceptance.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/spec_helper_acceptance.rb -------------------------------------------------------------------------------- /spec/type_aliases/sshclientmatch_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/type_aliases/sshclientmatch_spec.rb -------------------------------------------------------------------------------- /spec/unit/facter/util/fact_ssh_client_version_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/unit/facter/util/fact_ssh_client_version_spec.rb -------------------------------------------------------------------------------- /spec/unit/facter/util/fact_ssh_server_version_major_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/unit/facter/util/fact_ssh_server_version_major_spec.rb -------------------------------------------------------------------------------- /spec/unit/facter/util/fact_ssh_server_version_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/spec/unit/facter/util/fact_ssh_server_version_spec.rb -------------------------------------------------------------------------------- /templates/issue.net.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/templates/issue.net.erb -------------------------------------------------------------------------------- /templates/options.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/templates/options.erb -------------------------------------------------------------------------------- /templates/ssh_config.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/templates/ssh_config.erb -------------------------------------------------------------------------------- /templates/ssh_instance.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/templates/ssh_instance.erb -------------------------------------------------------------------------------- /templates/ssh_instance_service.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/templates/ssh_instance_service.erb -------------------------------------------------------------------------------- /templates/sshd_config.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/templates/sshd_config.erb -------------------------------------------------------------------------------- /templates/sshd_match_block.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/templates/sshd_match_block.erb -------------------------------------------------------------------------------- /types/clientmatch.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saz/puppet-ssh/HEAD/types/clientmatch.pp --------------------------------------------------------------------------------