Displaying 2 results from an estimated 2 matches for "chmod_r".
Did you mean:
chmod
2011 Dec 05
5
Spec'ing a block
Hi folks
How would you spec something like this:
as_user username do
FileUtils.chmod_R 0755, "#{directory}/*"
end
Where as_user fires off a new process (and set uid to username).
It seems that this won''t catch FileUtils.chmod_R:
FileUtils.should_receive(:chmod_R).with(0755, "#{@domain.directory}/*")
I guess that is because it is passed in the bloc...
2012 Feb 23
13
Deploying puppet via NFS
I''m attempting to deploy puppet via an NFS share. It''s on a local-only
network, and it will contain only ruby (gems) and whatever is needed.
Seems simple enough, but tonight I am having an issue with this error:
# service puppet start
Starting puppet: /local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:36:in `gem_original_require'': no such file to load
-- openssl