Displaying 20 results from an estimated 300 matches similar to: "Template in site.pp"
2012 Dec 18
4
site.pp referring to other manifests without modules
Hi all,
I want to do some code reuse, and modules seem overkill. Is it possible to
have something like this?
A file called myuser.pp
class myuser {
user {...}
file {...}
...
}
Then in site.pp have this:
node ''foo.example.com'' {
include myuser
.. other things ..
}
node ''bar.example.com'' {
include myuser
.. other things ..
}
When I try this,
2005 Jun 10
1
Unusual permissions problem
Hello,
I have an issue with samba-3.0.10-1.fc3 permissions.
The situation is this:
I have a client that wants one user to have write permission to a directory, but a GROUP of users to have read access. Simple,
right? First, I set up the directory structure per Linux:
(According to the samba guide, it's more efficient to use sticky bits on the directory instead of using the force user
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
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.
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
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 ~%>
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
2013 May 07
2
Modules doesn't work from puppet agent.
Hi all,
I think i''m forgetting something.
If i do: "puppet apply manifiests/site.pp" it works perfectly, loading
modules i have include in site.pp file.
site.pp:
cat manifiests/site.pp
node default {
include ntp, motd
}
But it does not work if i run puppet agent.
puppet agent --test --server=debianita.user.arinso --environment production
Info: Retrieving plugin
Info:
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
2000 May 19
3
Windows ACM Driver
during the last weeks I was playing around with Windows ACM codecs. These
drivers allow the use of audio compression algorithms in Microsoft Windows
Apps like Goldwave or the Microsoft Audio Tools (e.g. for streaming). At the
moment this code is in a very early stage, only some houskeeping
functionality is finished at the moment. But I think it should be possible
to implement this thing without
2009 Sep 08
7
Puppetmaster be client of another puppetmaster?
Is is possible to have a puppetmaster that is a client of a different
puppetmaster? We manage our customers'' server via puppet, 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]
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
Hello All,
So I finally got around to start to cut over node definitions
from standard flat files to external nodes (foreman), and getting
error message: "Error 400 on SERVER: Could not find node ''nodename'';
cannot compile" - So basically it can''t pick up the node from the
external node config.
When I test the fetching of the yaml file it seems to work
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
--
2006 Oct 13
2
EAC + FLAC bitrate question?
This is more of an EAC question, but I have not yet received an answer from
my post on that page. Since they are closely related I thought I would give
it a try here.
I just bought a BIG stack of CDs (70+) and decided to recheck all of my EAC
(beta 4) + FLAC (1.1.2) settings prior to ripping and encoding them. I also
calibrated a new external Plextor CD-ROM too.
The setting string I use in
2012 Jun 20
4
Puppet Configuration - Running --configprint generates long list of values
Hello all,
I fairly new to puppet and google groups so I''ll apologize in advance for
not conforming to "normal" posting methods.
I''ve recently installed puppetmaster on a fresh copy of Ubuntu 10.04LTS and
after running: sudo puppet --configprint all, I get a long list of
parameters and values echoed back to my shell. My question is where do
these parameters and
2010 May 03
1
Simple issue with templates.
Hi all,
My brain is now officially dead!
I have a series of modules that have 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
2010 Dec 14
11
Configure firewall with Puppet
Hello Everybody,
We need to open some ports on the target machine, let''s say
694:udp and 3306:tcp
I couldn''t find any documentation how can I do this with Puppet. What
the best way of doing this?
Thank you
Dmytro
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2009 Sep 03
2
Problems with puppetd on ubuntu server
If you install puppet from the ubuntu 9.04 repositories (apt-get
install 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]