Issue #3236 has been updated by James Turnbull.

Use pre /pre tags. :)
----------------------------------------
Bug #3236: err: Could not retrieve catalog from remote server: No such file or 
directory - /var/puppet/client_yaml/catalog
http://projects.reductivelabs.com/issues/3236

Author: Joe McDonagh
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.4
Keywords: openbsd
Branch: 


On one of my OpenBSD nodes:

<pre>
[/tmp] > sudo /usr/local/sbin/puppetd -t --noop
info: Caching certificate_revocation_list for ca
info: Caching catalog for somecomputer.com
err: Could not retrieve catalog from remote server: No such file or directory - 
/var/puppet/client_yaml/catalog
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
(jmcdon...@somecomputer) Tue Feb 23 12:33 PM /dev/ttyp0
[/tmp] > sudo /usr/local/sbin/puppetd -t --noop
info: Caching catalog for somecomputer.com
err: Could not retrieve catalog from remote server: No such file or directory - 
/var/puppet/client_yaml/catalog
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
(jmcdon...@somecomputer) Tue Feb 23 12:34 PM /dev/ttyp0
[/tmp] > ls -la /var/puppet/
total 100
drwxr-xr-x   9 _puppet  _puppet    512 Feb 23 10:18 .
drwxr-xr-x  24 root     wheel      512 Jul  9  2009 ..
drwxr-x---   5 root     wheel      512 Dec  4 14:53 clientbucket
drwxr-xr-x   2 _puppet  _puppet    512 Feb 23 10:18 facts
-rw-r-----   1 root     wheel    32356 Nov 19 11:00 http.log
drwxr-xr-x   2 root     _puppet    512 Oct  9  2008 lib
drwxr-xr-x   2 _puppet  _puppet    512 Feb 23 10:18 plugins
drwxr-xr-x   2 _puppet  _puppet    512 Feb 23 10:18 reports
drwxrwx--x   7 root     wheel      512 Feb 23 12:33 ssl
drwxr-xr-t   2 root     _puppet    512 Feb 23 12:34 state
(jmcdon...@somecomputer) Tue Feb 23 12:36 PM /dev/ttyp0
[/tmp] > mkdir /var/puppet/client_yaml
mkdir: /var/puppet/client_yaml: Permission denied
(jmcdon...@somecomputer) Tue Feb 23 12:36 PM /dev/ttyp0
[/tmp] > sudo !!
sudo mkdir /var/puppet/client_yaml
(jmcdon...@somecomputer) Tue Feb 23 12:36 PM /dev/ttyp0
</pre>

At this point, it works. Methinks that should catch the exception and create 
the directory.
    


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to