-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello
I just came across an interesting problem with the mount provider. We
try to manage NFS mounts on the servers and purge all instances which
are not in the catalog.
Since the mount type/provider collects all the mounts it would simply
destroy the system if we activate purging. So I started to look into
different ways how this could be done right.
Unfortunately I did not find a solution which is very attractive.
Currently I simply copied the puppet mount type and provider and created
a modified version of it under a different name. This is very ugly as it
basically c&p some hundred lines of code to add a few lines which reject
all non NFS mounts in the instances method.
Is there a better way to do this? Is there some way I can limit the
purging to a set of parameters or a specific provider for the mount
type? Or is there a way to inherit a type and to inherit providers from
such inherited types?
Greetings
Andreas
- --
Andreas Zuber
Linux System-Ingenieur
Puzzle ITC GmbH
www.puzzle.ch
Telefon
+41 31 370 22 00
Direkt
+41 31 370 22 49
Mobile
+41 79 766 25 51
Fax
+41 31 370 22 01
Werfen Sie einen Blick in unseren Blog:
<
http://www.puzzle.ch/blog>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlQO+ScACgkQc2hfmdKpdfXUyQCcC9lwZrmuh0YxR0p40XgEbxMo
pLQAnAxoF6YyMuyFR8pgpVBt4qGEGBR/
=j7we
-----END PGP SIGNATURE-----