On Wed, Feb 15, 2012 at 17:26, Khoury Brazil <[email protected]> wrote: > On Thu, Feb 9, 2012 at 1:09 PM, Daniel Pittman <[email protected]> wrote: >> >> On Thu, Feb 9, 2012 at 06:12, mukulm <[email protected]> wrote: >> > >> > I want to cache the updates for the users system received from the >> > server so that the users can get the updates >> > from the local system cache while offline. >> > >> > Any idea how can server updates be stored on the users system while >> > offline ? >> >> You likely want `--usecacheonfailure`, or the equivalent setting in >> `puppet.conf`: >> >> http://docs.puppetlabs.com/references/stable/configuration.html#usecacheonfailure >> >> Whether to use the cached configuration when the remote configuration >> will not compile. This option is useful for testing new >> configurations, where you want to fix the broken configuration rather >> than reverting to a known-good one. >> >> That should also apply when you can't communicate with the master. > > Unfortunately, at least in my case, when I run puppet on a client that > is off of the network (in this particular case its a Macbook Pro) it > seems that something is failing locally, causing a "warning: not using > cache on failed catalog". […] > This is the output from an offline debug run: > macbookproagent:/ admin$ sudo puppet agent -t --debug
One of the features of the `-t` or `--test` flag is that it disables use of the cached catalog when you can't fetch it down. Does it work better if you don't specify `--test`? If not, please file a bug report. :) -- Daniel Pittman ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
