I am too getting the same message & error as,

err: Could not retrieve catalog from remote server: getaddrinfo: Name
or service not known
err: Could not retrieve catalog; skipping run
err: Could not send report: getaddrinfo: Name or service not known

Can anyone assist how cache cache can be achieve on the nodes.

Thanks
mukulm



On Feb 16, 8:05 am, Khoury Brazil <[email protected]> wrote:
> On Wed, Feb 15, 2012 at 5:51 PM, Daniel Pittman <[email protected]> wrote:
> > 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#useca...
>
> >>> 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
>
> > --
>
> I guess I *was* missing something (something very obvious...). Thanks
> for the help, that was indeed the issue. :)

-- 
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.

Reply via email to