daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Jan 15th, 2014 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@puppet manifests]# cat init.pp
  2. class filecheck {
  3.  
  4. case $operatingsystem {
  5.    'RedHat', 'Ubuntu': {
  6. file { "/opt": mode => directory, }
  7.       notify { "The 'opt' directory exist for Ubuntu & Centos servers.": }
  8.      }
  9.  }
  10. }
  11.  
  12.  
  13. [root@puppet classes]# rake spec
  14. (in /etc/puppetlabs/puppet/modules/filecheck)
  15. /usr/bin/ruby -S rspec spec/classes/opt_spec.rb
  16. No examples found.
  17.  
  18. Finished in 0.00035 seconds
  19. 0 examples, 0 failures
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top