Issue #3309 has been updated by Markus Roberts.

Category set to testing
Status changed from Unreviewed to Accepted
Priority changed from Normal to Low

Note that these are errors in the older unit tests not the current spec/unit 
tests.  The correct resolution is to bring the tests up to date (#2969).
----------------------------------------
Bug #3309: Unit tests error: NoMethodError: Internal error: The :group setting 
for  must be 'service'
http://projects.reductivelabs.com/issues/3309

Author: Mathias Gug
Status: Accepted
Priority: Low
Assigned to: 
Category: testing
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


While trying to run the puppet unittest on Ubuntu Lucid the following error was 
thrown:

28) Error:
    test_mkdir(TestSettings):
     Puppet::Util::Settings::FileSetting::SettingError: Internal error: The 
:group setting for  must be 'service', not 'daemon'
    /usr/lib/ruby/1.8/puppet/util/settings/file_setting.rb:20:in `group='
    /usr/lib/ruby/1.8/puppet/util/settings/setting.rb:44:in `send'
    /usr/lib/ruby/1.8/puppet/util/settings/setting.rb:44:in `initialize'
    /usr/lib/ruby/1.8/puppet/util/settings/setting.rb:38:in `each'
    /usr/lib/ruby/1.8/puppet/util/settings/setting.rb:38:in `initialize'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:405:in `new'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:405:in `newsetting'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:538:in `setdefaults'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:523:in `each'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:523:in `setdefaults'
    ./util/settings.rb:407:in `test_mkdir'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `__send__'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `run'

There are similar other errors in other tests:

 * test_no_modify_root(TestSettings):
 * test_writingfiles(TestSettings):

I've attached the complete log file.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to