Permalink
Browse files

Merge pull request #142 from willluongo/CC-590

Corrected use of 'user' instead of 'owner' attribute for remote_file
  • Loading branch information...
2 parents 58e4d22 + 163695e commit cef7cfbf38ac52d64be701156ed95e593b74b57e @dennisjbell dennisjbell committed Dec 19, 2013
Showing with 8 additions and 8 deletions.
  1. +4 −4 cookbooks/jenkins/recipes/jenkins_install.rb
  2. +4 −4 cookbooks/jenkins/recipes/swarm_install.rb
@@ -4,13 +4,13 @@
remote_file "/opt/jetty/webapps/jenkins.war" do
source "http://mirrors.jenkins-ci.org/war#{ stable ? "-stable" : ""}/#{version}/jenkins.war"
mode 0644
- user 'deploy'
- group 'deploy'
+ owner node[:owner_name]
+ group node[:owner_name]
end
remote_file "/opt/jetty/contexts/jenkins.xml" do
source "jenkins.xml"
- user 'deploy'
- group 'deploy'
+ owner node[:owner_name]
+ group node[:owner_name]
mode 0644
end
@@ -1,17 +1,17 @@
version='1.9'
directory "/data/swarm" do
- owner 'deploy'
- group 'deploy'
+ owner node[:owner_name]
+ group node[:owner_name]
mode 0755
action :create
end
remote_file "/data/swarm/swarm-client.jar" do
source "http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/swarm-client/#{version}/swarm-client-1.9-jar-with-dependencies.jar"
mode 0644
- user 'deploy'
- group 'deploy'
+ owner node[:owner_name]
+ group node[:owner_name]
end
remote_file "/etc/monit.d/swarm.monitrc" do

0 comments on commit cef7cfb

Please sign in to comment.