search for: confdir

Displaying 20 results from an estimated 156 matches for "confdir".

2012 Jun 12
6
Trying to get tagmail to work
...ry. # 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 = /etc/puppet/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 '...
2012 Feb 22
1
Handling unique cases
Hello, Everybody! I need to allow my developers to run a special script on QA servers and nowhere else. I put this sort of thing in place: class app-server { packages: foo:; bar:; baz:; if $environment == ''qa'' { file { ''a'': content => ... } } which feels kinda kludgey to me. Is there a better way to handle unique cases like this
2009 Dec 30
4
yet another class dependency question.
...s what my module organization looks like. # egrep -i ''^\[|module|environment'' /etc/puppet/puppet.conf [main] environments = production,staging,development,testing environment = production [puppetd] environment = production [puppetmasterd] # environments [production] modulepath = $confdir/modules/production [staging] modulepath = $confdir/modules/staging:$confdir/modules/production [development] modulepath = $confdir/modules/development [testing] modulepath = $confdir/modules/testing:$confdir/modules/production # ls -1d /etc/puppet/modules/production/puppet /etc/puppet/modules/pro...
2009 Mar 23
4
how to override hostname
I am trying to test stand alone puppet manifests invoking /usr/bin/ puppet. Is there a way to override current hostname with some other value? I have tried with no success: FACTER_hostname=foo /usr/bin/puppet manifest.pp Regards, Thomas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group.
2001 May 08
2
Patch to update contrib/solaris package builder
...irgin/postinstall.in solaris/postinstall.in --- solaris.virgin/postinstall.in Mon Apr 23 17:03:58 2001 +++ solaris/postinstall.in Mon May 7 17:51:35 2001 @@ -89,6 +89,26 @@ else echo "Using existing DSA public/private host key pair for SSH-2." fi + if [ ! -f "${CONFDIR}/ssh_host_rsa_key" ]; then + echo "Creating new RSA public/private host key pair for SSH-2." + $INSTALLF $PKGINST ${CONFDIR}/ssh_host_rsa_key + $INSTALLF $PKGINST ${CONFDIR}/ssh_host_rsa_key.pub + ### If there is *anything* there then leave it, otherwise l...
2013 Mar 04
7
I moved my modules and manifest directory in puppet master.
...". WWhen I put the modules and 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...
2012 Aug 29
1
Puppet-Dashboard nodes showing up as unreported
...ry. # 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 [master] reports = store, http reporturl = http://us3sm2ppt001.comp.prod.local:3000/reports/upload [agent] # The file in which puppetd stores a list of the classes # associated with the retrieved configuratiion. Can be loaded in # the sep...
2013 May 07
2
Modules doesn't work from puppet agent.
...16628'' Notice: Finished catalog run in 0.02 seconds It is in the same host. pwd /etc/puppet/environment/production cat /etc/puppet/puppet.conf [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter templatedir=$confdir/templates server=Debianita.user.arinso modulepath = $confdir/environment/$environment/modules manifest = $confdir/environments/$environment/manifests/site.pp cat /etc/hosts xx.xx.xx.xx Debianita.user.arinso Debianita localhost -- You received this message because you are subscribed to the Goo...
2012 Jul 04
8
on puppet master server , puppet agent can't connect to itself
...ry. # 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''. certname = puppet.domain.com reports = store, http ,foreman reporturl = http://puppet.domain.com:3000/reports/upload modulepath = $confdir/modules manifest = $confdir/manifests/site.pp http_proxy_host = proxy.domain.com http_proxy_port = 8080 [dev]...
2007 Dec 03
3
certificate issue with Branch Testing
Hello All, I''m using the "Branch Testing" approach documented at https://reductivelabs.com/trac/puppet/wiki/BranchTesting and am seeing an issue with certificates. On all clients, I can run puppetd --masterport=8141 successfully but see the following error when I run against the default (8140) port: err: Could not retrieve configuration: Certificates were not trusted:
2011 Mar 08
3
classes.txt missing
...ry. # 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 # 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...
2013 Feb 01
11
Change the location of puppet.conf
Hey guys, Does anyone know how to change the location of puppet.conf? In my situation, I don''t want to store it under /etc/puppet/puppet.conf or ~/.puppet/puppet.conf -- I''d like to store it under /opt/puppet/puppet.conf in this example. Is there a method without having to symlink, perhaps with an environment variable like PUPPET_CONF=.... ? Thanks for your time, Jason --
2009 Jul 17
2
exim4 dovecot sasl problem
...emplate and reloaded exim4 with the update-exim4.conf command. i'm running debian lenny. here's the authentication section of exim4.conf.template: begin authenticators cram_md5: ? driver = cram_md5 ? public_name = CRAM-MD5 ? client_name = ${extract{1}{:}{${lookup{$ host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}}} ? client_secret = ${extract{2}{:}{${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}}} PASSWDLINE=${sg{\ ??????????????? ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}\ ??? ??????? }\ ??? ??????? {\\N[\\^]\\N}\ ??? ??????? {^^}\ ??? ???...
2013 Nov 01
1
Dynamic Environments, r10k, gitolite and Non-environment Puppet Config
...has been dealt with before, but I haven''t managed to find an answer yet. I have a working "dynamic environments" setup: * A gitolite repository (on a dedicated host) with multiple branches - one for each environment. * I use r10k ro deploy the environments on the master to $confdir/environments/$::environment. This all works *really* well, but I would also like to get the rest of the puppet configuration under version control (i.e. puppet.conf, hiera.yaml etc.). It''s no problem to put the files in a repo, but I''m stuck on finding a way to deploy them. I...
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
...ronment "42A" isn''t applied. The puppet version is 3.3.1-1puppetlabs1 on agent and puppetmaster node puppet.conf on the agent node : *[main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter templatedir=$confdir/templates pluginsync = true [agent] server = puppet report = true* ----------------------------------------------------------- puppet.conf on the puppetmaster node : *[main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/fact...
2013 Jan 20
3
(New To Puppet)Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class sudo for pupclient on node pupclient
...ult 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* *server=puppet* * * *[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.* *...
2011 Sep 08
2
Issues with environments not being respected
...tually using the main (master) environment. This used to work and I haven''t had any changes beyond a upgrade .. unfortunately I can''t recall the previous version although currently the master and agents are running 2.7.1. Here are the relevant files: puppet.conf -- [main] confdir = /etc/puppet manifest = $confdir/manifests/site.pp vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl modulepath = $confdir/modules [development] modulepath = $confdir/environments/development/modules manifest = $confdir...
2012 Jul 11
6
certname doesn't seem to work on the agent
...f the process # is running as root or the user that Puppet is supposed to run as, it defaults to a system directory, but if it''s running as any other user, # it defaults to being in the user''s home directory. # The default value is ''/etc/puppet''. confdir = <confdir> # Where Puppet stores dynamic and growing data. The default for this parameter is calculated specially, like `confdir`_. # The default value is ''/var/lib/puppet''. vardir = <vardir> # Whether to print stack traces on some errors trace...
2010 Jun 04
5
running puppet withput puppetmasterd
Hi, I''m pretty sure I once did some experiments with running puppet wihtout a puppertmasterd - but having a "normal" puppet manifests and modules structure in /etc/puppet. Sadly, I can''t find how to do that anymore. I know I can write plain puppet instructions in a file.pp and run them plainly - but I want the whole config as if it would reside on a server) When I
2007 Oct 30
1
puppet.conf sections
I''m a little confused by the configuration reference. 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...