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

diff(1) not found in CoreOS #119

Open
mirakui opened this issue Apr 12, 2015 · 1 comment
Open

diff(1) not found in CoreOS #119

mirakui opened this issue Apr 12, 2015 · 1 comment
Assignees

Comments

@mirakui
Copy link
Contributor

mirakui commented Apr 12, 2015

With CoreOS stable (607.0.0) and Itamae v1.2.12, applying remote_file resource causes following error message because CoreOS doesn't have diff(1).

> itamae ssh -h coreos-01 roles/aws/coreos/default.rb
 INFO : Starting Itamae...
 INFO : Recipe: /Users/mirakui/src/itamae_recipes/roles/aws/coreos/default.rb
 INFO :   diff:
 INFO :   /bin/sh: diff: command not found

recipe:

remote_file '/usr/share/oem/cloud-config.yml' do
  owner 'root'
  group 'root'
  mode '0644'
  source 'files/cloud-config.yml'
end

but the applying succeeded.

@ryotarai ryotarai self-assigned this Apr 13, 2015
@ryotarai
Copy link
Member

I see...
As you know, currently, Itamae generates diff by diff command on the target host. I'll change it to do that on the host Itamae is running.

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

No branches or pull requests

2 participants