43. role: repo
* main entry point is the class
yum::server
* simple apache web server with a
DocumentRoot set to serve packages
44. role: repo
* main entry point is the class
yum::server
* simple apache web server with a
DocumentRoot set to serve packages
* manages only a couple files and
packages
50. $ ping -c1 example.com
PING example.com (93.184.216.119): 56
data bytes
64 bytes from 93.184.216.119: icmp_seq=0
ttl=58 time=4.947 ms
--- example.com ping statistics ---
1 packets transmitted, 1 packets
received, 0.0% packet loss
round-trip min/avg/max/stddev =
4.947/4.947/4.947/0.000 ms
51. $ curl example.com -I
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=604800
Content-Type: text/html
Date: Thu, 13 Nov 2014 03:52:15 GMT
Etag: "359670651"
Expires: Thu, 20 Nov 2014 03:52:15 GMT
Last-Modified: Fri, 09 Aug 2013 23:54:35
GMT
Server: ECS (pae/3796)
X-Cache: HIT
x-ec-custom-error: 1
Content-Length: 1270
52. 1. set the role
2. converge on model
3. seed a package on the
system
4. on another system, set it to
use the first as a repo
5. install the seeded package
from the repo