On Feb 10, 2011, at 10:25 PM, John Warburton wrote:
> Curse GW Bush and his 'Axis of Evil' - my google searches are contaminated
> with hits to Korea, and other such fun...
>
> Does anyone have any experiences with puppet in the DMZ they can share?
>
> At my puppet master training (Hi Hunter),
Curse GW Bush and his 'Axis of Evil' - my google searches are contaminated
with hits to Korea, and other such fun...
Does anyone have any experiences with puppet in the DMZ they can share?
At my puppet master training (Hi Hunter), it was mentioned some people
compile their catalogs inside, then s
On Feb 10, 8:47 pm, Mohamed Lrhazi wrote:
> On a client, does facter show the fact:
>
As I mentioned above, facter runs fine on every client. In addition,
manifests compile as expected when they're served via webrick. This
situation only occurs when I serve via nginx/passenger.
--
You receive
On a client, does facter show the fact:
# facter | grep operatingsystem
On Thu, Feb 10, 2011 at 4:37 PM, windowsrefund wrote:
> operatingsystem
--
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@
On Wed, Feb 9, 2011 at 3:06 AM, Nigel Kersten wrote:
>
>
> This is actually my favorite way of doing things. A single default
> node that includes a single module "base" which then decides which
> other modules to include.
>
> This does work best if you distribute custom facts that provide more
>
On 8 February 2011 06:15, Ashley Penney wrote:
> I just upgraded the master, I was too lazy to do the nodes yet.
>
>
> On Mon, Feb 7, 2011 at 1:56 PM, Brice Figureau <
> brice-pup...@daysofwonder.com> wrote:
>
>> On 07/02/11 17:23, Ashley Penney wrote:
>> > Because I like to live dangerously I up
dragonfly said:
> I wish to have puppet copy a file to /etc/cron.hourly/ on target
> machines, however when puppetmaster attempts to build the catalog it
> complains about a syntax error in both nodes.pp as well as in the
> manifest init.pp for this class. I have experimented with various
> quotin
I wish to have puppet copy a file to /etc/cron.hourly/ on target
machines, however when puppetmaster attempts to build the catalog it
complains about a syntax error in both nodes.pp as well as in the
manifest init.pp for this class. I have experimented with various
quotings as well as escaping the
You could probably get away with using template or an inline template.
On Feb 10, 5:00 pm, windowsrefund wrote:
> On Feb 10, 3:59 pm, Forrie wrote:
>
> > Facter will display the values associated with network_* specific
> > settings. Shouldn't there be a way to display all connected (active)
Thanks a lot. Turns out I also had an actual whitespace after the "if tag" !!
On Thu, Feb 10, 2011 at 5:19 PM, Nan Liu wrote:
> On Thu, Feb 10, 2011 at 2:15 PM, Mohamed Lrhazi wrote:
>> I have this in a template:
>>
>> ===cut here=
>> # Allow ICMP traffic
>> -A RH
On Thu, Feb 10, 2011 at 2:15 PM, Mohamed Lrhazi wrote:
> I have this in a template:
>
> ===cut here=
> # Allow ICMP traffic
> -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
>
> <% if netbackup_master_servers %>
Suppress the new line with a -%>
<% if netb
On 10 February 2011 22:15, Mohamed Lrhazi wrote:
> I have this in a template:
>
> ===cut here=
> # Allow ICMP traffic
> -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
>
> <% if netbackup_master_servers %>
> <% netbackup_master_servers.each do |master_serve
I have this in a template:
===cut here=
# Allow ICMP traffic
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
<% if netbackup_master_servers %>
<% netbackup_master_servers.each do |master_server| -%>
# Allow communication with NetBackup master server <%= ma
Sorry am confused... it's end of day
This does seem to flatten my array:
$myarray = [ ["a","b"],["c","d"] ]
While this does not:
$myarray1=["a","b"]
$myarray2=["c","d"]
$myarray = [ $myarray1,$myarray2 ]
Thanks.
--
You received this message because you are subscribed to the Google Group
On Feb 10, 3:59 pm, Forrie wrote:
> Facter will display the values associated with network_* specific
> settings. Shouldn't there be a way to display all connected (active)
> networks in one command? For example:
>
> # facter networks
> 192.168.1.2
> 10.0.1.1
> 10.10.23.0
>
Sounds like it
Please ignore... was describing the wrong array... this var works as expected.
On Thu, Feb 10, 2011 at 4:44 PM, Mohamed Lrhazi wrote:
> I defined a var like so:
>
> $myarray = [ ["a","b"],["c","d"] ]
>
> Then in a template I tried something like:
>
> <% myarray.each do |element| -%>
> <%= elemen
I defined a var like so:
$myarray = [ ["a","b"],["c","d"] ]
Then in a template I tried something like:
<% myarray.each do |element| -%>
<%= element[0] %>
<% end -%>
It does not result in what I expect It seems as if myarray was flattened.
are multi-dimensional arrays supported?
Thanks,
I'm seeing some odd failures on my newly installed Puppet master. The
manifest being served seems to be unable to use the client's facts.
For the sake of troubleshooting, I've reduced the details down to a
single file resource in manifests/site.pp
file { "/tmp/puppet.wtf":
ensure => presen
Hi Ashley,
Not a problem I've added a release to Puppet Forge ...
http://forge.puppetlabs.com/mikeknox/zypprepo
It's derived from the yumrepo type in Puppet core (0.25.5).
It hasn't been updated it for 2.6.x yet, works fine, but I noticed some
warnings about 'audit' when I tried ralsh on it.
Facter will display the values associated with network_* specific
settings. Shouldn't there be a way to display all connected (active)
networks in one command?For example:
# facter networks
192.168.1.2
10.0.1.1
10.10.23.0
I could then formulate a conditional based on the available
networks
On Feb 10, 2011, at 7:13 AM, Tim Dunphy wrote:
> Hi Guys,
>
> Changing the server directive in the puppet conf worked!!! Thanks so
> much for your help!!
>
> Also I sent an email yesterday regarding file sharing to the list.
> Sorry to be a bother, but I am still struggling with this issue.
>
The docs are vague on how the two interact.. but it seems to me that 'creates'
will override 'onlyif' in an exec clause. i.e. if the file named by 'creates'
exists, then 'onlyif' is ignored. Is someone able to confirm that?
Thanks!
--
You received this message because you are subscribed to
On Feb 10, 2011, at 6:55 AM, Udo Waechter wrote:
> Hello,
> I am one of those who have this problem. Some people suggested using Ruby
> Enterprise. I looked at its installation, it looked a little bit
> time-consuming, so I did not try that one out.
Well, I find it takes about 30 min at the mo
On Thursday, February 10, 2011 at 11:20 AM, Joe McDonagh wrote:
Sounds like you're running the wrong version of the mysql rubygem. If
> memory serves, this was a known issue.
>
We're on 2.7.3 packaged by CentOS. http://projects.puppetlabs.com/issues/3238
seems to indicate the problem exists even
I am using ruby-enterprise, installed under: /opt/ruby-enterprise,
when I try to run ruby interpreter I get error about loading puppet:
# ruby -rpuppet netbackup_servers.rb
ruby: no such file to load -- puppet (LoadError)
What do I need to set RUBYLIB env var to? I tried this:
export RUBYLIB=$RU
Sounds like you're running the wrong version of the mysql rubygem. If
memory serves, this was a known issue.
--
Joe McDonagh
AIM: YoosingYoonickz
IRC: joe-mac on freenode
L'ennui est contre-révolutionnaire
--
You received this message because you are subscribed to the Google Groups "Puppet
Use
one more thing to note. If I turn off all the evironments, restart
puppetmaster and then everything works fine; and just one more
clairification it's only "new" modules being created that have the
problem.
On Feb 10, 10:23 am, trey85stang wrote:
> Hey all, Im still new to puppet so I may be d
Trouble is, each time a node checks into puppet, a new db handle is
> opened without the old one being closed. With a few nodes, it doesn't
> take long before there are tens or hundreds of handles, and the db
> server won't accept any more.
I've just run into this issue as well with the followin
Hi,
not main but [base]
you have only one [base] section in your working conf and twon on broken
one.
Try changin one base to something else.
Cheers,
Arnau
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send emai
hmmm well my /etc/yum.repos.d directory on the server I am having a
problem with is pretty much an rsync of another server that has both
yum and puppetd --test working correctly.
working server:
[root@VIRTCENT04:~] #puppetd --test
info: Caching catalog for virtcent04.summitnjhome.com
info: Apply
A few days ago another user posted an issue with complex hashes[1]; it looks
like a parser bug, and a bug report was opened[2]. I seem to be having a
similar problem, but I haven't been able to make the same workaround function.
This is the data structure I'd like to be using, but puppet doesn'
On Thu, 10 Feb 2011 12:10:54 -0500
Tim Dunphy wrote:
> Hello list!
Hello,
[...]
> [root@mclient ~]# puppetd --test
> info: Caching catalog for mclient.acadaca.net
> info: Applying configuration version '1297357383'
> err: //centos/Yumrepo[rpmforge]: Failed to retrieve current state of
> resource:
Hello list!
I am getting an error when I run puppetd --test on the client and I
could use some pointers on chasing this down:
[root@mclient ~]# puppetd --test
info: Caching catalog for mclient.acadaca.net
info: Applying configuration version '1297357383'
err: //centos/Yumrepo[rpmforge]: Failed t
> Ok, I was mistaken. Returning a hash works. It would be helpful if
> the ruby exceptions bubbled up to puppet reported the correct line
> number from the ruby source -- if that is possible.
Could you file a bugreport[1], if there isn't yet one? Thanks!
Then the chances are high that it will ge
Hey all, Im still new to puppet so I may be doing something wrong.
The problem I am having is I have setup multiple environments. Going
from one environment.
To get started with testing that I copied my manifests directory and
modules dirctories into a handful of different directories to setup
t
hey Michael,
Where did you get zypprepo type? Did you write it? Can you post it?
On Wed, Feb 09, 2011 at 11:30:25AM +1100, Michael Knox wrote:
> Try ralsh yumrepo
>
> Just discovered that ralsh can even use custom types out of my
> modules ... cool
>
> $ ralsh zypprepo
> zypprepo { 'repo-oss
On Thu, 2011-02-10 at 15:55 +0100, Udo Waechter wrote:
> Hello,
> I am one of those who have this problem. Some people suggested using Ruby
> Enterprise. I looked at its installation, it looked a little bit
> time-consuming, so I did not try that one out.
> I upgraded to debian squeeze (of course
Hi Guys,
Changing the server directive in the puppet conf worked!!! Thanks so
much for your help!!
Also I sent an email yesterday regarding file sharing to the list.
Sorry to be a bother, but I am still struggling with this issue.
Does anyone have any advice regarding this?
Here is the emai
Hello,
I am one of those who have this problem. Some people suggested using Ruby
Enterprise. I looked at its installation, it looked a little bit
time-consuming, so I did not try that one out.
I upgraded to debian squeeze (of course), and the problem persists.
Thus I did some tests:
1. got ruby
Hi all,
I've been looking at using stored configs to generate my Nagios configs.
I followed this guide[1] to set up the remote MySQL database for this
purpose, like this:
[puppetmasterd]
storeconfigs = true
dbadapter = mysql
dbuser = puppet
dbpassword = password
dbserver = mydb.bris.ac.uk
#db
Thanks Adrian !! I'll certainly try it out in QA. On the other hand, for
those who followed this thread, I've found problem, and corrected it. It
turns out, that space after any of the values, would basically break your
config. I just edited the file, and removed all extra spaces, and
everyt
I run two 0.25.5 puppetmasters behind an haproxy load balancer with
both production and QA puppetmasters on different ports on each host.
These resolve to puppet.arces.net and puppet-qa.arces.net on our load
balancer and go to host-a and host-b on 8140 for production and 8150
for QA. It all works
If I just leave it with
[puppetmasterd]
certname = puppet-test01.dev.domain.com
ca = falsa
it works.. it just breaks after I put in the rest of the options I
need to work my way through all the options
--
You received this message because you are subscribed to the Google Groups
"
43 matches
Mail list logo