Hi list,

I have a  puppet setup in which I use the file hierarchy from best
practices:

http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Best_Practice

I am currently working on a bind9 configuration for debian clients, I use he
modules directory for the bind configuration and it works fine. Puppet
installs bind and distributes named.conf. Now I want to distribute a
named.conf.local file for one specific host so I thought I put thyat in the
clients directory. Unfortunately I cannot get it to work.

This is my site.pp:

import "modules"
import "clients"
import "nodes"

this is my clients.pp:

import "servername"

in the clients directory there's a directory "servername" with
subdirectories manifests and files

here's my clients/servername/manifests/init.pp:

class servername {
 file { "/etc/bind/named.conf.local":
        owner   => root,
        group   => bind,
        mode    => 644,
        source  => "puppet:///servername/named.conf.local",
    }
}

Now here's the error I get on the client:

err: Could not retrieve catalog: Could not parse for environment production:
No file(s) found for import of 'servername' at
/etc/puppet/manifests/clients.pp:1

So what am I doing wrong here?

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