Issue #14711 has been updated by Valintin Rosavitskiy.

Status changed from Needs More Information to Closed
% Done changed from 0 to 100

Kelsey Hightower wrote:
> Valintin,
> 
> It seems that you have an installation issue, can you provide the following 
> info:
> 
> * Version of Ruby
> * Did the RPM you installed for Puppet create any directories under 
> `/etc/puppet/` and `/var/lib/puppet`?


Ruby - 1.9.2
/etc/puppet - created and few config files
/var/lib/puppet - created but empty

Ive already fixed this issue. Im installed puppet and facter from source and 
using under ruby1.8
Im almost forgot about this ticket
Thank for your help :)
Ticket closed
----------------------------------------
Bug #14711: Error in puppet on altlinux
https://projects.puppetlabs.com/issues/14711#change-64566

Author: Valintin Rosavitskiy
Status: Closed
Priority: Normal
Assignee: Valintin Rosavitskiy
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Hi.
Ive installed puppet on altlinux t6 branch x64
When im tried to start puppet ive getting error

Error: Could not create resources for managing Puppet's files and directories 
in sections [:main, :agent, :ssl]: undefined method `exists?' for 
nil:NilClass.....

Other information

<code>
<pre>
[root@puppet facter]# puppetd --debug
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: Using settings: adding file resource 'confdir': 
'File[/etc/puppet]{:path=>"/etc/puppet", :ensure=>:directory, 
:loglevel=>:debug, :links=>:follow, :backup=>false}'
Debug: Using settings: adding file resource 'vardir': 
'File[/var/lib/puppet]{:path=>"/var/lib/puppet", :ensure=>:directory, 
:loglevel=>:debug, :links=>:follow, :backup=>false}'
Debug: Failed to load library 'shadow' for feature 'libshadow'
Debug: Puppet::Type::User::ProviderUseradd: file chage does not exist
Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Debug: Puppet::Type::User::ProviderLdap: true value when expecting false
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does 
not exist
Debug: Puppet::Type::User::ProviderUseradd: file chage does not exist
Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Debug: Puppet::Type::User::ProviderLdap: true value when expecting false
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does 
not exist
Error: Could not create resources for managing Puppet's files and directories 
in sections [:main, :agent, :ssl]: undefined method `exists?' for nil:NilClass
Error: Could not prepare for execution: Could not create resources for managing 
Puppet's files and directories in sections [:main, :agent, :ssl]: undefined 
method `exists?' for nil:NilClass
undefined method `exists?' for nil:NilClass

[root@puppet facter]# uname -a
Linux puppet.tanhost.com 2.6.32-ovz-el-alt51 #1 SMP Fri Feb 3 09:05:35 UTC 2012 
x86_64 GNU/Linux

[root@puppet facter]# rpm -qa | grep ruby                                       
                                                             
libruby-1.9.2-alt2.r31204.1
ruby-facter-1.6.8-alt1
ruby-rack-1.2.2-alt1
ruby-rcairo-1.10.0-alt4
ruby-pango-0.90.5-alt3
ruby-gtk2-0.90.5-alt3
ruby-json-utils-1.5.1-alt1
ruby-net-ssh-2.0.15-alt1
ruby-builder-3.0.0-alt1
ruby-nokogiri-1.4.4.2-alt2
ruby-gettext-2.1.0-alt2
ruby-net-scp-1.0.2-alt2
ruby-net-ssh-gateway-1.0.1-alt2
ruby-libglade2-0.90.5-alt3
ruby-dbi-0.4.1-alt1
ruby-ldap-0.9.11-alt2
ruby-text-format-1.0.0-alt3
ruby-i18n-0.3.7-alt2
libxml-ruby-1.1.3-alt1
ruby-activerecord-2.3.11-alt1
ruby-actionmailer-2.3.11-alt1
ruby-activeresource-2.3.11-alt1
ruby-fcgi-0.8.8-alt1
ruby-rack-test-0.5.3-alt1
ruby-activeldap-1.2.2-alt1
ruby-capistrano-2.5.10-alt1
ruby-libglade2-devel-0.90.5-alt3
ruby-mechanize-0.9.3-alt1
ruby-tool-irb-1.9.2-alt2.r31204.1
ruby-gettext-utils-2.1.0-alt2
ruby-racc-runtime-1.4.6-alt2
ruby-stdlibs-1.9.2-alt2.r31204.1
ruby-memcache-client-1.7.4-alt1
ruby-stomp-1.1.9-alt1
ruby-glib2-0.90.5-alt3
ruby-gdkpixbuf2-0.90.5-alt3
ruby-atk-0.90.5-alt3
ruby-json-1.5.1-alt1
ruby-1.9.2-alt2.r31204.1
ruby-test-unit-2.2.0-alt1
ruby-rake-0.8.7-alt3
ruby-locale-2.0.6-alt1
ruby-prof-0.9.2-alt1
ruby-net-sftp-2.0.3-alt2
ruby-minitest-2.0.0-alt1
ruby-deprecated-2.0.1-alt2
ruby-highline-1.5.1-alt2
ruby-tmail-1.2.3.1-alt3
ruby-tzinfo-0.3.25-alt1
ruby-bdb-0.6.5-alt3
ruby-activesupport-2.3.11-alt1
ruby-actionpack-2.3.11-alt1
ruby-gettext_activerecord-2.1.0-alt1
ruby-railties-2.3.11-alt1
ruby-stdlibs-tk-1.9.2-alt2.r31204.1
ruby-dbi-utils-0.4.1-alt1
rubygems-1.6.2-alt1
ruby-archive-tar-minitar-0.5.2-alt1
ruby-tool-rdoc-1.9.2-alt2.r31204.1
ruby-gem_plugin-0.2.3-alt2


root@puppet facter]# rpm -qa | grep facter
ruby-facter-1.6.8-alt1
</pre>
</code>




-- 
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://projects.puppetlabs.com/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