Displaying 20 results from an estimated 10000 matches similar to: "Segmentation fault in methodhelper.rb"
2012 Dec 27
3
generate() function help
Hi.
I want to run script which is distributed with my module, but the
problem is I have to then hardcode the path to the script in the
generate function call, for example:
generate("/etc/puppet/environments/${environment}/modules/mymodule/scripts/myscript")
But what If some other site uses other path to their modules, or doesn''t
use environments at all? Is it possible
2013 Jun 27
2
Conditional statement =,<,> etc.
Hello guys :),
I''m kind of new to Puppet and stuck in defining a conditional statement.
Here my problem:
I want to provide different apt/source.list for different versions of
Debian, 6.0.x and 7.0.x, which also run different versions of Puppet, 2.7.x
and 3.2.x. My first idea was to use facters variable
operatingsystemmajrelease and define like this:
file {
2013 Feb 06
3
PuppetDB builtin backend performance?
Hi,
I''m using PuppetDB with builtin backend, haven''t switched yet to
postgresql, and I''m starting to see decrease in performance of my agent
runs.
I use PuppetDB solely because of exported resources support.
How soon should I think about moving to PostgreSQL? How many clients
does my master need to serve, so that PuppetDB in it''s default
installation,
2011 Apr 04
4
Puppet nagios integration problem
Hi all,
I''m working on setting up Puppet to write out my Nagios configs. A few
weeks back I inserted a few dummy Nagios checks into my Puppet config,
and the Nagios configs were written out properly.
I''ve now added loads of Nagios host and service checks like this:
@@nagios_service { "check_smtp_${hostname}":
check_command =>
2007 Sep 30
2
Initial setup problems on Ubuntu edgy (06.10)
Good day,
After having lurked for a while I''ve decided to actually start using
puppet starting on my small home network. I''ve been following :
http://reductivelabs.com/trac/puppet/wiki/InstallationGuide
and :-
http://www.howtoforge.com/installing_puppet_on_ubuntu
to test puppet on 2 hosts, librarian running the puppetmasterd and
mortvm.
Unfortunately, I
2012 Dec 29
1
Puppet module for managing Cobbler
Module on forge:
http://forge.puppetlabs.com/puppetlabs/apache
Code and issue tracker:
https://bitbucket.org/jsosic/puppet-cobbler
Comments are welcome, hope somebody finds it useful. I''m very happy with
it so far :D
The reason I''m posting it is that couple of people asked me about
publishing this module while I was in a process of developing it, so If
those people
2012 Dec 04
14
custom define type for array with 'case' argument pass to it
I am trying to write a define type which will use an array but in the
meantime have an argument pass to it that sets a case. See for example :
define link_files ($linkcase) {
case $linkcase {
"var" : {
file { "${name}_exelink" :
path => "/var/log/puppet/${name}_log",
ensure => link,
2012 Sep 07
7
passenger-install-apache2-module fails
Hi I have installed passenger on many machine and this is my 3rd puppet
master on CentOS 6. This one is giving me problems and I have been trying
with different gem versions and still no go.
When I run passenger-install-apache2-module I get this error:
Sorry its really long so I copied to a text doc attached to this post.
Any Idea on whats going wrong. I have not had a problem with this before
2013 Jan 14
1
Extrange Hiera error
Hi:
I work on puppet 3 and hiera, but i cannt load a yaml file on a subdir.
my hiera.yaml looks like:
---
:backends:
- yaml
- json
:yaml:
:datadir: /etc/puppet/hieradata
:json:
:datadir: /etc/puppet/hieradata
:hierarchy:
- "servidores/%{clientcert}"
- %{::ve}
- common
:puppet:
:datasource: data
problem is on "servidores/%{clientcert}". If it is %{::clientcert}
2012 Aug 20
4
puppet-lint and 80 characters line limit?
Hi.
I''m getting lots of warning like this one from puppet-lint:
WARNING: line 67 has more than 80 characters
Now, I don''t like warnings, so any idea how should I rewrite this line
for example, to void the warning?
package {''rpmforge-release'':
ensure => ''0.5.2-2.el6.rf'',
provider => ''rpm'',
source =>
2014 Oct 01
1
Winbind is "sticky" on one DC
Hi chaps,
I've been using Winbind for several years to authenticate 802.1x
wireless users against Active Directory via FreeRADIUS. The solution
we've been using until now has been adequate but I've noticed some
problematic behaviour. We're running all stock packages from CentOS 6
repos. Current version of winbind is 3.6.9. Unfortunately the Windows
DCs are managed by a
2012 Sep 05
4
Custom type obligatory field?
Hi.
I''ve been trying to develop a module for managing Cobbler from puppet.
So, I need a custom type - cobblerdistro, which will fetch ISO from
http, unpack it at desired destination and register distro with Cobbler.
I have one issue with ensure => absent situation.
First of all, here is my type:
<code>
# cat type/cobblerdistro.rb
Puppet::Type.newtype(:cobblerdistro) do
@doc
2013 May 24
6
Puppet/Nagios/PuppetDB slow performance
Hi all,
For months now I''ve been using Puppet with PuppetDB backend to manage my
Nagios configs. We now have 1200+ services being checked and including
servicedependency, host, hostdependency, command and other Nagios
resources being managed, that''s about 3000 resources in total.
Unfortunately this means the monitoring server takes about 8 minutes to
perform a Puppet run.
2012 Jul 10
1
Array mapping
Hi all,
I''m aware that using a "define" can be used to create multiple resources
from a list of items, like this:
define print {
notify{"the message is: ${name}": }
}
print{["one", "two", "three"]: }
This would be the same as making these resources by hand:
notify{"the message is: one": }
notify{"the message is:
2012 Jul 27
11
Possible to push changes to nodes?
Dear readers,
When I have made a change to a template, class or file, is it then possible
to push this change to the node(s), so they get the changes now?
I would like to be able to push the change from the master, and not have to
login to each node and pull.
Is that possible?
Hugs,
Sandra
--
You received this message because you are subscribed to the Google Groups "Puppet Users"
2013 Jun 06
2
Trouble getting puppet config from client to master (Certificate verify failed).
Hello,
I''m having trouble between the client and the master. Please help!
*root@r3:~# puppet agent --test*
Info: Caching certificate for r3.pb
Info: Caching certificate_revocation_list for ca
Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate
B: certificate verify failed:
2012 Dec 02
3
Managing puppet as Application software management
Hi,
using puppet can i manage application packages, for example if some
application user want to install his application package, is it possible to
maintain that package using puppet ? like opsware do ?
Regards,
Dha
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit
2007 Jul 30
17
tc n00b
Hi everyone,
I''m new to tc but I need to use it to set up shaping on a new NAT box.
In short:
Each user must have their upload limited to 128kbit and downlink limited
to 256kbit.
Global bandwidth to be limited to 100Mbit
Interactive packets to have higher priority
200+ users, so need to match packets fast
So far I have managed to get the download limits working. However I need
to
2013 Nov 13
1
Disabling NFS causes E level errors in nfs.log (bug 976750)
Hello,
according to the bug 976750
(https://bugzilla.redhat.com/show_bug.cgi?id=976750) problem with
repeating error messages:
[2013-11-13 17:16:11.888894] E [socket.c:2788:socket_connect]
0-management: connection attempt failed (Connection refused)
in case when nfs is disabled on all volumes was suppose to be solved in
3.4.1. We're using the version glusterfs-server-3.4.1-3.el6.x86_64
2011 Sep 23
21
Official puppetlabs position on cron vs puppet as a service?
Over the years many shops have come to start running puppet via cron to
address memory leaks in earlier versions of Ruby, but the official position
was that puppet was meant to be run as a continually running service.
I am wondering if the official position has changed. On one hand many if not
all of the early Ruby issues have been fixed, on the other, the addition of
mcollective into the mix as