Displaying 20 results from an estimated 30000 matches similar to: "Module Plugin Documentation"
2010 Jun 28
7
Bind Module
Anyone know where I can find a good chrooted named module for centos?
Named as chroot is ugly... soft and hard links everywhere...
Doug
--
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 Aug 15
4
Enabling yum-repo on fly?
Dear all,
Is there any way to enable a particular yum-repo (like: yum --
enablerepo=<repo_name>), which is disabled as default, for a
particular package installation? For our system, we need to "dag" for
particular two packages but keeping it always enabled, clashes with
other packages, which we don''t want to install for dag at all. What''s
the option(s) I have to
2010 Jun 27
17
Variable Scoping = Root Canal
I''ve been struggling with puppet variable scope all day, well, for
several months actually.
I think I have pretty simple requirements. For any given node, I want
to be able to set a series of variables and include a set of classes,
based on three different aspects of a node, being physical location,
operating system, and function. If I try and do this with classes, I
find that variables
2010 Jun 24
8
Passenger barfs.
I have a freshly installed and updated CentOS 5.4 system running
puppet 0.25.5. I followed the passenger docs here:
http://projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger
Upon starting the client, the following appears in the apache error log.
[Thu Jun 24 10:48:40 2010] [error] [client 10.10.4.45] Premature end
of script headers: production
[ pid=6785 file=ext/apache2/Hooks.cpp:706
2011 Feb 22
8
auth.conf & namespaceauth.conf : which files belong on the master , and client?
I''m trying to wrap my head around these files...
do both of them need to reside on the client and master?
are there any docs that describe these files and what all the option/
sections are and what they do?
Thanks all....
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2011 Nov 01
2
Custom fact not set with mc-puppetd
Hello,
I''ve mcollective 1.2.1 with puppet 2.6.12 on rhel5.6, facter 1.6.2
setup from http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML.
Now I''ve create a custom fact in /usr/lib/ruby/site_ruby/1.8/facter/
customer_status.rb.
On the client;
Running facter customer_status works.
Running ''puppet agent --test'' works, customer_status
2012 Aug 14
8
Custom Providers and Environmemts.
I''ve installed the puppet labs lvm module. After fixing the missing
"}" at line 20 in init.pp (really?!?!), I''m getting this:''
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
Invalid resource type physical_volume at
/truth/sauce/env/prod/modules/role/manifests/common.pp:43
2011 Jul 27
4
Puppet RPM's
Does anyone know where I can get the latest puppet, 2.7.1 as RPM''s?
The spec file that comes with the puppet 2.7.1 source is broken again, and
only version 0.25.5 seems to be available via EPEL, which means that the
website''s assertion that you can get puppet as an RPM from there is somewhat
untrue.
Douglas.
--
You received this message because you are subscribed to the
2012 Aug 29
9
puppetlabs-stdlib
I''m confused about this...
https://github.com/puppetlabs/puppetlabs-stdlib/
I see a lot of functions there that are the same as the ones that come
standard with puppet. If I create a module and dump this stuff in
there, what happens to the existing stuff? How does puppet know which
one to use?
Doug
--
You received this message because you are subscribed to the Google Groups
2013 Oct 13
24
exporting custom facts to puppet agents
Dear all,
I have a custom fact, that reads a file and then generate the values
dynamically based on the file content. It''s something like this:
inFile = "/home/admin/OSs.txt"
> gos = {}
>
> if File.exist?(inFile)
> open(inFile, ''r'').each do |line|
> next if line =~ /^\s*(#|$)/
> parts =
2012 Aug 17
8
Class Naming Convention
So, this has always puzzled me a bit. By convention, init.pp contains
one class, named the same as the module. However, what is the
convention when the module may have multiple external access points?
Say you have a module called ''syslog'' which provides both a client and
a server class. I typically have used syslog::server and
syslog::client. I''ve ended up using this
2011 Jul 21
6
ANNOUNCE: Cloud Provisioner v0.6.0rc1 release
We are happy to announce the first public release candidate of our Puppet
Cloud Provisioner.
This release is available for download at our Module Forge:
http://forge.puppetlabs.com/puppetlabs/cloud_provisioner<http://downloads.puppetlabs.com/dashboard/>
Extensive documentation can be found at:
http://docs.puppetlabs.com/guides/cloud_pack_getting_started.html
Please report feedback via the
2012 Aug 11
8
Pass array to a define
How can I pass an array to a define? It''s not documented in the puppet
language guide.
I''ve got:
define lvm::create_vg ( $pvdisks ) {
exec {
''pvcreate'':
command => "/sbin/pvcreate -yf $pvdisks",
unless => "/sbin/pvdisplay $pvdisks",
...
}
}
class someclass {
lvm::create_vg {
2012 Aug 27
5
Append string to list items.
I have an array:
$nodes = [''gfs01'' ,''gfs02'', ''gfs03'', ''gfs04]
and a string variable:
$brick_store = "/var/bricks"
How can I append "/var/bricks" to each item in the array? Lack of a
looping construct makes this challenging in puppet.
Such that:
brick_array = [''gfs01:/var/bricks'',
2012 Aug 15
7
Custom types in environments working .... yes/no/maybe ?
My issue may be related to this bug:
http://projects.puppetlabs.com/issues/13858
"Custom types in environments require loading into master''s libdir"
However, now I''m not so sure, This was working previously with a given
client. However, after trying on a fresh client, it''s failing with:
err: Could not run Puppet configuration client: Could not find a
2010 Jul 22
3
File /etc/yum.conf does not contain a main section
I just upgraded puppet from 0.25.5 to 0.26, and I''m getting this:
(/Stage[main]/Repo::Livegamer_software_base/Yumrepo[Livegamer-Software-Base])
Could not evaluate: File /etc/yum.conf does not contain a main section
However, my /etc/yum.conf contains this. What''s wrong with that? Is
puppet smoking crack?
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
2010 Jun 24
7
Yet more variable scoping pain.
Some days I wonder why I even bother with puppet.
---
classes:
- datacentre::new_york
- role::appserver
- elements::tfel0
environment: production:
parameters:
< set key/value pairs here >
class ldap {
< do some stuff that behaves slightly differently between different
data centers >
}
class role::appserver {
include ldap
}
So, I wanted to set some variables in the
2010 Jul 30
5
Parameterised Classes in 2.6.0... still no luck
I downloaded the latest version of puppet 2.6.0 today, and still can''t
get parameterised classes to work. At least, I think it''s 2.6.0... the
version number in the RPM spec file says 0.25.5.
This simple example:
/etc/puppet/manifests/nodes/pax/name01.pax.xxx.com.pp:
node ''name01.pax.xxx.com'' {
class { amodule::afunc: version => "1.0" }
}
2011 Nov 16
11
What is the offical variable scope best practice?
I read the guide at
http://docs.puppetlabs.com/guides/scope_and_puppet.htmland others''
mail, i am a little confused now, below is my understanding:
1. top scope only refers to site.pp, not include node definitions and facts.
2. in puppet class, using variables not local, must specify the namespace,
like $class::variable,
if it''s a top scope variable or a fact variable or a
2010 Jun 01
2
Is sshkey host_aliases new in 0.25?
Is the host_aliases parameter to sshkey new in 0.25?
Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Could not
retrieve catalog: Invalid parameter ''host_aliases'' for type ''Sshkey''
at /etc/puppet/manifests/nodes/fr.twofish.com/ext3.pp:19 on node
ext3.fr.xxx.com
Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Not using cache
on failed catalog
The