removing exported resources

udo waechter
2008-01-09T19:36:04Z

Hello everybody.
I have a question about removing exported resources. How is this done?
Does it happen automagically?

If I do:

@@file{"/tmp/bla":
	content => "blahs content",
	ensure	=> present,
}

and thus export "/tmp/bla" to another host does it vanish by itself as
soon as I remove the definition, or would I need to state something
like:

@@file{"/tmp/bla":
	content => "blahs content",
	ensure	=> absent,
}

I am asking, because I have reconfigred some of the exported resources
that I have been using: "ensure => absent".

What happens is the following:
When puppetd runs on the collection host, the file is first deleted
and then created again. Huh? how can this be explained? Is this the
expected behaviour or have I found a bug? (server and client are
version 0.24.1 on Debian Etch and Mac OS X Tiger (with client 0.23.0))

Thanks,
udo.
--
:: udo waechter - root@zoide.net :: N 52º16''30.5" E
8º3''10.1"
:: genuine input for your ears: http://www.auriculabovinari.de
::                          your eyes: http://ezag.zoide.net
::                          your brain: http://www.zoide.net