diff --git a/manifests/hosts.pp b/manifests/hosts.pp index 4072a74..dcd9eb2 100644 --- a/manifests/hosts.pp +++ b/manifests/hosts.pp @@ -20,3 +20,5 @@ host { 'compute': host { 'glance': ip => '172.21.0.16', } +class { 'apt': } +class { 'openstack::repo::diablo': } diff --git a/modules/openstack/manifests/repo/diablo.pp b/modules/openstack/manifests/repo/diablo.pp new file mode 100644 index 0000000..3a5a73f --- /dev/null +++ b/modules/openstack/manifests/repo/diablo.pp @@ -0,0 +1,3 @@ +class openstack::repo::diablo { + apt::ppa { 'ppa:openstack-release/2011.3': } +} diff --git a/scripts/run.sh b/scripts/run.sh index c88128a..fcab54e 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -1,3 +1,3 @@ #!/bin/bash -puppet apply /vagrant/manifests/hosts.pp +puppet apply /vagrant/manifests/hosts.pp --modulepath /vagrant/modules puppet apply /vagrant/manifests/site.pp --modulepath /vagrant/modules --graph --certname $* --graphdir /vagrant/graphs