fixes for missing ruby package and permission problems

* ruby package will be installed before the provision.rb is executed
* permissions on /var/lib/puppet and /var/lib/puppet/ssl isn't set
  from within the provision.rb