Sha256: 012b248f569a435dfa58d6163e4202722bdd42cdf76f7d71b72549acaf8297ca
Contents?: true
Size: 670 Bytes
Versions: 2
Compression:
Stored size: 670 Bytes
Contents
# Cookbook Name:: jenkins # Recipe:: default # package "jenkins" bash "copy plist firsttime" do code <<-EOS cp /usr/local/Cellar/jenkins/*/org.jenkins-ci.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/org.jenkins-ci.plist EOS not_if File.exists?("~/Library/LaunchAgents/org.jenkins-ci.plist") end bash "copy new plist" do code <<-EOS launchctl unload -w ~/Library/LaunchAgents/org.jenkins-ci.plist cp /usr/local/Cellar/jenkins/*/org.jenkins-ci.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/org.jenkins-ci.plist EOS only_if File.exists?("~/Library/LaunchAgents/org.jenkins-ci.plist") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
megalodon-0.1.1 | cookbooks/jenkins/recipes/default.rb |
megalodon-0.1.0 | cookbooks/jenkins/recipes/default.rb |