Displaying 20 results from an estimated 3000 matches similar to: "Simple issue with templates."
2010 Oct 22
15
Accessing Facter in other languages than Ruby?
Hi all,
We''re writing a few scripts at the moment that could really make use of
Facter, however the vast majority of them team (including my self!) are not
proficient in Ruby, however they are highly proficient in other languages such
as (dare I say it!) Python.
Is there (or are there any plans to!) release bindings for other languages to
enable facts to be used in scripts other
2010 May 04
5
mcollective scalability
I''ve been thinking a lot about running mcollective on my production
servers recently, especially about its nice integration with puppet
(using facts and so on). However I''ve got some concern about its
scalability - how publish/subscribe middleware scales in terms of
speed and flooding the network. I run about 2000 servers. Has anyone
got any experience running mcollective on
2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
Hi all,
First off, we''re running Puppet 2.7.6 with Ruby 1.8.7 on CentOS 6.0.
Now, I''m using tildes in a template to prevent newlines from appearing but
ruby/puppet is choking on them.
*/tmp/puppet$ cat test.erb*
Line 1: Line 2 will exist if running on CentOS.
<% if operatingsystem == "CentOS" ~%>
Line 2: Yay, we''re running CentOS.
<% end ~%>
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
2008 Jun 11
1
Squid/ntlm_auth issues with two user accounts (all other accounts on the domain work).
Hi all,
I have just installed and configured a squid setup authenticating
against Active Directory using kerberos tickets and have achieved the
holy-grail of IT - Single Sign On!
The problem is that I have two users for whom is does not work.
The ntlm_auth logs show that for users that are properly authenticated
against squid we get the following (Usernames/Domains/Hosts have been
changed for
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
Hi,
When I run puppet agent --test --environment 42A, I have the following
warning :
Warning: Local environment: "42A" doesn''t match server specified node
environment "production", switching agent to "production".
...
The puppet manifest for the environment "42A" isn''t applied.
The puppet version is 3.3.1-1puppetlabs1 on agent and
2006 Sep 01
5
templates and require
Thanks everyone for your quick responses to my questions.
I''m trying to get templates working. I want to pull the template down
from the puppet server, then use it. It looks like the require
parameter is not being enforced when using the content parameter so the
template can''t be found.
This doesn''t work:
file { "/etc/lighttpd/lighttpd.conf" :
2008 Sep 04
8
Potential new puppet user: two questions
Hello,
I am examining whether puppet meets our needs. I can''t find the answer
to two questions I am looking to answer, hopefully someone can help.
1. Can puppet be used to manage different classes of the same
computers, e.g. do something on the apache test farm, if it works then
do it on the apache live farm; and is this done cleanly?
2. How are package updates (e.g. yum update/yum
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
2013 Apr 12
17
MCollective and Puppet with periodic runs disabled
Hi,
I have looked all over the place and can''t seem to find a complete answer
to my query
I am setting up MCollective to run alongside my puppet deployment and am
having some problems getting it to play as I want it to
Basically, I need to make sure that puppet NEVER makes any changes without
them being triggered by someone (I honestly can''t see how anyone would ever
want
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.
2010 Jul 27
2
Catching failure with templates
So, I’m using templates for the first time and I wanted to test the case where the values used by the template don’t exist. I get an error like this:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template slapd_replication.erb: Could not find value for ''slapd_consumer_rid'' at /etc/puppet/manifests/experimental/services/ldap.pp:141
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
2010 Nov 02
2
Using DNS in pxelinux.cfg
Hi all,
First time here, so please be gentle! :)
I'm trying to configure a system that will pxeboot and retrieve a
kickstart file from a server based on that host's macaddress as part of
my Edison project[0] however I'm having issues getting the dns lookup to
work and I'm hoping you can help!
My pxelinux.cfg/default file is as follows:
=======================
default linux
2007 Nov 15
1
Yum update fails
I updated my centos 4.5 server to centos last week and I am now getting
errors when I attempt to do a yum update:
[root at AJD-slag ~]# yum update
Loading "installonlyn" plugin
Plugin "fastestmirror" uses deprecated constant TYPE_INTERFACE.
Please use TYPE_INTERACTIVE instead.
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
update
2018 Feb 14
0
CentOS 6: Yum downloadonly changes local source repositories (and CentOS 7)
For what its worth, I managed to get around the problem with a small
patch on yum itself:
--- ORIG/usr/lib/python2.6/site-packages/yum/yumRepo.py 2017-03-22
05:32:26.000000000 +0000
+++ NEW/usr/lib/python2.6/site-packages/yum/yumRepo.py 2018-02-14
09:14:04.879902463 +0000
@@ -863,6 +863,7 @@ class YumRepository(Repository, config.R
text=text,
2008 Apr 10
2
uninitialized constant Puppet::Network::Handler::FileServer::AuthStoreError ?
Hi Folks, Just wondering what the above error means. I followed
the instructions in http://www.howtoforge.com/installing_puppet_on_ubuntu
and when I try to startup the server it fails with the error in the
subject
of this message.
I am running the server on Ubuntu/i386/gutsy. In particular,
# puppetmasterd --verbose --debug
debug: puppetmasterd: Setting logdir to
2010 Oct 25
0
Re: MCollective Client Languages (WAS Re: Re: Accessing Facter in other languages than Ruby?)
----- lists@truthisfreedom.org.uk wrote:
> We have a team of system administrators within our organisation who love the
> look and power of MCollective but are currently "unable" to utilise it fully
> as they don''t know ruby (for some reason Python is the language of
> choice here!).
>
> I''m writing a new web interface for our change management