Re: [Puppet Users] cucumber-puppet -- storeconfigs -- Feature #4724
* denmat [2011-06-07]: Where would I add/replace see this code? What does it do? cucumber-puppet does not yet deal with storeconfigs and as the warning is harmless, I suggest you just silence it by raising the loglevel in your Scenario: Given I use storeconfigs HTH, Nikolay -- It's all part of my Can't-Do approach to life. Wally -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] cucumber-puppet -- storeconfigs -- Feature #4724
Hi all, Firstly kudos on the Pro Puppet book James and Jeff. Exactly what I needed right now. I am trying to implement the cucumber-puppet tests and have the issue raised in the above feature concerning storeconfigs. The page mentions the following: Maybe this helps: https://gist.github.com/714765 require 'puppet/util/run_mode' $puppet_application_mode = Puppet::Util::RunMode.new(:master) require 'puppet' require 'puppet/rails' Puppet.settings.unsafe_parse('/etc/puppet/puppet.conf') Puppet::Rails.connect Where would I add/replace see this code? What does it do? message: warning: You cannot collect without storeconfigs being set on line 54 in file /etc/puppet/modules/roles/manifests/devel_webserver.pp cucumber-puppet --version 0.3.0 puppet --version 2.6.7 Cheers, Den -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.