Displaying 20 results from an estimated 30 matches for "manifestdir".
2010 Mar 30
3
Environment settings not functional
Hi,
I''ve got some problems with setting up environments. On the master:
[main]
[...]
manifestdir = /etc/puppet/manifests
modulepath = /etc/puppet/modules
[...]
environments = production,staging
[production]
manifestdir = /etc/puppet/manifests
modulepath = /etc/puppet/modules
[staging]
manifestdir = /opt/puppet-staging/manifests
modulepath = /opt/puppet-staging/modules
[puppetmasterd]
ssl_cli...
2012 Apr 25
2
Unable to import a manifest file from a different directory to the one where site.pp is located using environments
Hi List,
Puppet Version: v2.7.13
Question - If I correctly setup multiple manifestdir''s in the puppet.conf
file how can I import a node pp file located in a different directory tree
to site.pp?
My configuration information is below.
In my puppet.conf file I have setup an environment called "stable", within
this environment I have setup the manifestdir, modulepat...
2013 Mar 04
7
I moved my modules and manifest directory in puppet master.
...nd manifests back in the original place puppet works. Is there
anywhere else where I need to change the path to the modules?
Changes that I made to puppet.conf file to point to the ne location of the
modules and manifest.
# The default value is ''$confdir/manifests''.
# manifestdir = /etc/puppet/manifests
manifestdir = /etc/puppet2/manifests
# The search path for modules, as a list of directories separated by the
system path separator character. (Th
e POSIX path separator is '':'', and the Windows path separator is '';''.)
# The d...
2012 Mar 08
1
Puppet / Facter plugin issue
If I externalise my Puppet module config to a directory outside of
Puppet using the modulepath / manifestdir settings:
[main]
pluginsync=true
modulepath=/home/ec2-user/projects/qmg-puppet/etc/puppet/modules
manifestdir=/home/ec2-user/projects/qmg-puppet/etc/puppet/
manifests
the agents log the following error:
"Could not evaluate: Could not retrieve information from source(s)
puppet://...
2011 Mar 08
3
classes.txt missing
...g/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
# Where manifests are kept
manifestdir = $vardir/manifests
[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.tx...
2007 Oct 30
1
puppet.conf sections
...Is the following configuration
supposed to work in 0.23.2?
# $Id$
2
3 [main]
4 confdir = <%= confdir %>
5 vardir = <%= vardir %>
6
7 rundir = /var/run
8 logdir = /var/log
9
10 ssldir = $vardir/ssl
11
12 [puppetmasterd]
13 manifestdir = $vardir/manifests
14 modulepath = $vardir/modules
15
16 [ca]
17 autosign = false
18
19 [puppetd]
20 listen = true
21 report = true
22 splay = false
23
24 [reporting]
25 reports = tagmail
26
27 [tagmail]
28 reportfrom = f...
2007 Feb 09
12
Module Organization
...* Import/file name resolution: When puppet encounters a statement like
''import "foo"'' it first looks for a file
''MODULE_DIR/foo/manifests/module.pp'' - if no such file can be found on
the MODULE_PATH, it looks for a file ''foo.pp'' in the manifestdir.
Similarly for ''import "foo/bar/baz.pp"'': first look for manifest
bar/baz.pp in a module ''foo'', then look for a file ''foo/bar/baz.pp'' in
the manifestdir.
Templates should be treated analogously with respect to MODULE_PATH and
templa...
2009 Nov 12
6
Multiple environments
So I''m trying to get multiple environments to work with puppet 0.25.1
on ubuntu 8.04 and no matter what I do, puppet just completely ignores
any environment setting. There''s really next to no information in
terms of configuration on the multiple environments documentation page
(http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments)
other than saying that the
2013 May 07
7
puppet node clean using SQLite instead of PuppetDB
...:group=>"puppet", :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :mode=>"660", :ensure=>:file, :backup=>false, :path=>"/var/lib/puppet/state/clientconfigs.sqlite3"}''
Debug: Using settings: adding file resource ''manifestdir'': ''File[/etc/puppet/manifests]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/etc/puppet/manifests"}''
Debug: Finishing transaction 69920208130760
Info: Connecting to sqlite3 database: /var/lib/puppet/state/client...
2011 Oct 18
4
Better solution for puppet SVN releases
Hi,
we are currently managing our puppet modules with one SVN workspace for each
admin.
The post commit hook script updates /etc/puppet/ directory and triggers the
puppet kick of the correct server.
The problem we have with this solution is that sometimes there are many
small checkins to one change, because the admin forgot to change small
details in the config file, e.g. forgot to change
2011 Nov 09
4
Starting out with puppet and capistrano
Hey guys.
I am starting out with puppet and am in the process of writing a
bootstrap script for the clients and a capistrano recipe for the
server. I have the client bootstrap done which installs ruby, puppet,
sets a host name, and then points the client at the puppet server and
now I am in the process of setting up the puppet server.
My first attempt was to set up a git project for puppet, an
2008 Dec 18
3
errors after 0.24.7 upgrade ..
...0 2008
/Settings[/etc/puppet/puppet.conf]/Settings[rails]/File[/var/log/puppet/rails.log]/owner
(warning): Cannot manage ownership unless running as root
My puppet.conf looks like:
[main]
modulepath = /opt/puppet/modules:/usr/share/puppet/modules
masterlog = $logdir/puppetmaster.log
manifestdir = /opt/puppet/manifests
bucketdir = /opt/puppet/bucket
autoflush = true
logdir = /var/log/puppet
ssldir = $vardir/ssl
factpath = $vardir/lib/facter
vardir = /var/lib/puppet
rundir = /var/run/puppet
pluginsync = true
certdnsnames = puppet:< removed >
rep...
2007 Nov 11
4
puppetrun fails: "Certificates were not trusted"
...ce to ''puppet://$server/facts''
debug: puppetmasterd: Setting config to ''$confdir/puppetmasterd.conf''
debug: puppetmasterd: Setting node_name to ''cert''
debug: puppetmasterd: Setting user to ''puppet''
debug: puppetmasterd: Setting manifestdir to ''$confdir/manifests''
debug: puppetmasterd: Setting masterlog to ''$logdir/puppetmaster.log''
debug: puppetmasterd: Setting masterhttplog to ''$logdir/masterhttp.log''
debug: puppetmasterd: Setting manifest to ''$manifestdir/site.pp'...
2013 May 09
7
Are multiple environments broken in puppet?
I started getting the following errors from my puppet master:
> Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid parameter provider at /some/module/manifests/foo.pp
The module would vary, but the error was always the same. I started
googling, searching lists, etc. And turned up a whole bucket load of issues
that all seem related and are all unresolved:
2010 Jun 20
8
bringing puppet into production
Hi everyone,
I’ve been working on getting puppet set up for our systems for the
past week, and all has gone well in learning about writing manifests,
but now that I’m ready to set it into production, I realize that it’s
still unclear to me exactly how that’s supposed to go.
For instance, during testing it has always been that I manually
started and stopped puppetd and puppetmasterd on their
2010 Jun 17
5
Could not find class, code-blind
I''m troubled with a node-definition not able to resolve a class:
Could not find class rhnsd::common at /etc/puppet/manifests/nodes.pp:
8 on node X
Content of manifest/site.pp:
import "nodes.pp"
[...]
The layout of modules/rhnsd/ is:
|-- files
| `-- up2date-rhn
|-- manifests
| |-- client.pp
| |-- common.pp
| |-- init.pp
| `-- rhn.pp
A `cat'' from each
2009 Jun 10
10
puppet client looking for server puppet
...ketdir = /var//opt/csw/puppet/bucket
yamldir = /var//opt/csw/puppet/yaml
modulepath = /etc//opt/csw/puppet/modules:/usr/share/puppet/modules
masterlog = /var//opt/csw/puppet/log/puppetmaster.log
clientyamldir = /var//opt/csw/puppet/client_yaml
masterhttplog = /var//opt/csw/puppet/log/masterhttp.log
manifestdir = /etc//opt/csw/puppet/manifests
pluginpath = /var//opt/csw/puppet/plugins
factdest = /var//opt/csw/puppet/facts
authconfig = /etc//opt/csw/puppet/namespaceauth.conf
logdir = /var//opt/csw/puppet/log
ssldir = /etc//opt/csw/puppet/ssl
plugindest = /var//opt/csw/puppet/lib
factsource = puppet://mypup...
2013 Mar 06
0
"Cannot find definition Class" and "Could not find class" hiccups after manifest/module update - once for every agent
...8/puppet/util/command_line.rb:86:in `execute''
/usr/bin/puppet:4
Some facts about the environment this runs in:
puppet.conf (puppetmaster)
> cat /etc/puppet/puppet.conf
[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
modulepath = /opt/xxx/puppet/modules
manifestdir = /opt/xxx/puppet/manifests
manifest = /opt/xxx/puppet/manifests/site.pp
[development]
logdir = /opt/xxx/log/puppet
modulepath = /opt/xxx/dev/puppet/modules
manifestdir = /opt/xxx/dev/puppet/manifests
manifest = /opt/xxx/dev/puppet/manifests/site.pp
[agent]
classfile = $vardir/classes.txt
localconf...
2012 Aug 23
1
Puppet Agent VS User
...daptls = false
ldapuser = ""
lexical = false
libdir = /var/lib/puppet/lib
listen = false
localcacert = /var/lib/puppet/ssl/certs/ca.pem
localconfig = /var/lib/puppet/state/localconfig
logdir = /var/log/puppet
manage_internal_file_permissions = true
manifest = /etc/puppet/manifests/site.pp
manifestdir = /etc/puppet/manifests
masterhttplog = /var/log/puppet/masterhttp.log
masterlog = /var/log/puppet/puppetmaster.log
masterport = 8140
maximum_uid = 4294967290
mkusers = false
module_repository = http://forge.puppetlabs.com
module_working_dir = /var/lib/puppet/puppet-module
modulepath = /etc/puppet/...
2013 Oct 08
4
'puppet storeconfigs export' killed
...;'File[/var/lib/puppet/ssl/private]{:path=>"/var/lib/puppet/ssl/private",
:mode=>"750", :owner=>"puppet", :ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false}''
Debug: Using settings: adding file resource ''manifestdir'':
''File[/etc/puppet/manifests]{:path=>"/etc/puppet/manifests",
:ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}''
Debug: Using settings: adding file resource ''masterhttplog'':
''File[/var/log/pupp...