On Apr 18, 7:23 am, Nikolay Sturm <[email protected]> wrote:
> Hi,
>
> I'd like to announce a little tool I have written, calledcucumber-
> puppet. It supports writing behavioural tests for your puppet
> manifest, usingcucumber. This allows for BDD-style manifest
> development and fearless refactorings.
>
> http://blog.nistu.de/cucumber_puppet_0_0_3_released.html
>
> Let me know what you think!
>
> cheers,
>
> Nikolay
>
Hi Nikolay,
This is an excellent piece of work. I've just check out your latest
updates and I'm keen to start working with cucumber-puppet.
I have one question. Can you access puppet variables and facts in the
cucumber steps?
A simplistic example would be:
node default {
$nameserver = '1.1.1.1'
include dns-client
}
Can I get the value of $nameserver in my step definitions?
regards
Matthew
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.