On Wed, Apr 8, 2009 at 12:30 AM, Daniel Drake <[email protected]> wrote: > xs-activation-import unconditionally deletes the lease files from the > directory that it imports. This doesn't play nice with a system such > as puppet, which we're using here:
Ouch. The XS tools in general are expecting other kinds of interaction, and are unprepared for something like puppet "pushing files into place". The strategy I'm working towards is of atomic drop-box style directories (write a tempfile, mv it to the dropbox). If puppet is in charge of putting the file in its actual destination, then it's in charge of triggering the "read new file / data" actions and that's tool-specific, so you lose your loose coupling. Can Puppet handle drop-boxes, and only drop new stuff in when there is new data? cheers, m -- [email protected] [email protected] -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff _______________________________________________ Server-devel mailing list [email protected] http://lists.laptop.org/listinfo/server-devel
