Devcloud puppet configuration additions
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d968193c Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d968193c Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d968193c Branch: refs/heads/master Commit: d968193c80d5abf7c25e85b81673c0ab2c9a0bfb Parents: 1f28847 Author: Chip Childers <[email protected]> Authored: Mon Aug 6 15:57:15 2012 -0400 Committer: Chip Childers <[email protected]> Committed: Mon Aug 6 15:57:25 2012 -0400 ---------------------------------------------------------------------- .../devcloudbox/puppet-devcloud/manifests/init.pp | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d968193c/tools/devcloud/devcloudbox/puppet-devcloud/manifests/init.pp ---------------------------------------------------------------------- diff --git a/tools/devcloud/devcloudbox/puppet-devcloud/manifests/init.pp b/tools/devcloud/devcloudbox/puppet-devcloud/manifests/init.pp index 175e326..5547ed3 100644 --- a/tools/devcloud/devcloudbox/puppet-devcloud/manifests/init.pp +++ b/tools/devcloud/devcloudbox/puppet-devcloud/manifests/init.pp @@ -289,16 +289,25 @@ class puppet-devcloud { ensure => latest, } + file { '/opt/cloudstack/buildcloudstack.sh': + ensure => 'file', + source => 'puppet:///modules/puppet-devcloud/builddevcloud.sh', + mode => '777', + owner => '0', + group => '0', + } + exec { "build_cloudstack": require => [ Package['ant'], Exec["catalina_home"], File['/opt/cloudstack/incubator-cloudstack/dist'], File['/opt/cloudstack/incubator-cloudstack/target'], - Package['mkisofs'] + Package['mkisofs'], + File['/opt/cloudstack/buildcloudstack.sh'] ], - command => "/usr/bin/ant clean-all build-all deploy-server deploydb", - cwd => "/opt/cloudstack/incubator-cloudstack/", + command => "/opt/cloudstack/buildcloudstack.sh", + cwd => "/opt/cloudstack/", timeout => '0', }
