Whoa! It was just a syntax error! That did it! Thanks man! However don't you agree if puppet would say something more informative such as ... oh I don't know.. 'command not found' or 'syntax error'... I don't necessarily expect anyone to do something about this... just sayin'!
but anyway, thanks again! tim On Thu, Feb 16, 2012 at 12:22 AM, deet <somew...@gmail.com> wrote: > Tim. > From your example I don't think "puppet file /etc/hosts" is a valid > puppet command. I'm guessing you wanted to query the /etc/hosts file > resource with the resource command like the following. See if that > works for you. > > $puppet resource file /etc/hosts > file { '/etc/hosts': > ensure => 'file', > content => '{md5}37f394d9e3ddf52285821ff88367c099', > ctime => 'Tue Jan 03 15:43:33 -0800 2012', > group => '0', > mode => '644', > mtime => 'Tue Jan 03 15:43:33 -0800 2012', > owner => '0', > type => 'file', > } > > > > > > > On Feb 15, 8:11 pm, heriyanto <shell.heriya...@gmail.com> wrote: >> Maybe you can check this log installation for solaris >> 11http://log.unixhat.com/2012/02/setup-instalasi-solaris-sebagai-puppet... >> >> On 02/16/2012 10:53 AM, Tim Dunphy wrote: >> >> >> >> >> >> >> >> > Hello Darin, >> >> > Thanks for your input. Well I've tried the repo that you suggested >> > however the result appears to be the same: >> >> > root@sol5:~# puppet file /etc/hosts >> > /opt/csw/lib/ruby/site_ruby/1.8/puppet/application.rb:219:in `find': >> > undefined method `join' for Puppet::Application::File:Class >> > (NoMethodError) >> > from >> > /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:60:in >> > `execute' >> > from /opt/csw/bin/puppet:4 >> >> > Same exact error as when I install puppet via gem or source. Any >> > further thoughts? >> >> > thanks! >> >> > tim >> >> > On Wed, Feb 15, 2012 at 5:02 PM, Darin Perusich<da...@darins.net> wrote: >> >> Puppet package for solaris are available from OpenCSW.org and are kept >> >> up to date by the maintainer. You may find this easier and cleaner >> >> then mucking around with source and gem installs. >> >> >> -- >> >> Later, >> >> Darin >> >> >> On Wed, Feb 15, 2012 at 4:40 PM, Tim Dunphy<bluethu...@gmail.com> wrote: >> >>> hello, >> >> >>> I've been asked to install puppet client onto a solaris 11 machine. I >> >>> found some instructions that referenced a website called >> >>> 'codenursary.com' however that website does not appear to be online >> >>> anymore. >> >> >>>http://projects.puppetlabs.com/projects/1/wiki/Puppet_Solaris >> >> >>> codenursery.com >> >> >>> However I attempted both a gem install of puppet as well as a source >> >>> install with ./install.rb and I get the same results whenever I try to >> >>> run a puppet foo command: >> >> >>> root@sol3:/opt/puppet-2.7.10# puppet file /etc/hosts >> >>> /usr/ruby/1.8/lib/ruby/site_ruby/1.8/puppet/application.rb:219:in >> >>> `find': undefined method `join' for Puppet::Application::File:Class >> >>> (NoMethodError) >> >>> from >> >>> /usr/ruby/1.8/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:60:in >> >>> `execute' >> >>> from /usr/ruby/1.8/bin/puppet:4 >> >> >>> So kind puppeteers I would like to know what on earth I am doing wrong >> >>> and how can I get a working puppet installation under Solaris 11 x86? >> >> >>> Thanks you >> >> >>> tim >> >>> tim >> >>> -- >> >>> GPG me!! >> >> >>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >> >> >>> -- >> >>> 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 >> >>> athttp://groups.google.com/group/puppet-users?hl=en. >> >> >> -- >> >> 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 >> >> athttp://groups.google.com/group/puppet-users?hl=en. > > -- > 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. > -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- 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.