Imran Iqbal
f6dbca3352
fix: complete PR #164
* Use consistent Jinja whitespace control `{%- ... -}`
* Improve debug output (comments & whitespace control)
* Use exact state names with TOFS `files_switch`
* Add `ssh_known_hosts_src` to `defaults` (for consistency)
* Restrict `pillar.example` changes to TOFS only
* Use `fire_banner` in `pillar.example` to indicate available template
hace 5 años
nb
a47596f15a
feat(TOFS): ssh sshd configs known_host and banner
hace 5 años
Imran Iqbal
14966e9a09
fix(`config_ini`): convert tabs to single space to prevent false +ves ( #163 )
* Fix #162
* Check for any number of tabs after the keyword
* If found, replace them by a single space to match the `separator` used
in the `ini_options.present` state
hace 5 años
Meng Chen
3e01ad816a
Remove duplicated pillar.get calls to retrieve the sshd_config and ssh_config pillars
hace 5 años
chenmen
463ad69d92
reuse sshd_config from map ( #160 )
remove duplicated 'pillar.get' calls to retrieve the sshd_config and ssh_config pillars.
hace 5 años
Imran Iqbal
55b4c68cc8
Merge pull request #159 from alxwr/improve-readme
Improved known_hosts section in README.rst
hace 5 años
alxwr
234864611c
Merge pull request #158 from alxwr/no-print
Dropped leftover debugging output
hace 5 años
Raphaël Hertzog
f91d246e98
Fix name of mine function to retrieve the hostname
The code uses 'public_ssh_hostname' and not 'public_ssh_host_names'.
hace 5 años
Alexander Weidinger
f2451efcd8
Improved known_hosts section in README.rst
hace 5 años
Alexander Weidinger
bf654a33c8
Dropped leftover debugging output
(which also happend to break Python 3 compatibility.)
hace 5 años
alxwr
b5ac5e0b74
Merge pull request #152 from polymeter/remove_by_source
Allow removing keys based on source file.
hace 5 años
alxwr
5ee38922e2
Merge pull request #154 from robinelfrink/master
Fix fetching default ssh_config.
hace 5 años
Robin Elfrink
c3c2472562
Fix fetching default ssh_config.
Closes #153 .
hace 5 años
Manuel Webersen
29f7d71426
Allow removing keys based on source file.
hace 5 años
Imran Iqbal
3715cd601c
Merge pull request #151 from alxwr/issue-98
CentOS does not support ed25519; fixes #98
hace 5 años
alxwr
3f9876fc40
ssh_config: properly render host options ( #149 )
* ssh_config: properly render host options (fixes #145 )
* ssh_config: whitespace optimization (fixes #145 )
hace 5 años
alxwr
d9653889fa
removed deprecated options ( #150 )
hace 5 años
Alexander Weidinger
29b89f0fb9
map.jinja: replace defaults.merge with grains.filter_by
hace 5 años
Alexander Weidinger
0c6a353969
Fix map.jinja: openssh:lookup is not used anyways
hace 5 años
Alexander Weidinger
f53ccccd3f
CentOS does not support ed25519; fixes #98
hace 5 años
Alexander Weidinger
4b84dead8e
Made host key algos configurable; dropped DSA
hace 5 años
Alexander Weidinger
54dde36e53
split map.jinja according to template-formula
hace 5 años
scub
cf3b048230
Resolve gem dependencies across "supported" environments ( #142 )
hace 6 años
N
2979af9bf5
Merge pull request #138 from hudecof/config_backup_option
Config backup option
hace 6 años
Peter Hudec
ea755686e3
updated openssh/config.sls
hace 6 años
Peter Hudec
0232f5cbbc
updated openssh/defaults.yaml
hace 6 años
Jasper Lievisse Adriaanse
9845b1fddc
Add support for Solaris; tested on SmartOS instance zone ( #137 )
hace 6 años
N
131910d0ca
Merge pull request #136 from Perceptyx/master
Added Debian sftp subystem
hace 6 años
reschl
ffafd2a2f5
Support package versions ( #134 )
added possibility to configure server version and client version
with pillar example
hace 6 años
Philippe Grégoire
7cfc9f5a04
Hint at `Host` support for `ssh_config` ( #133 )
The `ssh_config` state supports generating `Host` sections, but it is
buried in the source. By default, options are simply dumped in the
configuration file; without any `Host` directive.
This patch hints (and, actually, encourages) users to use `Host`
sections by updating the pillar example to use the `Hosts` directive
with the `*` pattern.
hace 6 años
Javier Bértoli
6e077f5dbe
Merge pull request #131 from tmeneau/fix-config-require-in-for-keys
Fix invalid require_in sshd_config for key states
hace 6 años
tmeneau
63ad14efb1
Fix invalid require_in sshd_config for key states
Change the require_ins used by the key management states in the
config.sls to be conditional based on whether the sshd_config
is managed by the formula
Fixes #130
hace 6 años
alxwr
aa3da8f2c2
Pillar openssh.known_hosts_salt_ssh ( #128 )
* Pillar openssh.known_hosts_salt_ssh
* Dropped ill-named file
* Fixed aliasing of host names
* Improved pillar.example
* Opt-in to include localhost
* pillar/known_hosts_salt_ssh: clear cache in run()
* Dropped forgotten debugging output
hace 6 años
alxwr
11366b3c17
Merge pull request #127 from 0xf10e/known_hosts_pillar
Add host keys from pillar to `ssh_known_hosts`
hace 6 años
Florian Ermisch
bf9b9a335c
Add `openssh:known_hosts:static` to README and pillar.example
hace 6 años
Florian Ermisch
45763f54aa
Add host keys from pillar[openssh:known_hosts:static] to `ssh_known_hosts`
hace 6 años
Felipe Zipitría
6fbef86827
Add sftp subsystem debian ( #3 )
* Add map for debian
hace 6 años
Andres Montalban
2a4d07cae1
Merge pull request #2 from Perceptyx/develop
Add latest changes from upstream
hace 6 años
Niels Abspoel
b93448b5e6
Merge pull request #124 from arthurlogilab/123-add-ini-version-of-config
[openssh/config_ini] initial version of config_ini which uses ini state
hace 6 años
Javier Bértoli
fdc3ca398d
Merge pull request #125 from aboe76/python3_support
fix iteritems for python3
hace 6 años
Niels Abspoel
af9721a0f5
fix iteritems for python3
hace 6 años
Raphaël Hertzog
6ccb9fc87d
Replace deprecated "user" attribute by "runas"
hace 6 años
Arthur Lutz
dcb70e5181
[openssh/config_ini] initial version of config_ini which uses ini state
closes #123
hace 6 años
alxwr
73727bc218
Merge pull request #118 from Perceptyx/master
[FIX] When key is present override generating by any way
hace 7 años
Mario Fritschen
e665450ed4
Changed expr_form to tgt_type for deprecation reasons. ( #122 )
hace 7 años
alxwr
5e3368afcb
drop default values ( fixes #102 ) ( #117 )
* drop default values (fixes #102 )
* hmac-ripemd160 was dropped in 7.6
hace 7 años
Andres Montalban
26f2fc8e97
[FIX] When key is present override generating by any way
hace 7 años
Alexander Weidinger
a2dd72bb3e
Merge branch 'aboe76-improve_allowed_users_groups'
hace 7 años
Niels Abspoel
9cdb9aaba0
improve allow_deny_users_groups
hace 7 años
alxwr
178692f92e
Merge pull request #113 from brianholland99/master
Add ConfigBanner to processed_options when handled.
hace 7 años