[Pkg-libvirt-commits] [libguestfs] 130/233: builder: Add documentation for enabling Puppet (agent) in a guest.

Hilko Bengen bengen at moszumanska.debian.org
Wed Feb 19 21:11:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 080300dfec1dd603da2f7d53e72dd3e056317fb8
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Jan 24 19:43:05 2014 +0000

    builder: Add documentation for enabling Puppet (agent) in a guest.
---
 builder/virt-builder.pod | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index de12c0f..b25dffd 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -1121,6 +1121,29 @@ following could be used to boot the virtual machine:
 As with libvirt, it is very important that the correct format is
 chosen.  It will be C<raw> unless the I<--format> option was used.
 
+=head2 CONFIGURATION MANAGEMENT
+
+=head3 Puppet
+
+To enable the Puppet agent in a guest, install the package, point
+the configuration at your Puppetmaster, and ensure the agent runs
+at boot.
+
+A typical virt-builder command would be:
+
+ virt-builder fedora-20 \
+   --hostname client.example.com \
+   --update \
+   --install puppet \
+   --edit '/etc/puppet/puppet.conf:
+       s/^\[agent\]/[agent]\n  server = puppetmaster.example.com/' \
+   --run-command 'systemctl enable puppet' \
+   --selinux-relabel
+
+The precise instructions vary according to the Linux distro.  For
+further information see:
+L<http://docs.puppetlabs.com/guides/installation.htm>
+
 =head2 DEBUGGING BUILDS
 
 If virt-builder itself fails, then enable debugging (I<-v>) and report

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list