[OpenAFS] managing BosConfig in Puppet

Russ Allbery rra@stanford.edu
Fri, 16 Nov 2012 15:23:07 -0800

Ken Dreyer <ktdreyer@ktdreyer.com> writes:

> Does anyone have a good Puppet snippet for managing BosConfig in
> Puppet? I'm picturing something like:

> 1. Create the configuration by hand using "bos" commands
> 2. Copy the BosConfig file into Puppet / version control

> ...and it gets sort of fuzzy for me here.

We just overwrite the current BosConfig file on the system and then
manually restart bos (outside of Puppet) to make the changes effective.
That works for us, since we rarely (if ever) change BosConfig.  Puppet is
primarily a tool for deploying the initial version of the file.

Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>