Displaying 20 results from an estimated 72 matches for "templatedir".
2004 Aug 06
1
winnt32 v1.3.7 and templatedir?!
I'm trying to use icecast on WinNT as test platform for web applications and
while I can stream MP3's I cannot access admin interface online because for some
weird reason icecast ignores templatedir settings in configuration file,
reporting at startup:
[06/Dec/2001:16:26:30] ERROR: Could not find a suitable directory for template
files, something might be wrong!
Setting debuglevel to 6 produced following entries in icecast.log file:
[06/Dec/2001:16:28:51] [2:Calendar Thread] DEBUG: get_icec...
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
...for the environment "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...
2010 Apr 05
5
Problem syncing custom fact
I am trying to get a custom fact to sync. The fact is in a module. It
will sync if I run puppet with "--pluginsync" but not otherwise. I
have "pluginsync=true" in my puppet.conf. Shouldn''t the command line
option and puppet.conf option have the same results?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
...t, without them, blank lines are
still generated.
*/tmp/puppet$ cat test.pp*
class test {
file { "/tmp/puppet/test.out":
ensure => ''present'',
content => template(''test.erb''),
}
}
include test**
*/tmp/puppet$ puppet apply --templatedir=. test.pp*
/tmp/puppet/test.erb:4:in `result'': compile error (SyntaxError)
/tmp/puppet/test.erb:2: syntax error, unexpected ''~'', expecting kTHEN or
'':'' or ''\n'' or '';''
... operatingsystem == "CentOS" ~; _erbou...
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:
2013 Sep 11
6
Puppet ignores hiera completely
I''m not sure at all what''s going on here, but I''ve spent a lot of time
reading over the puppet hiera docs and setting everything up, but when I
run puppet agent it just seems to ignore the hiera setup completely.
Both the puppet master and agent nodes have exactly the same versions of
puppet and hiera (installed via the official puppet APT repository). I''ve
2012 Jun 14
15
Problem with Load Balancing Puppet masters with Apache mod_proxy
I have a single LB running Apache with mod_proxy in front of a Puppet
master. These are the LB and Puppet master configs:
<Proxy balancer://puppetmaster>
BalancerMember http://192.168.1.10:8140
</Proxy>
Listen 8140
<VirtualHost *:8140>
SSLEngine on
SSLCipherSuite SSLv2:-LOW:-EXPORT:RC4+RSA
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCipherSuite
2007 Sep 02
0
handling rc.conf / freebsd init scripts
...i saw that
some other people were asking about the best way to do this. i''d like to
share my solution. there might be a better way, but this is working
really well for me so far.
keep in mind that i use the following settings:
configdir = /usr/local/etc/puppet
vardir = /k/vol01/puppet
templatedir = $vardir/templates
my solution consists of a few .pp files and a template:
$configdir/manifests/os/freebsd.pp
$configdir/manifests/classes/bsdrcconf.pp
$configdir/manifests/nodes/host.pp (one for each host)
$templatedir/rc.conf.erb
---
and now the meat & potatoes:
::hostname.pp:: (keep in...
2008 Apr 10
2
uninitialized constant Puppet::Network::Handler::FileServer::AuthStoreError ?
...n particular,
# puppetmasterd --verbose --debug
debug: puppetmasterd: Setting logdir to ''/var/log/puppet''
debug: puppetmasterd: Setting vardir to ''/var/lib/puppet''
debug: puppetmasterd: Setting rundir to ''/var/run''
debug: puppetmasterd: Setting templatedir to ''/var/lib/puppet/
templates''
info: Starting server for Puppet version 0.22.4
info: mount[files]: denying * access
uninitialized constant
Puppet::Network::Handler::FileServer::AuthStoreError
where
# /etc/puppet/manifests/site.pp
# Create "/tmp/testfile" if it doesn&...
2013 May 07
2
Modules doesn't work from puppet agent.
...39;'1367916628''
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 t...
2012 Dec 19
3
Template in site.pp
Can I use a template in site.pp?
I have a templates directory in my /etc/puppet directory which has my
template, but i get this error message:
Wed Dec 19 09:19:23 -0800 2012 Puppet (err): Could not retrieve catalog
from remote server: Error 400 on SERVER: Could not find template
''server.xml.erb'' at /etc/puppet/manifests/tcuser.pp:52 on node
2009 Jan 07
0
Re: Noob - What means "Cannot access mount[plugins]" ? [SOLVED]
...all about.
Anyway, I changed puppet.conf to :
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
#pluginsync=true ############# next line is the one added
pluginsync=false
server=panoramix.perenip.lan
[puppetmasterd]
templatedir=/var/lib/puppet/templates
#templatedir=/etc/puppet/templates
... and then, I got rid of error messages
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources
during transaction: Cannot access mount[plugins]
To let others avoid this error message, would you say either :
1. plugi...
2010 Mar 09
0
puppetd --test
...r/sbin/puppetd:269
Here is the /etc/puppet/puppet.conf for the client
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=false
server=puppet-master.local;loc
environment=test
report = true
[puppetmasterd]
templatedir=/var/lib/puppet/templates
**Here is the /etc/puppet/puppet.conf for the master
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=false
environments=production,development,test
templatedir=$confdir/template...
2009 Sep 08
7
Puppetmaster be client of another puppetmaster?
...uppet, but one customer
has a puppetmaster server which looks after their internal systems. We''ve
tried the following in /etc/puppet/puppet.conf ("customer" and "us"
replacing the domain names) on their puppetmaster:
[puppetmasterd]
certname = puppetmaster.customer.com
templatedir=/var/lib/puppet/templates
[puppetd]
server = puppetmaster.us.com
certname = puppetmaster.us.com
When we run "puppetd -t" on that server, we get:
# puppetd -t
warning: Certificate validation failed; consider using the certname
configuration option
err: Could not retrieve catalog: Cer...
2010 Jun 28
4
Error 400 : could not find template
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
2010 May 03
1
Simple issue with templates.
...ave a tree layout as documented in the
"best practice" guide.
One of the directories I have is "templates" and in this directory I
have placed a template.erb file, however no matter how I refer to the
path in my init.pp, I cannot get it to include.
I''ve even set "templatedir" to /usr/share/puppet/modules (the module
dir) in /etc/puppet/puppet.conf but I keep getting the following error:
debug: Scope(Yumrepository[mcollective]): Retrieving template
puppet:///yumrepositories/templates/repo.template.rb
err: Puppet::Module::InvalidName
at /usr/share/puppet/modules/yu...
2009 Sep 03
2
Problems with puppetd on ubuntu server
...puppet) it sets up puppet differently than the gem. The
differences are obvious from the /etc/puppet/puppet.conf which looks
like this
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=true
[puppetmasterd]
templatedir=/var/lib/puppet/templates
When I run the command
puppetd --server my.server.com --waitforcert 60 --test
I get the following error
err: Could not request certificate: Certificate retrieval failed:
Permission denied - /etc/puppet/ssl/ca/requests/
ubuntu.panztel.local.pem
There is no /etc/pupp...
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
...dgraph,store
clientyamldir = /var/lib/puppet/yaml/node
pluginsync = true
external_nodes = /etc/puppet/external_node.rb
node_terminus = exec
[puppetmasterd]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
modulepath = $confdir/modules
templatedir = /etc/puppet/manifests/templates
#clientyamldir = /var/lib/puppet/yaml/node
reportdir = /var/lib/puppet/reports
storeconfigs = true
dbadapter = mysql
dbuser = app_puppet
dbpassword = xxxxxxxxxxxxxx
dbserver = localhost
dbsocket = /sql/mysql/mysql.sock
rrddir = /...
2012 Jun 20
4
Puppet Configuration - Running --configprint generates long list of values
...es come from? I''ve taken a look at my puppet.conf
file (which I believe is located in the proper place of:
/etc/puppet/puppet.conf) and it looks like this:
[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
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
Clearly these values of the ''''--configprint -all" comma...
2013 Nov 28
1
puppet-users-br err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=unknown sta
...}
service { ''ntp'':
ensure => running,
}
}
the File: / etc / puppet / puppet.conf the client is well
[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
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
server=puppetmaster
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_c...