These are in /etc/puppet/manifests/templates

|-- classes
|   |-- motd.pp
|   |-- puppet.pp
|-- nodes
|   |-- default.pp
|-- site.pp
`-- templates
    `-- etc
        |-- motd.erb
        |-- puppet
        |   `-- puppet.conf.erb

Met vriendelijke groeten,
Pieter Baele
www.pieterb.be



On Mon, Jun 28, 2010 at 10:28, Patrick Mohr <kc7...@gmail.com> wrote:
> Where are your templates?
>        /etc/puppet/templates
> or
>        /etc/puppet/modules/module-name/templates (I may have a typo in the 
> path.)
>
> Also, what's the full path to puppet.conf.erb?
>
> On Jun 28, 2010, at 1:04 AM, Pieter Baele wrote:
>
>> Hello,
>>
>> I did make a stupid fault: not commiting changes to version control :-(
>> After the installation of puppet-dashboard, I added a recipe to add
>> report = true to puppet config files on clients.
>>
>> Now all Puppet clients don't update because of an error...
>> What can be the various reasons for an '400' error??
>> I guess it has something to do with rights.
>>
>> Jun 28 09:52:36 pm puppetmasterd[22709]: Could not find template
>> 'etc/motd.erb' at /etc/puppet/manifests/classes/motd.pp:6 on node
>> pm......
>> Jun 28 09:52:36 pm puppetd[23432]: Could not retrieve catalog from
>> remote server: Error 400 on SERVER: Could not find template
>> 'etc/motd.erb' at /etc/puppet/manifests/classes/motd.pp:6 on node
>> pm......
>>
>> Jun 28 09:46:17 tsta puppetd[31413]: Could not retrieve catalog from
>> remote server: Error 400 on SERVER: Could not find template
>> 'etc/motd.erb' at /etc/puppet/manifests/classes/motd.pp:6 on node
>> tsta.....
>>
>>
>>
>> This is the class to serve the puppet.conf file:
>>
>> class puppet {
>>    $puppet_config_dir          = "/etc/puppet/"
>>    $puppet_conf                = "$puppet_config_dir/puppet.conf"
>>
>>    user {
>>        "puppet":
>>            ensure      => present;
>>    }
>>
>>    file {
>>        $puppet_config_dir:
>>            ensure      => directory,
>>            owner       => root,
>>            group       => root,
>>            mode        => 0755;
>>
>>        $puppet_conf:
>>            owner       => root,
>>            group       => root,
>>            mode        => 0644,
>>            content     => template("etc/puppet/puppet.conf.erb");
>>    }
>>
>>    service {
>>        "puppet":
>>            ensure      => running,
>>            enable      => true;
>>    }
>> }
>>
>>
>>
>> Met vriendelijke groeten,
>> Pieter Baele
>> www.pieterb.be
>>
>> --
>> 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.
>>
>
> --
> 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.
>
>

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