Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@puppet manifests]# cat init.pp
- class filecheck {
- case $operatingsystem {
- 'RedHat', 'Ubuntu': {
- file { "/opt": mode => directory, }
- notify { "The 'opt' directory exist for Ubuntu & Centos servers.": }
- }
- }
- }
- [root@puppet classes]# rake spec
- (in /etc/puppetlabs/puppet/modules/filecheck)
- /usr/bin/ruby -S rspec spec/classes/opt_spec.rb
- No examples found.
- Finished in 0.00035 seconds
- 0 examples, 0 failures
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement