On Tue, Oct 26, 2010 at 11:30 PM, Marek Dohojda <chro...@gmail.com> wrote:

>
>  Hello everyone
>
> I looked online, but didn't see any solution to the problem of
> /var/lib/puppet/clientbucket filling up.
>
> After a while that directory is getting very big, 3-4gigs.   I have to
> shutdown puppet and remove everything.
>
> Is there a way to either limit the size of this directory, or better yet
> make sure that it isn't filling constantly?
>

Do you actually have a need to use the filebucked on the client? You can
disabling backups for any individual file resource with:

file { "/foo/bar":
  backup => false,
}

and many people in fact set this with a global resource default, and
explicitly backup files they care about by setting backup to true for those
individual resources, like:

File { backup => false, }

file { "/etc/important-file":
  backup => true,
}

http://docs.puppetlabs.com/guides/language_tutorial.html#resource_defaults

You could also choose to use the tidy resource type to manage the bucket
itself.

http://docs.puppetlabs.com/guides/types/tidy.html




>
> I am running puppet version 0.25.4
>
> Thank you!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>



-- 
Nigel Kersten
Product Manager, Puppet Labs
http://www.puppetlabs.com
Twitter: @nigelkersten

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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