Displaying 20 results from an estimated 20000 matches similar to: "useradd question"
2012 Mar 13
2
vhost creation with and without ssl
Hello,
I have this defined resource type which is working perfectly until I
want an ssl an http vhost pointing to the same directory in which case
the unique $servername variable became a singleton
Do you have any idea how to get around this? I am pretty tired at the
moment and cant think of any good solution.
define vhost ($servername = "${hostname}.${domain}", $serveralias = [
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
I have very strange problem. I set up puppet client on serveral
servers but have problem with one of them.
When I invoke:
root@www ~ # puppet agent --server puppetmaster.domain.ltd --test
notice: Ignoring --listen on onetime run
info: Caching catalog for puppetclient.domain.ltd
info: Applying configuration version ''1326444431''
notice: Finished catalog run in
2011 Jul 13
4
puppet manifest execution orders
I created manifest for our webserver. manifest included git clone,
database creation and restore database etc.... How to order the
installation and exec exactly
Roni
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
2012 Mar 15
3
using puppet to configure local settings
Hi,
I was asked by my boss if puppet can handle the following scenario.
- 2 server (A and B)
- same config for each server, eg. /etc/resolv.conf (nameserver
1.2.3.4)
- but B should have a local unique requirement of another nameserver
5.6.7.8
so, A will have
nameserver 1.2.3.4
but B will have
nameserver 5.6.7.8
nameserver 1.2.3.4
when we change the global nameserver 1.2.3.4 to 9.8.7.6, it
2010 Jul 29
1
Could not find resource type ...
Let me start by saying, I am a puppet rookie.
I am trying to get a passenger module working and receive the
following messages. I am trying to figure understand where the
''resource type '' should be? Or, defined? Is it another module that I
should included under puppet/modules ?
the message:
_________________
...
debug: importing
2007 Dec 20
5
Apache2 module -- feedback appreciated
Hey folks,
I''ve just uploaded an apache2 module[1] to our Google Code
repository[2]. It''s based largely on the recipe available on the
Puppet trac[3], but with a fair amount of modification and
generalization... Basically, it provides abstractions for config file
snippets, site definitions, and apxs modules -- and then "basic" and
"debian"
2007 May 22
4
Newbie: Am I looking at the right tool?
Hi,
I''m absolutely new to centralized server management, sorry sorry in
advance for any stupid remarks.
Looking on the puppet documentation, I mainly find a lot of info about
how to manage the config files, but nothing about centralized control.
So I''m wandering if I''m looking a the right software package for my needs.
I want to be able to do the following from a
2011 Oct 13
1
puppet apache module
I''m getting this and it isn''t applying my apache module. Is it because
of these warnings?
notice: Starting Puppet client version 2.7.5
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:8: warning: class variable access from
toplevel
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:9:
2006 Dec 01
3
"All resource specifications require names": wot?
Hi, everyone --
I downloaded puppet and have been playing with it. I''m using the RPM''s for RHE4 created by David (mentioned on the install page: http://people.redhat.com/dlutter/yum/rhel4/) with RHE''s ruby 1.8.1-7:
ruby-1.8.1-7.EL4.8
ruby-libs-1.8.1-7.EL4.8
ruby-devel-1.8.1-7.EL4.8
I''m sure this is an easy one; all the same, I''m stumped. Please
2009 Oct 20
11
Stuck with puppet
Hello a newbie here.
The situation is that:
2 machine one master one client
Puppet 0.24.5
This my configuration:
Client:
/etc/puppet/puppetd.conf
[puppetd]
server = Asus-Vista-Box
logdir = /var/log/puppet
vardir = /var/lib/puppet
rundir = /var/run
master
/etc/puppet/manifests/classes/sudo.pp
class sudo {
file { "/etc/sudoers":
owner => "root",
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
Hello Folks!
I am trying to learn puppet. Installed the puppet 3.0.2 and configured one
node as the master and the other as the client. Generated the certs and all
that. But, I seem to be doing something wrong wrt to the init.pp file.
Attached is exact error and my current server configuration. Any help in
helping me fix this issue is appreciated:
*[root@pupclient ~]# puppet agent --test*
2011 Jun 27
12
Ruby script to download files without 'puppet agent'
We have often the Problem that some files need to be checked for updates
faster than the cycle of the puppet agent. I try to solve this with a
script which tries to download the files directly from the fileserver of
the puppetmaster. So far i couldn''t get it to work.
I don''t know if i got the URL right, i did not find any examples on the
REST API documentation for the
2007 Mar 26
3
Basic help with imports and includes
Do any of you good people have a moment to help me out with my basic
Puppet language skills, I''m a little new around here and getting an error
I don''t yet understand.
I have an RHEL4 Puppetmaster happily controlling the permissions of
/etc/sudoers on an RHEL5 and SolarisX86 client.
My actual environment consists of several systems in several locations.
All systems need the
2007 Sep 28
3
Host groups config in puppet & User Management.
Hi,
I have installed Puppet puppet-0.23.2-1.el4 &
puppet-server-0.23.2-1.el4.
Now trying to configure. I have a basic config which changes the sudo
permission of the file.
Currently I am using the puppet server as client. Now I wanted to add
all my hosts some linux some unix. So was looking for a config syntax
whioh can create groups.
Like IT = [ host-1, host2, shost3 ]
2012 Feb 06
3
Passing class parameters to hiera
I am using puppet 2.6.11 and want to pass parameter for implementing
sudo for mulitple users. So here is my simple code, which I would like
to pass to hiera to specify user name lookup. Appreciate any help,
thanks in advance.
class sudo( $name) {
#Class:: sudo
#
#
package { "sudo": ensure => present, }
file { "/etc/sudoers":
owner => root,
group => root,
2011 Apr 14
6
copying file with "source" parameter
Hi there,
Just started using Puppet since yesterday, so a totally newbie
question. I tried to search the answer by myself but none of the
suggestions actually worked. This is how my "modules" is laid:
|-- modules
| |-- mySudo
| | |-- files
| | | `-- sudoers
| | `-- manifests
| | `-- init.pp
The file(s), that I want to send to the client machines, is in the
2012 Oct 30
3
Could not parse for environment production: Syntax error at '{'; expected '}' at
Hi, ppl,
I m following the puppet cookbook tutorial. On page 167 to 169 Managing
Apache Servers. When I add the:
apache::snippet { "site-specific.conf": }
I got the error of the title: Could not parse for environment production:
Syntax error at ''{''; expected ''}'' at /etc/puppet/manifests/nodes.pp:3.
Here is my manifests
node.pp
2012 Nov 28
3
Could not retrieve information from environment production source
I''m using puppet 3.0
i install puppet by these two command:
sudo rpm -i
http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-6.noarch.rpm
sudo yum install puppet-server
as
http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-red-hat-enterprise-linux-and-derivatives
and
2010 Oct 19
14
client won't use remote file bucket
Hi all,
I''m having a stupid moment getting a remote file bucket working. My
client only file buckets locally, not remotely.
I have this site.pp:
*********
filebucket { "main": server => "puppet" }
File { backup => "main" }
node ''default'' {
include test
}
*********
and this test module:
*********
class test {
file {
2012 Feb 22
4
Custom function issue
Hi,
I needed a function to check if a file is existing on the Debian box I
am configuring. So I used this one
module Puppet::Parser::Functions
newfunction(:file_exists, :type => :rvalue) do |args|
if File.exists?(args[0])
return 1
else
return 0
end
end
end
It work greats for some service where apache2 doesn''t work for me.
I am using it this way