Hello all.

I have just started to implement my first type and a parsed-file provider for it.

It is called nfs_export and it should manage nfs-exports via /etc/ exports. First, here is the type:
http://pastie.org/518506
and here the parsedfile provider:
http://pastie.org/518507

Now, this is my absolute first approach to write a provider, there is much functionality that has to be added.

The problem that I have is the following:

- All resources that use $name != $export_point are added on each puppetrun.

I have looked into the crontab provider, which uses a comment line to identify the name. Other providers, like malialias' alias.rb do not use this kind of "hack?"

My provider is based on the alias.rb provider. Unfortunately I can not get it to recognize resources by name.

Can someone tell me the solution to this problem?
Thank you very much,
udo.
--
:: udo waechter - [email protected] :: N 52º16'30.5" E 8º3'10.1"
:: genuine input for your ears: http://auriculabovinari.de
::                          your eyes: http://ezag.zoide.net
::                          your brain: http://zoide.net




Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to