Displaying 20 results from an estimated 2000 matches similar to: "puppet resource for group"
2011 Jun 30
4
using memorysize fact in manifests
Hi,
I want some config depending on memorysize.
What I tried was
if ($memorysize >= 256 * 1024*1024) {
...
}
But this fails because $memorysize is a string (and contains a "G") and can''t be
compared to an int.
Are all facts strings? How do I work with numbers?
regards, Andreas
--
Andreas Kuntzagk
SystemAdministrator
MDC Berlin / BIMSB
Tel.: +49 30 9406 2997
--
2011 Oct 18
2
puppet-foreman
Hi,
I created a centOS6 EC2 instance last night and ran the foreman puppet module but it came back with a few years. Was hoping somebody could help me understand these errors.
[root@ip-10-170-77-129 config]# echo include foreman | puppet --modulepath /root/puppet-foreman/
err: /Stage[main]/Foreman::Config::Enc/File[/var/lib/puppet/yaml/foreman]/ensure: change from absent to directory failed:
2011 Jun 17
5
ssh_authorized_key and NIS user
Hi,
I have this resource definition:
ssh_authorized_key { "nagios@login2":
key => [REDACTED]
user => "nagios",
type => "ssh-dss",
require => Service[''nis''],
}
This nagios user comes from NIS, yp.conf and nsswitch.conf are handled by puppet
and configured before the key. I still get an "User does not
2007 Nov 23
3
webserver setup
Hi,
I have setup a webserver on CentOS 4.5 with NameVirtualHost.
Two VirtualHost should be reachable by port 80 from outside, while the
third (default) should be only reachable by https from outside but by
http from inside.
Since all share the same IP firewalling seems to be out of question. So
is there a way to restrict that in Apache config?
regards, Andreas
2007 Dec 04
2
backup / compressed copy
Hi,
I think about buying a NAS-server from Sun. To backup this server I want
to use our central to-tape backup. For whatever reason ppl are asking me
to make one compressed copy to disk and only backup this copy.
So to reduce load I'd like to have a script that:
identifies changed files only (using md5?)
copies them
and compresses them
storeBackup.pl does something similar, but keeps
2011 Dec 15
2
time issue with puppet
Hi,
I have the following manifest that basically syncs the time for nodes really out of sync and ntpd can''t drift the time back fast enough.
The problem is that when puppet executes the catalog, and puppet changes the time, puppet never finishes because it can''t calculate the "run time" since puppet changed the time during the puppet run.
Is this a bug? Should I do
2011 Apr 21
6
ssh_authorized_key fails when home directory doesn't exist
Here is my situation:
1. We use Active directory (LDAP) to store all user info which is retrieved from linux
2. A home directory is not created until the first time the user logs into the linux system
I am using the ssh_authorized_key type to push out my ssh keys to every system. However, because I haven''t logged into every system at least once. Puppet errors out due to a missing
2011 May 02
2
exec resource: negate onlyif condition
Hi,
today I''m stupid. How can I negate the test for execs onlyif?
I want to run the exec onlyif command returns 1.
regards, Andreas
--
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
2011 Mar 22
25
RFC: Splitting up the file{} type functionality.
The file{} type can do all of the following:
* manage single files
* manage directories
* manage symlinks
* manage recursive file copies
The intersection of all these bits of functionality makes it difficult
to understand exactly what is going on when you''re new to Puppet, and
even experienced users often don''t know how combining symlinks/content
management is going to work.
2011 Jun 09
6
Prerun, Postrun Commands, and Stages
Hi all,
I''m looking for background information about how bug #7127[1] should
be fixed: prerun_command don''t stop puppet on error
I think there''s general agreement that if the prerun command fails,
then the catalog should not be applied, but the report should be sent,
and the report''s status should be "failed".
However, what about the post-run
2010 Jun 09
6
Input sought on changing default vardir on OS X.
0.25.5 changed the default vardir from /var/puppet to /var/lib/puppet
and it''s caused the odd issue we have to fix in the Mac pkg
preflights.
After re-reading ''man hier'' I''m tempted to change the default on OS X to:
/var/db/puppet
instead.
/var/ multi-purpose log, temporary, transient, and spool files
...
2002 Nov 13
6
IP Forwarding
Hi,
I''m trying to get RAdmin [uses tcp 4889] access to my Windows machine
which is behind my firewall.
I have zones:
gbl : the world
loc : my lan
fw : firewall
I placed the following in my rules file
DNAT gbl loc:192.168.0.2 tcp 4889 -
When trying to RAdmin I get a cannot conect to server error.
192.168.0.2 is my Windows Machines IP address.
Can anyone help me?
Shorewall 1.3.9b
2000 Oct 16
2
ssh2 authentication and ip forwarding
I'd been hoping to move all of our site to ssh protocol 2 whilst we are
still small enough to do this without serious pain, however the lack of
authentication and connection forwarding is making that difficult at
present.
I see the current (2.2.0p1) code base does not have the code on either
client or server side for ssh2 to handle tunneled connections or
authentication agent. Is this
2011 Jan 07
4
facter --puppet does not report "environment"
Is it normal that "facter --puppet" does not show the environment
variable? is there a way to have it include it?
Thanks a lot,
Mohamed.
--
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
2020 Mar 11
2
XCore target
Hello all.
At XMOS we are working towards updating the upstream XCore backend for newer versions of the chip.
XCore is the XMOS processor. The XCore backend was written by Richard Osborne at XMOS. Richard has moved on. The current code owner in CODE_OWNERS.TXT, Robert Lytton, has also moved on.
For some years XMOS has developed the compiler in-house, for new versions of the chip, but not
2010 Dec 14
7
Environment specified by external nodes ignored
My custom external nodes script sets the environment variable, but Puppet
ignores it.
For testing, I have a manifest that deploys this template to a file:
environment = <%= environment %>
The output from my external nodes script:
---
classes:
- devhost
environment: development
parameters:
memcached_memory: ''32''
But running "puppetd --test" results in the
2004 Sep 27
8
Complete newbie seeks start . . .
Hi ..
I've just received in the post my Wildcard card with a single FXO and
three FXS daughter cards.
I've identified a dedicated PC to function as the * machine and
installed the card. I've installed Fedora Core 2 on that machine.
I've downloaded the * software and the zaptel drivers.
And now, to be quite honest, I haven't got much of a clue what to do next!
I've
2006 Feb 05
6
WinRAR.exe errors
I had instaled winrar3.51 and I get this errors:
fixme:actctx:CreateActCtxW stub!
err:rebar:REBAR_AdjustBands Phase 1 failed, x=692, maxx=-4, start=0, end=0
err:rebar:REBAR_AdjustBands Phase 1 failed, x=692, maxx=-4, start=0, end=0
err:rebar:REBAR_AdjustBands Phase 1 failed, x=40, maxx=-4, start=1, end=1
err:rebar:REBAR_AdjustBands Phase 1 failed, x=692, maxx=-4, start=0, end=0
2011 Jun 10
11
cannot manage home directories
user {''username'':
uid => 501,
gid => ''staff'',
comment => ''comment'',
ensure => present,
home => ''/Users/sysop'',
shell =>
2005 Apr 26
3
dovecot stopping - no messages
Greetings
Running Fedora Core 3 and dovecot-0.99.13-3.FC3 as a production mail
server for around 30+ accounts.
A couple of times a day dovecot just stops.
Nothing in the mail log except for
Apr 26 00:48:19 sydsrv05 imap-login: Can't connect to auth process at
default: Connection refused
It's got to the point that I have put a script into cron.hourly to
restart the dovecot service