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
https://mail.madstop.com/mailman/listinfo/puppet-users
On Feb 27, 2007, at 3:50 PM, Trevor Vaughan wrote:> 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.See the %h stuff in the fileserver.conf docs: http://reductivelabs.com/trac/puppet/wiki/FileServingConfiguration -- It''s very hard to predict things . . . Especially the future. -- Prof. Charles Kelemen, Swarthmore CS Dept. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Sorry, I completely missed that. Thanks, Trevor On 2/27/07, Luke Kanies <luke@madstop.com> wrote:> > On Feb 27, 2007, at 3:50 PM, Trevor Vaughan wrote: > > > 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. > > See the %h stuff in the fileserver.conf docs: > > http://reductivelabs.com/trac/puppet/wiki/FileServingConfiguration > > -- > It''s very hard to predict things . . . Especially the future. > -- Prof. Charles Kelemen, Swarthmore CS Dept. > --------------------------------------------------------------------- > Luke Kanies | http://reductivelabs.com | http://madstop.com > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >_______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users