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]

[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;

[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 itself

Re: [Puppet Users] Managing big changes

2014-04-03 Thread Sven Sporer
accordingly. On Wed, Apr 2, 2014 at 8:32 AM, Sven Sporer sv...@intothespirit.comjavascript: wrote: 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

[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] 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

[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 YARD docs

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

2012-01-31 Thread Sven Sporer
on the filesystem. ken. On Mon, Jan 30, 2012 at 7:42 AM, Sven Sporer s...@intothespirit.com 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 perfectly fine on SLES10 SP3. The problem: running

[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
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 there a

[Puppet Users] Re: Help with Oracle Installer manifest

2011-01-14 Thread Sven Sporer
On Jan 14, 10:52 am, Patrick kc7...@gmail.com 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 is finished?   What happens when it takes a while

[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

[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 lrh...@gmail.com wrote:  What does this error mean or what does it indicate? puppet-agent:  Could not retrieve catalog

[Puppet Users] Re: Dependency resolution for packages

2011-01-12 Thread Sven Sporer
On Jan 12, 12:27 pm, Patrick kc7...@gmail.com 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 understand what's going on. Here's the szenario

[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 dependency resolution

[Puppet Users] Re: Graphviz Error

2010-08-26 Thread Sven Sporer
deeper. Sven Sporer On Aug 25, 6:22 pm, James Turnbull ja...@puppetlabs.com wrote: Sven Sporer wrote: Hi Puppetmasters, my puppet client successfully generates the graphs in /var/lib/puppet/ state/graphs: * expanded_relationships.dot * relationships.dot * resources.dot When trying