5
Lowercase variable values in Puppetview story

http://serverfault.com – In my puppet config I need to lowercase a variable value before using it in a template. How to achieve this? Is there a way to lowercase a variable value inside the puppet manifest? Do I need to do this in the template? And more general: where are string manipulation functions that I could use in manifests. Do I have to write my own custom ruby functions to achieve this? (HowTos)

5
Do best-practices indicate that usage of /var should be restricted to sudoersview story

http://unix.stackexchange.com – I wrote a package, and would like to use /var to persist some data. The data I'm storing would perhaps even be thought of as an addition for /var/db. The pattern I observe is that files in /var/db, and the surrounds, are owned by root. (HowTos)

5
Ruby on Rails missing Thorview story

http://unix.stackexchange.com – When trying to run rails g migration a, I get the following message Thor is not available. If you ran this command from a git checkout of Rails, please make sure thor is installed, and run this command as `ruby script/rails Now few days this did work, and I did check my gemfile and I find thor like this thor (0.16.0) but it doesn't seem to work, what should I do? (HowTos)

5
How to fix "ruby installation is missing psych (for YAML output)." on CentOS?view story

http://serverfault.com – After rvm installation on CentOS 5.8: [rails@localhost ~]$ rvm -v rvm 1.16.17 [rails@localhost ~]$ which ruby ~/.rvm/rubies/ruby-1.9.3-p286/bin/ruby [rails@localhost ~]$ ruby -v ruby 1.9.3p286 (2012-10-12 revision 37165) [i686-linux] [rails@localhost ~]$ which gem ~/.rvm/rubies/ruby-1.9.3-p286/bin/gem there is a warning: $ gem -v /home/rails/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/yaml.rb:5 (HowTos)

5
WPSCAN ERROR version 2.0rNAview story

http://www.backtrack-linux.org – I updated the wpscan to v2.0rNA, comes the error Code: [ERROR] no marshal_dump is defined for class Proc Trace : /pentest/web/wpscan/lib/cache_file_store.rb:61:in `dump' /pentest/web/wpscan/lib/cache_file_store.rb:61:in `block in write_entry' /pentest/web/wpscan/lib/cache_file_store.rb:60:in `open' /pentest/web/wpscan/lib/cache_file_store.rb:60:in `write_entry' /pentest/web/wpscan/lib/ (HowTos)

6
Canonical Releases Updated Enterprise Management Solution for Ubuntu Linuxview story

http://techcrunch.com – Ubuntu Linux, which started with the tagline “Linux for human beings,” was originally an easy to use Linux distribution for desktop users. Canonical picked what they considered to be the best of breed applications from the many thousands available in the Debian Linux distribution, put on a healthy dose of polish, and released their own version. (IT news)

5
For 1 domain, how can I use both WordPress and Rails?view story

http://serverfault.com – I have Rails installed for example.com, however, I want to use WordPress for my blog as well. So I want example.com/blog to be WordPress. The problem is, I want to have WordPress in a separate directory from the Rails, such as /srv/www/example-wp and have Rails in /srv/www/example-ruby. How can I separate this? (HowTos)

5
Installing Tomcat 6 on CentOS 6.3view story

http://serverfault.com – I have a CentOS 6.3 server with cPanel. (HowTos)

5
How to you specify alternative shell environments (shebangs)?view story

http://unix.stackexchange.com – In an executable file, you specify the environment using a shebang: #!/usr/bin/env ruby # ruby code here But what if you want to specify multiple possible environments? (HowTos)

3
How to get VIM to display 256 colors properlyview story

http://unix.stackexchange.com – I'm trying to get 256 color theme files to work with VIM under xterm. This is peaksea how it looks for me: For how it should look google peaksea vim. (HowTos)