Scott Beardsley sc0ttbeards...@gmail.com writes:
I was slightly surprised to see that there is no gateway fact.
Er, this fact is mostly unhelpful: there is no gateway — there are
zero-or-more gateways, depending on the route on the server, which may or may
not get used to communicate to any
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
distid = Facter.value('lsbdistid')
if distid.match(/RedHatEnterprise|CentOS|Fedora/)
sidenote: you can use confine for such things.
[...]
I can see the fact on the client node (but only if I add --puppet):
# facter --puppet|grep
Hi
I have the following module for installing HP software on HP Servers:
class hpasm {
tag('hpasm')
$packagelist = [ hpasm, hpacucli ]
if ($manufacturer == 'Xen') or ($manufacturer == 'Sun
Microsystems'){
}
else {
file { /opt/compaq:
owner = root,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
But this should not be. Has Puppet problems, when I have serveral
words in afact, since it works perfectly for Xen Systems.
as far as I can see not:
$ cat foo.pp
$manufacturer1 = 'Xen'
if ($manufacturer1 == 'Xen') or ($manufacturer1 == 'Sun
I've seen cases where there were white spaces at the end of the fact name,
double check your facts yaml file on the master
(~puppet/yaml/facts/hostname)
Ohad
On Tue, Apr 20, 2010 at 2:39 PM, Rene rene.zbin...@gmail.com wrote:
Hi
I have the following module for installing HP software on HP
Hi
You saved my day. Actually there was a lot of white space :-) Now my
module looks like:
...
if ($manufacturer == 'Xen') or ($manufacturer == Sun Microsystems
){
...
Thanks a lot for the great Tip!
BR, Rene
On Apr 20, 8:54 am, Ohad Levy ohadl...@gmail.com wrote:
I've seen cases where there
You saved my day. Actually there was a lot of white space :-) Now my
module looks like:
imho this shouldn't be, can you file a bug?
cheers pete
--
You received this message because you are subscribed to the Google Groups Puppet
Users group.
To post to this group, send email to
its http://projects.reductivelabs.com/issues/3008 and fixed in
http://github.com/reductivelabs/facter/commit/356cf15a72027773d38db5ef74e6861345e32b56
Ohad
On Tue, Apr 20, 2010 at 3:38 PM, Peter Meier peter.me...@immerda.ch wrote:
You saved my day. Actually there was a lot of white space :-)
...found it by myself. Anyway it may be helpful to others.
A 64 Bit mysql-server accessed by 32bit libmysqlclient.so did not work
in my case at least when both reside on the same machine.
Have build now mysql 5.1 latest stable as a 32bit executable and all
is doing fine .
By the way - the shipped
Sukh Khehra wrote:
I have a need to audit user accounts on all of my puppet clients.
Essentially, I need to collect the password and shadow file from all of
my clients to one central location and analyze them. How would someone
do this using puppet. Is there any mechanism to ship files to the
Hi all,
I am trying to install dashboard 1.0.0rc1. Independantly if have
manually installed authlogic - gem or not it is throwing the following
trace. The problem is the same when I am resetting (rake db:reset) or
dropping the database.
any ideas?
best regards
Lutz
bash-3.00# rake install
(in
On Apr 19, 8:05 am, Dan Carley dan.car...@gmail.com wrote:
It's possible with inline_template():
dan.car...@jim ~ $ puppet
$a = 1
$x = a
notice(Bad:, inline_template(%= x %))
notice(Good:, inline_template(%= $x %))
^D
notice: Scope(Class[main]): Bad: a
notice: Scope(Class[main]): Good:
I want to be able to add users to machines and have those users add to
the correct groups for each machine type.
I want to have a single file with the users and their key and then
call that file and pass in the correct primary group and any other
group membership of that particular server.
What
Hi all
Word of warning. Puppet newbie.
I have tried something similar to this for trying out user management.
http://serverfault.com/questions/58790/how-can-i-have-puppet-deploy-ssh-keys-for-virtual-users
This works, but not the way I really wanted. I would like to realize a
user and the have a
On Apr 19, 10:09 pm, Daniel Pittman dan...@rimspace.net wrote:
So, a simple gateway fact is essentially meaningless for our network; this
is probably true of at-least-some machines on at-least-some large networks.
(So, while your fact is meaningful, it isn't a generic gateway fact :)
snip
The way I did it was to realize the user, then realize the sshkey and
then realize something else. I just want a nice package where I can
say:
class user::ops inherits user::virtual {
realize(
User[bill],
User[richard],
)
}
class
You shouldn't need the 'before' in the 'iptables' resource. Not quite
sure why its not executing, but how about this ...
http://github.com/kbarber/puppet-iptables
Its a mod to the camptocamp code. It persists iptables with iptables-
save without requiring an external exec notify. It also stores
Hey all,
I am happy to announce the release of the supervisor module
(http://github.com/plathrop/libpuppet-supervisor); used to configure
the excellent daemon control tool supervisor
(http://supervisord.org/). Digg has packaged supervisor for Debian and
made the package available at
My Debian packager just corrected me; we didn't package supervisor, we
just back-ported it for Lenny.
On Tue, Apr 20, 2010 at 3:41 PM, Paul Lathrop p...@tertiusfamily.net wrote:
Hey all,
I am happy to announce the release of the supervisor module
Perhaps something like?
@user {bob: ensure = present }
User| title == bob | { gid = users }
A mention of the | foo | syntax is here:
http://projects.puppetlabs.com/projects/puppet/wiki/Virtual_Resources
The doc doesn't show the {} parameter block ... I believe this was
mentioned in errata or a
+1 on solution Marc.
The nuisance with this solution is that you cannot have more than 1 ssh
key ...
my::user {...:
...
key = ...,
key2 = ...,
key3 = ...,
key4 = ...,
...
}
Yuck :-).
ken.
--
You received this message because you are subscribed to the Google Groups
Puppet Users
If you're using passenger, you won't get a masterhttp.log; that's from webrick.
I've noticed the logging to a '--logdest=file' is buffered with a pretty giant
buffer, which can be extremely annoying/confusing because it looks like nothing
is happening.
You can either set 'autoflush=true' (but
Hey Guys,
I am also happy to announce the availability of our Cassandra module:
http://github.com/plathrop/libpuppet-cassandra
This is a pretty simple module, and won't get you 100% of the way to
building a Cassandra cluster, but it should take care of the low-level
stuff so you can focus on
Is there a mechanism in puppet to clean up data in the filebucket after
a period of time or do I need to create my own cleanup cron?
--
You received this message because you are subscribed to the Google Groups Puppet
Users group.
To post to this group, send email to
On Wed, Apr 21, 2010 at 1:39 AM, Jamaludin Ahmad jamalu...@gmail.com wrote:
On Tue, Apr 20, 2010 at 9:48 PM, Andrew Heagle logaan...@gmail.com wrote:
When you are using LDAP and puppetrun, you do not do puppetrun --host
hostname..., instead you use puppetrun --class myclass ... This
will
On Tue, Apr 20, 2010 at 9:48 PM, Andrew Heagle logaan...@gmail.com wrote:
When you are using LDAP and puppetrun, you do not do puppetrun --host
hostname..., instead you use puppetrun --class myclass ... This
will find all the hosts in your LDAP directory with puppetClass:
myclass, and
But I don't see that exec being called. Nor do I see any attempts at
calling it. (I've even been testing with the command set to false)
Anyone know what's up with this, or have another suggestion for
generating such a list?
Actually - this smells like a scope thing.
What scope did you define
I can't see one. 'tmpwatch' is probably your friend (or the tidy
puppet resource). However ...
It might be more suitable to delete on a policy. ie. delete everything
but the last backup ... Not sure how important that might be to most
people.
I'd say at least a timed cleanup is a worthy feature
Hi,
Just a survey how you guys model different aspects of your systems. I
mean: in my world every node is determined by 3 factors:
- role in the datacenter (like www-server, workernode, db-server,
etc.)
- website membership (I run several different websites with different
webserver configs, db,
Most people will use a node classification tool. In my specific case
I use a combination of a node classifier, and standardized DNS naming
conventions. For hardware related items, you have custom facts,
dmiedecode etc etc. Really you will always hit the one-off bug of a
system when it
donavan dona...@desinc.net writes:
On Apr 19, 10:09 pm, Daniel Pittman dan...@rimspace.net wrote:
So, a simple gateway fact is essentially meaningless for our network; this
is probably true of at-least-some machines on at-least-some large networks.
(So, while your fact is meaningful, it isn't
if distid.match(/RedHatEnterprise|CentOS|Fedora/)
sidenote: you can use confine for such things.
I'll look into confine. Incidentally this is my first fact and I stole
most of it from the puppet docs.
right, that might be related to a known bug. but that shouldn't affect puppet.
32 matches
Mail list logo