Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create remote_directory resource #66

Merged
merged 1 commit into from
Dec 24, 2014

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Dec 23, 2014

Add remote_directory resource for itamae.
This is implemented with specinfra's send_directory command mizzy/specinfra#283.

Sending some grouped files by remote_file is boring, so this resource is useful in such a case.
I think this is a basic resource, but I'll close this PR and gemify it if it is not suitable as built-in resource.

example

remote_directory '/foo/bar/baz' do
  source 'hoge'
  owner  'root'
  group  'root'
  mode   '755'
  action :create
end

@ryotarai
Copy link
Member

Thank you!

ryotarai added a commit that referenced this pull request Dec 24, 2014
@ryotarai ryotarai merged commit 09a2ca8 into itamae-kitchen:master Dec 24, 2014
@k0kubun k0kubun deleted the remote_directory-resource branch December 24, 2014 01:53
@ryotarai
Copy link
Member

Released in v1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants