Displaying 20 results from an estimated 1000 matches similar to: "require metaparameter and gems"
2008 Jan 03
5
modules and parser plugins: function unknown
Hi,
We are totally sold on Pupet (what a nice concept) and are trying to
setup a proof-of-concept. We are trying to learn a bit from other
people''s work by integrating external modules. One of the modules we
wanted to start with was the ''ntp'' module from David Schmitt. It clearly
uses some functionalities from the ''common'' module, which we also
2007 Jun 07
3
can i access module "files" w/o using client-server?
Hi,
I''m new to puppet and trying to get started using it just in local mode.
My basic question is: how can i reference a static file within the module
(eg in the module''s files/ subdirectory, as described in
http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation). I suppose i
could try using a full.absolute path to the file, but that seems to
completely defeat the purpose
2007 May 07
68
Puppet Best Practice
Hello everyone,
A long time ago, I posted the Stanford Best Practices and I''ve gone through
and updated it today. I''d like to have people go through it and see if we
can strip out some Stanford specific stuff and tag this as an official best
practice. I think an official best practice will be important as more and
more people consider making shareable modules, etc (mostly
2007 Jun 25
3
Modules and the file server
Hi,
I''m starting to move over to Modules, which looks pretty clean and solid.
Reading http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation,
one thing that confuses me is how the client resolves the implicit file
server resources.
I''ve got a few different puppet master servers running on different
ports, and my configuration re-defines $puppet_master_host and
2007 Jan 31
7
Report usage...
Hi,
I''ve setup my systems to do reporting as explained in https://
reductivelabs.com/cgi-bin/puppet.cgi/wiki/ReportsAndReporting, with
tagmail defined as one of the report types - but I do not recieve any
mail at all.
I''ve configured a tagmail.conf file like this:
all: root@localhost
But the documentation mentions three options, namely sendmail,
reportfrom,
2008 Nov 24
2
Understanding the docs
Ok, I''ve been reading and I have some questions about best practices:
I understand that modules are to be self contained blocks that i can
just drop in. Using best practices, how does this fit into the naming
scheme?
Classes are singletons. I think i understand this. I''ve been
defining classes in /etc/puppet/classes, but then how does this relate
to any modules i might want
2007 Dec 20
5
Apache2 module -- feedback appreciated
Hey folks,
I''ve just uploaded an apache2 module[1] to our Google Code
repository[2]. It''s based largely on the recipe available on the
Puppet trac[3], but with a fair amount of modification and
generalization... Basically, it provides abstractions for config file
snippets, site definitions, and apxs modules -- and then "basic" and
"debian"
2007 Dec 05
8
How does one use a module?
Greetings -
Maybe I''m a bit slow, but I''ve been trying to understand how to use a
module for the better part of a day and I''m not getting it. Here''s
what I''ve done:
Using puppet 0.23.2
1. Downloaded the shorewall module from David Schmitt''s git repo
(Thanks David!!!!) and placed it in the directory
/var/lib/puppet/modules (using the rpm
2009 Jun 10
10
puppet client looking for server puppet
In my puppet client I have
puppet.conf defined puppet server as mypuppet
server = mypuppet.example.net
Not sure why the puppet client puppet-test is still sending these
noises to the syslog
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911 daemon.error]
Could not find server : getaddrinfo: node name or service name not
known
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911
2011 Sep 07
1
Qualified variable inside a metaparameter
Hi,
I''m adapting our modules to version 2.7.3.
Currently I ''ve this example in a iptables module
class iptables_script
{
file {
$iptables_init:
owner => "root",
group => "root",
mode => "0700",
.................................
}
2009 Apr 17
3
OT : SQLite or another database engine with a small application?
People,
I have been thinking at this for long time and I do not know
if SQLite is sufficient for my application.
I developed an inventory system in Rails -v 2.2.2 and I do
not know if SQLite is the best choice or if is neccesary have a bigger
database engine than SQLite..
This site will not has thousand and thousand records or
visits each day so I think with SQLite could
2007 Aug 24
7
Problem restarting client service ssh in client
Hello,
I want a simple operation in a puppet node like restarting the ssh
service if it was stopped. My site.pp is simple as this:
import "services/*"
node default {
include ssh
}
The services directory as a ssh.pp :
class ssh {
service { ssh:
ensure => running,
subscribe => File["/etc/ssh/sshd_config"]
}
}
I''ve stopped the ssh service in the
2007 May 23
6
Brainstorming - how to manage Shorewall rules
Shorewall (IP Tables frontend - www.shorewall.net) has been kind of a
headache in trying to move forward with puppet - we just haven''t found
a clean way to manage the "rules" file. With that in mind - would it
be possible to create a "shorewall_rule" type?
The rules file is a simple file with space/tab delimited fields:
(I can provide a detailed explanation of each
2007 Mar 01
1
Modules redux
I updated http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
to reflect how I intend to implement modules, and what that will look
like from a user''s point of view. Comments/flames etc. welcome.
David
2007 Feb 09
12
Module Organization
This is in reference to David Schmitt''s writeup [1]
I like that writeup a lot; I just had a few comments/clarifications:
* Namespaces: For now, we just use a flat namespace for modules, i.e.
you can''t have modules within modules, and you always know that in a
fully qualified name ''foo::bar::baz'' that ''foo'' is the module name and
2007 Apr 26
5
$processor fact not working on OS X
Hello dear list.
First of all thanks to all the developers for the great work on puppet.
After using it for a while, there is not better tool to manage a network!
I have a problem with the $processor fact, which seems to be either not
there or ignored at all.
I try to implement package deployment for the Macs (Intel vs. PowerPC)
as described here:
2007 Mar 19
3
ANNOUNCE: Puppet 0.22.2 (grover)
Hi all,
I''m proud to announce that I seem to have pushed a new release of
Puppet out in record time. This is a minor upgrade, mostly bugfixes
and small features, but there are lots of each. See the changelog[1]
for an idea of what this release provides, but keep in mind that this
changelog is my first real attempt at keeping an up-to-date changelog.
Enjoy!
1 -
2006 Oct 14
4
How do I manage manifests most efficiently...?
Hi
As I''m more familiar with cfengine and it''s way to split updates (in
update.conf) from the actual grunt work (in cfagent.conf), I''m
wondering how to best manage puppet and my manifests with puppet...?
Should I define a puppet class that copy the puppet package (in .tgz
format) and all the manifests to the client, and then have all my
other classes depend on
2007 Nov 21
2
I''m lost on exec
Hi
Can anyone tell me what''s wrong with this one.
Sorry I''m new and I just want to print some message to the the puppet
log on the client side.
---------------------------------------------------
$testvar = "Hello world!"
class mytest {
exec { "/bin/echo $testvar" }
}
I keep getting:
err: Could not parse; using old configuration: Syntax error at
2006 Oct 19
1
Filenames with dots in the name
Hi,
When I try to specify a file I want copied in place, like:
configfile { "/etc/init.d/puppet":
source => "config/apps/puppet/puppet"
}
and has a require on that later on:
exec { "/usr/sbin/update-rc.d puppet defaults":
require => "/etc/init.d/puppet"
}
puppetd throws an error:
err: Could not find type