Adding Files to a Site

(imported topic written by SystemAdmin)

Hi,

I’m not sure when this feature got introduced - but the ‘Add Files’ to a site looks to be very useful. As usual, there’s no praise without question :wink:

I know that the Add Files process immedialtely propagates the the to the endpoints in the site, but does it ever check that the files on the endpoint are still the same as the one on the BF server?

If not, is there a way to schedule a ‘Gather’ for an individual custom site at a set interval? I have spotted that if I change the file on the endpoint and then change something in the site via the console the original file gets put back - which is great but how can I force that replacement without have to make a change to a fixlet/analysis/action in the site?

The background to this is… I’ve got a custom site with various fixlets and tasks that rely on a number of control files. These files change on a regular basis as well as new control files being added. The admins of this site are comfortable with creating/changing the control files but are not happy with changing the fixlets I created to propagate the files. I’ve shown them how they can use the ‘Add Files’ for their site which they are quite happy with.

The issue is that the integrity of those control files needs to be verified on the endpoint to prevent anyone tampering with them - back to using fixlets and editing them for every time the admins change a file.

Any thoughts,

Mark.

(imported comment written by BenKus)

Hey Mark,

The files are part of the Fixlet site, which means that their hash is included in the signed site directory and the agent enforces that the files are updated when it checks the directory listing… which basically means that whenever the agent verifies the site (which I believe occurs on startup, on its gather interval, each time it gets a new version of the site, or before it runs an action from that site), then it will make sure the file is ok…

Big warning here: Don’t put big files in the Fixlet sites (big files are hundreds of KB to MBs). The reason is that these files are transmitted to all your computers who are subscribed to the site right away and whenever new agents are added… Adding small script files is fine, but I wouldn’t add big files (use a download command in this case).

Ben

(imported comment written by SystemAdmin)

Thanks Ben.