Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Sven Sporer
Hey Alexander, you could also check out serverspec[1] for acceptance tests. It provides simple RSpec tests for your server with a lot of puppet-like matchers, but it's not tied to Puppet (heresy! :). We use it to validate our modules and are very happy with it. Sven [1] http://serverspec.org/

[Puppet Users] Re: Error while Puppet Sync on PuppetMaster

2014-04-04 Thread Sven Sporer
Hi, this could be related to https://groups.google.com/forum/#!topic/puppet-users/wKFMlPNAFZ0 Am Donnerstag, 3. April 2014 13:25:56 UTC+2 schrieb iliyas shirol: > > Greetings! > > We are seeing the following exception on one of our Puppet Master host > while its performing a puppet sync with it

[Puppet Users] Re: Service[foo] fails under --noop if its package has never been installed

2014-04-04 Thread Sven Sporer
Hi, as John already noted, I'd avoid relying on --noop output to gauge the success of a Puppet run[1], but instead get in the habit of performing real tests. This means testing the bootstrap process of new servers, using Vagrant and serverspec or something similar. [1] not entirely, of course;

Re: [Puppet Users] Managing big changes

2014-04-03 Thread Sven Sporer
you > have good test coverage, then after a refactor, you should be able to see > what expectations you have broken and have to update your tests accordingly. > > > On Wed, Apr 2, 2014 at 8:32 AM, Sven Sporer > > > wrote: > >> Hi, >> >> I'm w

[Puppet Users] Managing big changes

2014-04-02 Thread Sven Sporer
Hi, I'm wondering if there's an established way on how to write and improve modules with potentially system-breaking or incompatible changes. One example are changes in the filesystem layout, or simply the change of an OS user's homedir (usermod fails because of running processes). Of course,

[Puppet Users] Re: Generate YARD docs for modulepath

2013-04-11 Thread Sven Sporer
/puppetlabs/puppet/blob/master/lib/puppet/util/rdoc/parser.rb Sry for the confusion (and doubleposting). Am Donnerstag, 11. April 2013 10:43:15 UTC+2 schrieb Sven Sporer: > > Hi, Puppet 3.1 now uses YARD to generate its API documentation. Is anybody > aware of the possibility to generate nice

[Puppet Users] Generate YARD docs for modulepath

2013-04-11 Thread Sven Sporer
Hi, Puppet 3.1 now uses YARD to generate its API documentation. Is anybody aware of the possibility to generate nice YARD docs for a given module path, replacing the default RDOC-style site from "puppet doc --modulepath ..."? Could the YARD Template from Puppet 3.1 be used for this? -- You rec

[Puppet Users] Re: SLES11: facter without arguments produces Error: uninitialized constant Facter::IPAddress

2012-01-31 Thread Sven Sporer
aversing on the filesystem. > > ken. > > > > > > > > On Mon, Jan 30, 2012 at 7:42 AM, Sven Sporer wrote: > > Hi, I run into problems with the ipaddress fact using the latest > > Facter gem (1.6.4, 1.6.5) on SLES11. The versions and gems I use work > >

[Puppet Users] SLES11: facter without arguments produces Error: uninitialized constant Facter::IPAddress

2012-01-30 Thread Sven Sporer
Hi, I run into problems with the ipaddress fact using the latest Facter gem (1.6.4, 1.6.5) on SLES11. The versions and gems I use work perfectly fine on SLES10 SP3. The problem: running "facter" without arguments results in an error, even though the erroring fact "ipaddress" is ok. test:~ # cat /

[Puppet Users] Re: Help with Oracle Installer manifest

2011-01-14 Thread Sven Sporer
On Jan 14, 10:52 am, Patrick wrote: > On Jan 14, 2011, at 1:39 AM, Sven Sporer wrote: > > > > > > > > > > >> How can I tell if oracle is install or any program when its install > >> without rpm? > >> How can I tell when the untar command

[Puppet Users] Re: Help with Oracle Installer manifest

2011-01-14 Thread Sven Sporer
> How can I tell if oracle is install or any program when its install without > rpm? > How can I tell when the untar command is finished?   > What happens when it takes a while to transfer 1.8GB file?   > Does the "user => oracle" give me the environment of the user like su - > oracle would? > Is

[Puppet Users] Re: Dependency resolution for packages

2011-01-12 Thread Sven Sporer
> > What do you mean by "the last"? Everything is installed as intended > > after the third run. Sometimes, even after the second run. > > That's what he means.  Why this inconsistency? > > > So I'm not > > really sure what causes this inconsistency, but it has something to do > > with yum dependen

[Puppet Users] Re: Dependency resolution for packages

2011-01-12 Thread Sven Sporer
On Jan 12, 12:27 pm, Patrick wrote: > On Jan 12, 2011, at 2:30 AM, Sven Sporer wrote: > > > > > > > > > > > Hi, I have a simple use case, but can't get the dependency resolution > > to work on first run. This is not critical, but I want to unde

[Puppet Users] Re: Could not retrieve catalog from remote server

2011-01-12 Thread Sven Sporer
I sometimes get the same error on puppet 2.6.4 and don't know the cause. Restarting the agent helps, but I would welcome a solution to this. On Jan 12, 1:25 am, Mohamed Lrhazi wrote: >  What does this error mean or what does it indicate? > > puppet-agent:  Could not retrieve catalog from remote s

[Puppet Users] Dependency resolution for packages

2011-01-12 Thread Sven Sporer
Hi, I have a simple use case, but can't get the dependency resolution to work on first run. This is not critical, but I want to understand what's going on. Here's the szenario: * puppet --version: 2.6.4 * on the bare system, I have vim 6.4 installed (no vim-base) * I first want to upgrade to the l

[Puppet Users] Re: Graphviz Error

2010-08-25 Thread Sven Sporer
ss I have to dig a little deeper. Sven Sporer On Aug 25, 6:22 pm, James Turnbull wrote: > Sven Sporer wrote: > > Hi Puppetmasters, > > > my puppet client successfully generates the graphs in /var/lib/puppet/ > > state/graphs: > > > * expanded_relationships.dot >

[Puppet Users] Graphviz Error

2010-08-25 Thread Sven Sporer
: resources.dot:1: syntax error near line 1 context: >>> ?PNG <<< Has anyone encountered this before? Sven Sporer puppet --version: 2.6.0 graphviz package: 2.6-22.6 dot -V: 2.6 -- You received this message because you are subscribed to the Google Groups "Puppet Users&