Commit graph

42 commits

Author SHA1 Message Date
Georg Pfuetzenreuter
9b218074e5
fix(defaults): set enabled
Avoid render failure if called without a defined pillar and assume
service should be enabled if not stated otherwise.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-03-04 15:25:05 +01:00
sticky-note
c2678d87fa fix(exports): check if exports is mapping before iterating on it 2022-01-31 10:00:53 +11:00
Imran Iqbal
53b5b39f25
fix(osfamilymap): fix no grains.init on *BSD
Fixes #38.
2021-06-24 09:26:27 +01:00
Heinz Wiesinger
2bfffc06a9 feat(service): allow disabling of nfs services 2021-04-02 13:35:00 +02:00
Heinz Wiesinger
ad8d4b89dc refactor(service): split out nfs service handling into dedicated state 2021-04-02 13:34:51 +02:00
Imran Iqbal
b3d113a49e
test: standardise use of share suite & _mapdata state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
2021-03-23 21:30:30 +00:00
Imran Iqbal
aae6ce6414
feat(osfamilymap): add support for Gentoo 2021-02-26 19:39:40 +00:00
Imran Iqbal
5c30f49cef
feat(oscodenamemap): add support for openSUSE Tumbleweed 2021-02-26 14:51:19 +00:00
sticky-note
88a3c544cc fix(null): replace None with null in yaml files 2020-07-03 11:45:04 +11:00
Imran Iqbal
d56f55e6ca
fix(map.jinja): add missing reference to osfinger grain 2019-11-20 21:45:38 +00:00
Imran Iqbal
780c062228
fix(osfingermap): update service_name for CentOS-6 2019-11-20 21:45:38 +00:00
Imran Iqbal
27317085f7
fix(osmap): update service_name for current versions of Fedora
* https://www.server-world.info/en/note?os=Fedora_31&p=nfs&f=1
2019-11-20 21:45:38 +00:00
Eric Veiras Galisson
18acd667c0
style: fix linters errors 2019-11-20 21:45:37 +00:00
Niels Abspoel
095db7256f
Merge pull request #30 from netmanagers/master
Add osfingermap.yml
2018-09-11 20:14:43 +02:00
Javier Bértoli
4e2907bf91 Add osfingermap.yml
should fix #29
2018-05-03 18:04:08 -03:00
Sylvain RUMEU
2a0b5a038d
Client package fix in debian based OS 2018-04-09 17:42:45 +02:00
Niels Abspoel
95ba36b5d3
Merge pull request #27 from netmanagers/master
Fix Debian's family service name
2018-03-26 20:27:45 +02:00
Javier Bértoli
b3909eb400 Fix Debian's family service name
fixes error introduced in #26
2018-03-26 14:49:02 -03:00
Niels Abspoel
612e4e1a20 simplify map.jinja 2018-03-25 20:05:35 +02:00
Niels Abspoel
2621606c99 fix comments after review 2018-03-23 21:16:02 +01:00
Niels Abspoel
9cb2e467c5 update all pull request into one refactor 2018-03-23 10:17:32 +01:00
Jeremy McMillan
589d53d97f Add support for Amazon, CentOS, RedHat Linux
Line 42 of map.jinja
{% set nfs = map.get(grains.os) %}
does not allow pillar lookups!
2017-06-30 14:34:54 -05:00
Bernhard M. Wiedemann
bcfba9c33b support SUSE-based OSes
such as openSUSE and SLES
2017-03-15 15:58:55 +01:00
John Norwood
06d72007e1 Added support for Raspbian 2016-12-11 20:14:46 -06:00
Wolodja Wentland
59d76d19e6 Revert "RedHat and FreeBSD support" 2016-02-17 12:20:25 +01:00
Alexander Kovtun
921b17f035 Added support for RedHat-based OSes; some tweaks to improve flexibility. 2016-02-04 17:28:19 +06:00
Alexander Kovtun
ca539ab885 Merge remote-tracking branch 'origin/freebsd_support' 2016-02-04 15:05:10 +06:00
abednarik
21244e3bc1 Replace deprecated iteritems() with items() 2015-11-16 22:13:58 -03:00
0xf10e
e649c0122a minimal FreeBSD-support for nfs.server 2015-06-24 22:15:43 +02:00
0xf10e
c2b88f1fec default to empty dict of exports 2015-06-24 22:14:21 +02:00
Imran Iqbal
fd7e247bc7 Add ability to unmount nfs shares
* Complements mount.mounted by using mount.unmounted
* Since device parameter causes warnings on older minion versions,
  included a test to determine whether the parameter should be used
* Other changes include:
    - Update pillar.example to show how unmount is to be used
    - Update README to include `nfs.mount` and `nfs.unmount`
    - Add standard manual edit warning to managed exports file
2015-06-16 07:16:28 +01:00
roedie
01374aef0e Add ability to mount nfs shares
Since this is used to install the NFS server, client and manage
the exports file I think it should also manage the NFS mounts
2015-05-13 16:33:06 +02:00
Rashit Azizbaev
5074bf8deb Add restart on exports change 2015-02-11 16:03:11 +03:00
Rashit Azizbaev
6bf0da7776 Remove excessive newlines 2015-02-11 15:57:15 +03:00
Rashit Azizbaev
9d092a1aee Add items() 2015-02-11 15:34:40 +03:00
Rashit Azizbaev
b9149acb96 Remove iteritems 2015-02-11 15:16:33 +03:00
Rashit Azizbaev
01e7f8cd27 Fix dict iteration in jinja 2015-02-11 15:15:22 +03:00
Rashit Azizbaev
f2692fd14c Fix jinja template for export 2015-02-11 15:11:49 +03:00
Rashit Azizbaev
d095dbb7d2 Fix jinja syntax 2015-02-11 15:04:22 +03:00
Rashit Azizbaev
62e82604fa Move files to correct directory 2015-02-11 15:02:59 +03:00
Rashit Azizbaev
cbab4cfb53 /etc/exports generation 2015-02-11 14:59:53 +03:00
Jimmy Tang
415bd0c5ff Basic server and client states 2015-01-27 13:26:41 +00:00