Daniel Dehennin
3845d5ff61
fix(map): `path_join` can be used only for local file access
On windows machines, the `path_join` build wrong URL by using
backslash as separator.
URL used for fileserver access must use only slashes `/`.
il y a 4 ans
Daniel Dehennin
ad4385b077
feat(map): `config.get` lookups from configurable roots
We avoid compatibility break with user pillars by looking up
configuration values using `config.get` in configurable roots.
We provide a new parameter `map_jinja:config_get_roots` in the formula
`parameters/defaults.yaml`to retrives values not only from
`tplroot=openssh` but from `sshd_config` and `ssh_config` too.
We need to update the `_mapdata` reference files to include the new
`map_jinja:config_get_roots`.
il y a 4 ans
Daniel Dehennin
df477b25c2
feat(map): update to v4 “map.jinja”
The `map.jinja` now exports a single variable called `mapdata`.
We extract the `openssh`, `sshd_config` and `ssh_config` from it to
minimize the changes to `.sls` files.
il y a 4 ans
Imran Iqbal
55560a6916
fix(map.jinja): fix `salt-lint` errors
```bash
Examining openssh/map.jinja of type state
[209] Jinja comment should have spaces before and after: {# comment #}
openssh/map.jinja:4
{## Start imports as ##}
[209] Jinja comment should have spaces before and after: {# comment #}
openssh/map.jinja:19
{## merge the openssh pillar ##}
```
il y a 5 ans
Alexander Weidinger
29b89f0fb9
map.jinja: replace defaults.merge with grains.filter_by
il y a 6 ans
Alexander Weidinger
0c6a353969
Fix map.jinja: openssh:lookup is not used anyways
il y a 6 ans
Alexander Weidinger
54dde36e53
split map.jinja according to template-formula
il y a 6 ans
Jasper Lievisse Adriaanse
9845b1fddc
Add support for Solaris; tested on SmartOS instance zone ( #137 )
il y a 6 ans
Felipe Zipitría
6fbef86827
Add sftp subsystem debian ( #3 )
* Add map for debian
il y a 6 ans
alxwr
5e3368afcb
drop default values ( fixes #102 ) ( #117 )
* drop default values (fixes #102 )
* hmac-ripemd160 was dropped in 7.6
il y a 7 ans
Alexander Weidinger
f4cf9aa22b
CentOS 6: UsePrivilegeSeparation 'yes' ( fixes #108 )
il y a 7 ans
Andres Montalban
467c5e56fc
Remove extra whitespace
il y a 7 ans
Alexander Weidinger
66c954ed66
Set correct ssh(d)_config_group for *BSD
il y a 7 ans
Eric Cook
f4ea96f9c1
setup sftp correctly on RedHat-like machines
il y a 8 ans
Eric Cook
51fd8b1391
fix Subsystem directive on archlinux
il y a 8 ans
omltorg
de66dbee97
Update name of package containing dig on ArchLinux
il y a 8 ans
Jonathon Anderson
87057c7c6b
Correct openssh-clients package name for Red Hat
il y a 8 ans
Eric Cook
dfb04a43b4
set dig_pkg on arch linux for issue #59
il y a 8 ans
llua
bd8d46d784
add OpenBSD to map.jinja
il y a 8 ans
Simon Lloyd
daed52de19
Add sshd_config to map.jinja and check if dig command is available before installing 'dig' package.
il y a 8 ans
Theo Chatzimichos
0abbaac60d
Fix the default Subystem sftp-server path for SLE
il y a 8 ans
abednarik
3791b11380
Added default path for sftp Subsystem in FreeBSD
il y a 9 ans
Imran Haider
4dddff0ccd
Fix service name for Arch Linux
il y a 9 ans
Niels Abspoel
ca62b7d118
Improve default lookup
Added defaults.yaml and map.jinja similar to template-formula and salt-formula
il y a 9 ans
Raphaël Hertzog
1b74efd2d0
Add a new openssh.known_hosts state
This state manages /etc/ssh/ssh_known_hosts and fills it with
public SSH host keys of other minions.
il y a 9 ans
Marc Schiffbauer
c6aeaf4dc5
add gentoo support
il y a 9 ans
Marc Schiffbauer
28e0916840
sort distros alphabetically
il y a 9 ans
Niels Abspoel
5871efb5bd
added archlinux support to openssh map.jinja
il y a 10 ans
Nitin Madhok
620cc0f199
Update map.jinja
il y a 10 ans
Nitin Madhok
131a5cafcb
Update map.jinja
il y a 10 ans
Nitin Madhok
9263857193
Update map.jinja
Correct indentation
il y a 10 ans
Niels Abspoel
1efce43d55
Added Opensuse support to map.jinja
il y a 10 ans
Alan Pearce
edc208b79b
Add FreeBSD compatibility
il y a 10 ans
Kenny Do
6e418aa945
added a state that installs the openssh client
il y a 11 ans
Kenny Do
0a2468d87a
created a map.jinja and updated openssh state to use those values
il y a 11 ans