Displaying 20 results from an estimated 800 matches similar to: "Assertions"
2007 Apr 12
0
How I use puppet
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi *!
I have put my manifests and templates now online.
svn co http://club.black.co.at:82/svn/manifests/
Regards, David
- --
- - hallo... wie gehts heute?
- - *hust* gut *rotz* *keuch*
- - gott sei dank kommunizieren wir über ein septisches medium ;)
-- Matthias Leeb, Uni f. angewandte Kunst, 2005-02-15
-----BEGIN PGP SIGNATURE-----
Version:
2007 Jan 14
0
file_splice Hack
Hi *!
Here is a hack to emulate cfengines editfiles/Group behaviour.
{{{
$splice_dir = "/var/local/puppet/splice"
file { $splice_dir:
ensure => directory,
tag => "file_splice",
}
# Replace a section marked by
# comment_char {BEGIN,END} pattern
# with the given content
# if checksum is set to "none", no resource is defined for the edited file
define
2007 Jun 29
2
DesignPatterns part 2: humane class names with namespaces
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear list!
In an effort to get feedback and spread the word, here follows the second
article about possibilities to structure manifests. These Design Patterns are
more general than the typical Puppet Recipie and will receive a own page on
the wiki when I collect enough[1] material.
To the meat: humane class names with namespaces
Class names
2007 Feb 20
5
Recipe for Apache2 on Debian (Etch)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Tim, *!
Thank you for posting your nice apache2 recipe to the wiki! It''s really good
to see how others make things happen and a good example for others.
One little thing though caught my notice because I''m currently making the same
naughty thing on Simple Text Recipes. There is no ensure attribute. Since you
already have done
2007 Mar 19
7
Monitoring puppet
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi *!
How do you monitor when the last puppet transaction was successful on a node?
I''m searching for something easy like a timestamp, so I can put a nagios watch
on this.
Regards, David
- --
- - hallo... wie gehts heute?
- - *hust* gut *rotz* *keuch*
- - gott sei dank kommunizieren wir über ein septisches medium ;)
-- Matthias Leeb,
2007 Aug 20
1
Re: Assertions
David Schmitt david wrote on Mon Jun 25 03:32:09 CDT 2007:
> For the ongoing modularisation of my config I wrote a
> assert_lsbdistcodename class today, which can be used for failing
> parts or complete configurations if a certain variable is not set
> (lsbdistcodename in this case). Please find the file attached.
This is great, however I ran into something strange with this. It
2006 Oct 06
8
VServer Support
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi *!
I''m currently working on integrating VServer support into puppet. I have
uploaded a prototype for managing interface configuration to the Cookbook at
http://reductivelabs.com/cookbook/VServerRecipes
and would very much appreciate feedback about style and functionality.
Regards, David
- --
- - hallo... wie gehts heute?
- - *hust*
2007 Jun 25
5
Module Patterns part 1 -- The Puppet Semaphor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear list!
While converting my config to modules, I''m applying puppet''s mechanisms to
interact with and between modules. Here I''ll try to collect a few patterns to
create awareness of fundamental module patterns. After feedback/discussion I
will add this to the wiki.
The Puppet Semaphor
===================
2007 Jan 14
7
Delayed detection of updates
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi *!
Has anybody a fix/workaround for this beahaviour? My Service[munin-node] is
subscribed to the timestamp of a directory containing config-snippets like
this:
{{{
file{"/etc/munin/plugins": checksum => mtime, }
service{munin-node: subscribe => File["/etc/munin/plugins"], # ...
}}}
When adding new snippets to the
2012 Jun 14
1
facter --yaml leaves some fields blank
Sometimes "facter --yaml" doesn''t list all the values specified on the
command line. I can''t find rhyme nor reason why. Here''s a demo to
show what I mean:
# facter --version
1.5.7
# facter --yaml fqdn macaddress lsbdistcodename
---
fqdn: my.host.name.example.com
lsbdistcodename: squeeze
macaddress: "00:00:00:00:00:00"
We had been using the above
2011 Mar 03
3
lsbdistcodename and Debian Squeeze
Hello all,
I use puppetmaster on a Debian Squeeze server (packaged from Debian 2.6.2-4)
I am using a template for Debian Servers which works great for Lenny
in order to update my sources.list automagically, here goes:
deb http://ftp.ie.debian.org/debian <%= lsbdistcodename %> main contrib non-free
deb http://security.debian.org/ <%= lsbdistcodename %>/updates main
Now the problem
2009 Dec 01
3
Duplicate definition on the same line and in the same file ?
Hi,
I''m trying to add libapache2-mod-php5 as a dependency in my php5 module here is what I get
info: Loading facts in raidcontroller
info: Loading facts in raidcontroller
debug: Format s not supported for Puppet::Resource::Catalog; has not implemented method ''from_s''
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate definition:
2009 Feb 23
3
Require package not working as expected
I have the following as part of a module:
--------------------------------------------------------------------------------
# Ensure "lsb-release" installed
package {"lsb-release":
ensure => installed,
}
# Use our sources.list
file { "/etc/apt/sources.list":
owner => root,
group => root,
mode =>
2012 Apr 18
1
$lsbdistcodename stays the same after dist-upgrade
Dear List,
i was running a few natty systems and upgraded one of them to oneiric.
Facter shows the right lsbdistcodename, lsbdistrelease, etc.
parameters, but when i''m running puppet agent the modules has access
to the previous (natty, etc.) values. As i see on puppetmaster in /var/
lib/puppet/yaml/{facts,node} the output from facter and the agent is
cached and won''t update
2011 May 13
1
ubuntu package installs
hello puppet list
My puppet server is now working quite wonderfully. Thanks go out to
all who have assisted in getting it to this point. At this point in
time my config is now correctly installing packages according to
arch,os and release. Centos is working quite well as of now, but I am
attempting to get the ubuntu side of things to work as well. I am
frankly more familiar with RHEL under
2007 Nov 29
2
puppet:// URIs don''t allow FQDN?
Hi List,
I''m using puppet 0.23.2 (tarball) on Debian sarge as server and the same
version on an etch client. When I try to use the following class :
class base {
$puppet = "security01.mydomain.com"
# bashrc file for global shell settings. file depends on used OS
version (etch, sarge etc).
file {
"/etc/bash.bashrc":
ensure =>
2012 Oct 04
4
Puppet 3.0 + Inventory search
Hello,
I am having problems with Puppet since upgrading to 3.0.0.
When I call an inventory search I get a Error 400. I have used dashboard +
Perl
Oct 4 08:58:43 puppet01 puppet-master[7008]: Handling request: GET
/production/facts_search/search?facts.lsbdistcodename.eq=lenny
Oct 4 08:58:43 puppet01 puppet-master[7008]: header too long
ii facter
2008 Oct 16
1
Modularisation: Using helper generating HTML output vs. using partials
Hey,
I''ve got a general question: when do I use helper and when I do use
partials to modularise certain gui elements?
For example: I''ve got a faq list. Each item can be folded and unfolded
using ajax.
FAQ foo
-> question 1
-> question 2
-> question 3
So, I wrote a helper "faq_li_tag(args)" which takes the question and
answer for parameters and generates the
2004 Aug 06
0
Second patch again CVS version
> - Configurable prebuffer, in seconds.
>
> - prebuffering parameter in configurable in
> <limits>...<prebuffer>seconds</prebuffer>...
We're in the process of redoing some of this. We will prebuffer some
etc, so in the end this functionality will be there. I apologize that
this patch won't get applied for that reason.
> - Created a new function
2015 Aug 21
1
I would like to add features to rsync: tags and saving local modifications
Hello!
My name is Grzegorz Borowiak and I am a programmer.
I work for a company which uses rsync internally, to distribute our
continuously changing development environment.
The environment weighs several gigabytes and consists of over 100000
files, most of them binary, so VCS-es like git and subversion are not
an option, but rsync performs very efficiently.
However, I would like to add some