Displaying 20 results from an estimated 900 matches similar to: "Class dependency question"
2008 Jun 06
8
useradd provider not working?
I have this config:
# BL00070 - Disable NFS
service {["nfs","nfslock","netfs","portmap"]:
ensure => stopped,
enable => false,
}
user {"rpc": ensure => absent, provider => "useradd" }
user {"rpcuser": ensure => absent, provider => "useradd" }
file
2008 Jun 04
1
I am doing something wrong....
OK... I have relaid out my puppet dir as recommended in best
practices:
[jleggett@binford puppet]$ find . -print | grep -v .svn
.
./plugins
./plugins/lines.pp
./files
./files/module
./files/module/SSH
./files/module/SSH/ssh_config
./files/module/SSH/sshd_config
./files/module/INFO
./files/module/INFO/motd
./files/module/INFO/issue
./files/module/NIS
./files/module/NIS/nsswitch.conf
2008 Jul 01
6
OpenVZ configuration of networking with puppet - big crash
I am trying to streamline the current distribution specific setup and
creation of VE''s within OpenVZ with puppet. My first attempt has gone
horribly wrong as you will see below. Here''s the script I wrote to
replace the redhat specific setup that OpenVZ used:
[jleggett@lxp6d15m3 scripts]$ cat redhat-add_ip.sh
#!/bin/bash
#
# Debug - take out later
set -x
2008 Aug 25
2
package name AND VERSION needed for passing to yum?
this snippet:
package {ovzkernel:
source => $hardwaremodel ? {
"x86_64" =>
"ovzkernel-2.6.18-53.1.19.el5.028stab053.14.x86_64",
default =>
"ovzkernel-2.6.18-53.1.19.el5.028stab053.14.i686"
},
ensure => installed,
provider => yum,
require =>
2008 Jun 12
5
Puppet Demo at ETRADE
I had some questions come up today during the Puppet demo here:
1. Is there any way to apply different intervals to different
classes? For example, we might want a security baseline manifest to
run once a month, package installation files once/day, etc. Since
we''re a brokerage, we also don''t want ANY system changes during
trading hours. I guess we could cron killing the
2009 Feb 25
2
gem install mysql --> Error
Hi,
When I try to install "gem install mysql" it throwing error.
For your ref,
bash-2.05b$ gem install mysql --
--with-mysql-dir=/opt/etrade/p6/share/mysql5
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: could not find gem mysql locally or in a repository
bash-2.05b$ gem install mysql --
--with-mysql-config=/opt/etrade/p6/share/mysql5/bin/mysql_config
2008 Jul 08
12
ANNOUNCE: Facter 1.5
Hi all,
I''ve finally gotten around to releasing Facter 1.5.
As the version bump implies, this is a relatively significant release
(for a 2.3k line program, anyway). Mostly, the biggest change is
refactoring the code internally so that all of the functionality is
split into separate classes in separate files.
Also, the facts are all loaded on-demand, which provides dramatic
2007 Nov 08
7
Best practice for users/groups on solaris
Hi all, I''m a new puppet user and I''m running into some weirdness
around creating users on solaris. (puppet version 0.23.2)
The virt_all_users way of managing users seems pretty reasonable, but
I don''t see how to deal with user specific groups with that.
I have:
class virt_all_users {
@user { "seph":
ensure => "present",
2008 Nov 10
10
Appending a file to an existing file
Hi,
I have a template file which I would like to append to an existing
file (in this case I wish to add a few lines to /etc/motd). Unless
I''ve missed it, it does not appear that file has an append option. Is
there an easy way copy to the end of a file
Thanks
Paul
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2007 Jul 01
5
Mount and fstab problems with large devices?
I''m trying to get a new file server managed by puppet from day 1, at
least as much as possible. At the moment, though, there''s two issues I''m
running into:
1. fstab should have entries for my comically-large RAID, but doesn''t.
2. each puppet run appears to remount the RAID, even when no rules in
the manifest change.
I suspect the issue may be in parsing
2007 Nov 20
5
Solaris 10 Jumpstart instructions on the wiki now
Not that I''m much of a Solaris guy, and definitely not a Solaris 10 guy,
but since nobody else had posted anything yet:
http://reductivelabs.com/trac/puppet/wiki/PuppetSolaris#Solaris10
The good news is that it appears to be a completely hands-off puppetd
installation. Just sign the client key afterwards on the puppetmaster
and you''re set. The bad news is that it''s
2007 Nov 13
2
new to puppet - can puppet push its content to remote servers?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I was made aware of puppet a few weeks ago and I really like the way
things are working.
What I liked at cfengine was the capability to push content from the
central server to any node. There was no need to open a port from DMZ or
any other remote system to the central server.
Is there a similar way within puppet?
How is this solved by other
2009 Apr 26
5
Factor questions
Hello,
I''m new to puppet and facter. Initially we are planning on using
facter/puppet to inventory machines (Mac, Ubuntu, and RHEL). We plan
on writing a number of custom facts. Obviouly some of the facts will
only be specific to some OSs. I know there is a "confine" method, but
it confuses me. It seems the confine statement in some of the recipes
and in the Turnbull book is
2007 Nov 12
2
How to keep several puppetd in sync at the same time ?
Hi,
I''m still writing my djbdns module, I came to the following design issue
with master and slave tinydns.
Normally there is no such master and slave distinction in djbdns: all
tinydns instance are equal. Usually one instance on one host is
considered the master on, which the RR are changed, and when you need to
propagate them, you rsync the datas to the other hosts, where they will
be
2007 Dec 04
10
Using puppet to manage user access to servers.
I''m guessing this is a common use case, but I wasn''t able to find
anything in the site FAQ. We''re looking at using Puppet on about 100
servers to control which user groups have access to which servers.
The use case is as follows:
We have Groups of servers, for example:
CUSTOMERservers (serverA, serverB, ...,serverK)
ADMINISTRATIVEservers
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
2007 Jun 08
5
Help needed with a basic recipe
Can anyone point me to a "Writing Puppet recipes for Dummies" doc?
I''m trying to do a basic probe using lspci to see if I have a Qlogic
HBA installed on the machine, and if so, install the Qlogic scli
package.
Here''s a shell script of what I''m trying to do:
#!/bin/bash
vendor=1077 # QLogic
model=2422 # 24xx hba
/sbin/lspci -n -d $vendor:$model | grep
2008 Apr 04
3
Issues with mirroring directories with puppet
It''s my understanding that if a file exists under a directory on the
puppet client but doesn''t exist under directory on the puppet server
server and puppet manages that directory on the client, that it won''t
delete that file on the client.
I''m trying to keep certain directories synchronized with the puppet
server,. It seems that the standard file operations
2008 Nov 20
9
create a file only if directory exists
I''m trying to create a virtual host file only if the document root
directory exists. It doesn''t look like puppet is seeing the require
metaparameter. Currently, the file is being created whether or not
the document root directory exists. What is the best way to currently
do this?
I''m trying to create a file called site1.conf in /apps/apache/conf.d
only if
2007 Jul 06
5
The puppet model
It seems to me that when you have a master server and a client
computer, the master doesn''t really need to know the implementation
details of the client computer.
It''s kinda like a browser from my perspective...the server is just
telling the browser what needs to be drawn on the local side.
Does the puppet model work like this? If not, I guess what I read
didn''t