From: steve koppelman <steve.koppel...@gmail.com>
Date: Tue, 24 Jun 2008 12:46:50 -0700 (PDT)
Local: Tues, Jun 24 2008 3:46 pm
Subject: Re: Clearly not understanding import
When I posted those files, nodes.pp was empty. Still is. Now I have
some nodes in site.pp as follows, at the end of the site.pp manifest. node default {
}
node "foo.bar.com" inherits default {
exec { "/usr/bin/svn up": cwd => "/var/spool/puppet-conf-aep/configs", schedule => everyfive } # I AM THE PUPPETMASTER
}
#puppet.conf (default, as installed by DAG/rpmforge package)
[main]
# The Puppet log directory.
# Where Puppet PID files are kept.
# Where SSL certificates are kept.
[puppetd]
# Where puppetd caches the local configuration. An
On Jun 24, 3:32 pm, "Evan Hisey" <ehi...@gmail.com> wrote:
> On Tue, Jun 24, 2008 at 12:40 PM, steve koppelman
> <steve.koppel...@gmail.com> wrote:
> > I'm new at this. I've pored over the Quickstart and Best Practices.
> > When I run "puppet -d --parseonly site.pp on the following I get this:
> > debug: importing 'base.pp'
> > When I take the contents of httpserver.pp and paste them into the end
> > What am I doing wrong?
> > Thanks.
> > ------------------------------------------------------------
> > #site.pp
> > filebucket { main: server => puppet }
> > File { backup => main }
> > Package {
> > schedule { everyfive:
> > import "base"
> > -----
> > # base.pp
> > class base {
> > host { "puppet":
> > host { "svn":
> > }
> > ---
> > # httpserver.pp
> > class httpserver {
> What does your puppet.conf look like and what is the node definition?
> Evan You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||