On Sat, May 14, 2011 at 1:21 PM, Robin Lee Powell <
rlpow...@digitalkingdom.org> wrote:

> On Sat, May 14, 2011 at 01:13:19PM +0300, Ohad Levy wrote:
> > On Sat, May 14, 2011 at 7:04 AM, Robin Lee Powell <
> > rlpow...@digitalkingdom.org> wrote:
> >
> > >
> > > I only have like 15 hosts, and the only stuff I'm aware that I'm
> > > saving via <<| |>>/@@ is ssh keys.
> > >
> > > It's > 600 MiB.
> > >
> > > That seems really large?
> > >
> > > Should I just delete it every once in a while?
> >
> > sqlite does not release disk space unless you vacuum it.
>
> OK.  Shouldn't puppet be responsible for doing that if it's going to
> use sqlite on the backend, then?  I don't know much of anything
> about sqlite, and I'm surprised if I'd have to learn it to use
> puppet.
>
> Perhaps someone has a puppet snippet to handle this already?  :)
>
>  echo "VACUUM;" | sqlite3 <your db>

to be on the safe side, back it up first :)

Ohad

> -Robin
>
> --
> http://singinst.org/ :  Our last, best hope for a fantastic future.
> Lojban (http://www.lojban.org/): The language in which "this parrot
> is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
> is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to