Hi Leslie,
On Fri, Sep 17, 2010 at 7:30 AM, Leslie Giles <[email protected]> wrote:
> I'm just starting out with puppet. I've taken the training, but even with
> that, I'm finding the learning curve rather steep.
>
it is a lot to learn, if you have any additional feedback of how we could
improve things, I would be more than happy to hear it.
> My problem right now is that it seems to be ignoring modulepath in
> /etc/puppet/puppet.conf.
>
> Here's my /etc/puppet/puppet.conf on the master, logsplitter:
>
> ------------------------
> [main]
> # The Puppet log directory.
> # The default value is '$vardir/log'.
> logdir = /var/log/puppet
>
> # Where Puppet PID files are kept.
> # The default value is '$vardir/run'.
> rundir = /var/run/puppet
>
> # Where SSL certificates are kept.
> # The default value is '$confdir/ssl'.
> ssldir = $vardir/ssl
>
> [agent]
> # The file in which puppetd stores a list of the classes
> # associated with the retrieved configuratiion. Can be loaded in
> # the separate ``puppet`` executable using the ``--loadclasses``
> # option.
> # The default value is '$confdir/classes.txt'.
> classfile = $vardir/classes.txt
>
> # Where puppetd caches the local configuration. An
> # extension indicating the cache format is added automatically.
> # The default value is '$confdir/localconfig'.
> localconfig = $vardir/localconfig
>
[production]
> manifest = /etc/puppet/production/site.pp
> modulepath = /etc/puppet/production/modules
> [development]
> manifest = /etc/puppet/development/site.pp
> modulepath = /etc/puppet/development/modules
> [test]
> manifest = /etc/puppet/test/site.pp
> modulepath = /etc/puppet/test/modules
> --------------------------------
>
> On lapin:
> -----------------/etc/puppet/puppet.conf-----
> [main]
> # The Puppet log directory.
> # The default value is '$vardir/log'.
> logdir = /var/log/puppet
>
> # Where Puppet PID files are kept.
> # The default value is '$vardir/run'.
> rundir = /var/run/puppet
>
> # Where SSL certificates are kept.
> # The default value is '$confdir/ssl'.
> ssldir = $vardir/ssl
>
> [agent]
> # The file in which puppetd stores a list of the classes
> # associated with the retrieved configuratiion. Can be loaded in
> # the separate ``puppet`` executable using the ``--loadclasses``
> # option.
> # The default value is '$confdir/classes.txt'.
> classfile = $vardir/classes.txt
>
> # Where puppetd caches the local configuration. An
> # extension indicating the cache format is added automatically.
> # The default value is '$confdir/localconfig'.
> localconfig = $vardir/localconfig
>
> environment = production
>
---------------------------------------------
>
> On the master:
> ------------/etc/puppet/production/site.pp----------
> node 'lapin.tripadvisor.com' {
> include site::server
> }
> -------------------------------------------
>
> ------------/etc/puppet/production/modules/site/manifest/init.pp--------------
>
>
class site::server {
> Package['emacs'] {
> ensure => latest,
> }
> }
> -----------------------
>
> On lapin.tripadvisor.com, I get this...
>
> # puppetd --server logsplitter --test --verbose
> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Could not find class site::server at /etc/puppet/production/site.pp:2 on
> node lapin.tripadvisor.
>
> This seems to show that it's finding the production manifest properly, but
> it's not using the modulepath from puppet.conf. I know it's something
> simple, but what am I doing wrong? I'm using Puppet 2.6.1
>
The directory should be manifests, not manifest
Lezz Giles
>
> --
> 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]<puppet-users%[email protected]>
> .
> 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 [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.