
system to create a working .deb, based on the makefile. Adds a new script to start up the web daemon. Adds a new script to test if the database is provisioned Adds a new script used by Puppet to provision the database Adds puppet manifests (mirrored in main puppet) Moves api/ to artifice/api Alters some of the relative imports Moves artifice.py to why_is_this_called_artifice.py, as it was causing import issues. Change-Id: Id8a909f7ffcc64a5c4e3281c6b5ba83cef73b596
28 lines
709 B
Puppet
28 lines
709 B
Puppet
class artifice::server(
|
|
$version
|
|
) {
|
|
# $path_to_package = $::package_path + "/artifice" + $version + ".deb"
|
|
|
|
# package {"python2.7":
|
|
# ensure => present
|
|
# }
|
|
|
|
package {"artifice":
|
|
name => "openstack-artifice",
|
|
ensure => present,
|
|
require => Package["python2.7"]
|
|
}
|
|
|
|
package {"libpq-dev":
|
|
ensure => present
|
|
}
|
|
package {"python2.7": ensure => present}
|
|
package {"python-pip": ensure => present}
|
|
package {"python-dev": ensure => present}
|
|
package {"python-virtualenv": ensure => present}
|
|
|
|
Package["python-virtualenv"] -> Package["artifice"]
|
|
# We don't try to ensure running here.
|
|
#
|
|
}
|