tripleo-ci/scripts/proxy-server/proxy-server.pp
Sagi Shnaidman 201263ff2f Fix issues in OVB preparement servers scripts
- Fix location of delorean master repo for os clients install
- Install epel for puppet installation
- Fix proxy server puppet module location

Change-Id: Iad8d5cca4a0a823f41fc77cbd222643959efbfa5
2017-05-24 19:56:49 +00:00

23 lines
536 B
Puppet

Exec { path => [ "/bin/", "/sbin/" ] }
vcsrepo {"/opt/stack/tripleo-ci":
source => "https://git.openstack.org/openstack-infra/tripleo-ci",
provider => git,
ensure => latest,
}
cron {"refresh-server":
command => "timeout 20m puppet apply /opt/stack/tripleo-ci/scripts/proxy-server/proxy-server.pp",
minute => "*/30"
}
package{"squid": } ->
file {"/etc/squid/squid.conf":
source => "/opt/stack/tripleo-ci/scripts/proxy-server/squid.conf",
} ~>
service {"squid":
ensure => "running",
enable => true,
}