Restricting host access to files

Trevor Vaughan
Tue, 27 Feb 2007 21:50:04 -0000

I suppose that this is a question about fileserver.conf but what I''m
trying
to do is to have something like the following in fileserver.conf:

[$hostname]
    path /var/lib/puppet/files/privatefiles/$hostname.txt
    allow $hostname

Basically, this would allow access to a file named <hostname>.txt for only
the host to which it should be delivered.

I''m not entirely sure how you would do this, but it would sure be
easier
than specifying that entry for every host on the network :-P.

Thanks,

Trevor


_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com