Hello, When reading the documentation regarding the fileserver configuration, I found it very handy. The idea to create a virtual share which points to a location on the fileserver. However, I may have run into a problem. What I wanted to do was to have this share point out a location and under that location, I''d create what would be a relative root. Part of the reason for this is you see directly where files would go on the client, and the other reason is that there are files with the exact same same (for instance, /etc/ldap.conf and /etc/openldap/ldap.conf). It would seem that if a client asks for puppet://server.example.com/share/etc/ldap.conf it ignores the directory /etc/ and tries to find the file ldap.conf in the root of the share location. Could someone confirm that this is the way it works, or do I have an error in my config files somewhere? //Andreas Loong -- CES 1984 - "The Lorraine''s graphics are a whole step ahead of any personal computer now on the market. This computer is potentially powerful enough to make an IBM-PC look like a four-function calculator."
nope, there must be some error in your setup, i have configured it like this: [files] path /etc/puppet/files allow 192.168.0.0/24 and copying files like this: file { "/etc/postgrey/whitelist_recipients.local": source => "puppet://$puppetmaster/files/global/postgrey/whitelist_recipients.local", require => Package["postgrey"], owner => root, group => root, mode => 644, notify => Service[postgrey], } while under /etc/puppet/files i have a directory structure for global/postgrey ... try running puppetmasterd with --debug, this gives lots of helpfull output. h. On Tue, 2007-05-22 at 17:16 +0200, Andreas Loong wrote:> It would seem that if a client asks for > puppet://server.example.com/share/etc/ldap.conf it ignores the > directory > /etc/ and tries to find the file ldap.conf in the root of the share > location. >
Andreas Loong wrote:> It would seem that if a client asks for > puppet://server.example.com/share/etc/ldap.conf it ignores the directory > /etc/ and tries to find the file ldap.conf in the root of the share > location.What you''ve posted so far looks right. What does it say if you run the puppetmasterd in --debug mode? Can you post your fileserver.conf too?
Apparently Analagous Threads
- RFC - file population and basic configuration script
- Recursive file hieararchy with order precedence
- grouping classes together
- Why SI.isSigned() is not equals to E->getType()->isSignedIntegerOrEnumerationType()?
- error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')