Skip to content

Commit ad97934

Browse files
committed
Better documentation! for provisioning.method=puppet
1 parent 4d5ae50 commit ad97934

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

libioc/Provisioning/puppet.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,20 @@ def provision(
106106
Provision the jail with Puppet apply using the supplied control-repo.
107107
108108
The repo can either be a filesystem path, or a http[s]/git URL.
109-
If the repo is a filesystem path, it will be mounted appropriately.
110-
If the repo is a URL, it will be setup with `r10k`.
109+
If the repo is a filesystem path, it will be mounted to
110+
`/usr/local/etc/puppet/environments`.
111+
If the repo is a URL, we will setup a ZFS dataset and mount that to
112+
`/usr/local/etc/puppet/environments`, before deploying it with `r10k`.
113+
114+
Example:
111115
112116
ioc set \
113117
provisioning.method=puppet \
114-
provisioning.source=http://example.com/my/puppet-env \
115-
myjail
118+
provisioning.source=http://github.com/bsdci/puppet-control-repo \
119+
webserver
116120
121+
This should install a webserver that listens on port 80, and delivers a
122+
Hello-World HTML site.
117123
"""
118124
events = libioc.events
119125
jailProvisioningEvent = events.JailProvisioning(

0 commit comments

Comments
 (0)