From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2010-November/000276.html | 148 ++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000276.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000276.html') diff --git a/zarb-ml/mageia-sysadm/2010-November/000276.html b/zarb-ml/mageia-sysadm/2010-November/000276.html new file mode 100644 index 000000000..dc22b67bf --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000276.html @@ -0,0 +1,148 @@ + + + + [Mageia-sysadm] [154] - add puppet module, based on my own setup + + + + + + + + + +

[Mageia-sysadm] [154] - add puppet module, based on my own setup

+ root at mageia.org + root at mageia.org +
+ Fri Nov 5 19:20:23 CET 2010 +

+
+ +
Revision: 154
+Author:   misc
+Date:     2010-11-05 19:20:22 +0100 (Fri, 05 Nov 2010)
+Log Message:
+-----------
+- add puppet module, based on my own setup
+
+Added Paths:
+-----------
+    puppet/modules/puppet/
+    puppet/modules/puppet/manifests/
+    puppet/modules/puppet/manifests/init.pp
+    puppet/modules/puppet/templates/
+    puppet/modules/puppet/templates/puppet.conf
+
+Added: puppet/modules/puppet/manifests/init.pp
+===================================================================
+--- puppet/modules/puppet/manifests/init.pp	                        (rev 0)
++++ puppet/modules/puppet/manifests/init.pp	2010-11-05 18:20:22 UTC (rev 154)
+@@ -0,0 +1,34 @@
++
++class puppet {
++    class client {
++        package { puppet:
++            ensure => installed
++        }
++    
++        service { puppet:
++            ensure => running,
++            subscribe => [ Package[puppet], File["/etc/puppet/puppet.conf"]]
++        }
++
++        file { "/etc/puppet/puppet.conf":
++            ensure => present,
++            owner => root,
++            group => root,
++            mode => 644,
++            content => template("puppet/puppet.conf"),
++            require => Package[puppet]
++        }
++    }
++
++    class master inherits client {
++        package { puppet-server:
++            ensure => installed
++        }
++    
++        service { puppetmaster:
++            ensure => running,
++            path => "/etc/init.d/puppetmaster",
++            subscribe => [ Package[puppet-server], File["/etc/puppet/puppet.conf"]]
++        }
++    }
++}
+
+Added: puppet/modules/puppet/templates/puppet.conf
+===================================================================
+--- puppet/modules/puppet/templates/puppet.conf	                        (rev 0)
++++ puppet/modules/puppet/templates/puppet.conf	2010-11-05 18:20:22 UTC (rev 154)
+@@ -0,0 +1,27 @@
++[main]
++    # The Puppet log directory.
++    # The default value is '$vardir/log'.
++    logdir = /var/log/puppet
++
++    # Where Puppet PID files are kept.
++    # The default value is '$vardir/run'.
++    rundir = /var/run/puppet
++
++    # Where SSL certificates are kept.
++    # The default value is '$confdir/ssl'.
++    ssldir = $vardir/ssl
++
++[puppetd]
++    server = puppetmaster.<%= domain %>
++
++    # The file in which puppetd stores a list of the classes
++    # associated with the retrieved configuratiion.  Can be loaded in
++    # the separate ``puppet`` executable using the ``--loadclasses``
++    # option.
++    # The default value is '$confdir/classes.txt'.
++    classfile = $vardir/classes.txt
++
++    # Where puppetd caches the local configuration.  An
++    # extension indicating the cache format is added automatically.
++    # The default value is '$confdir/localconfig'.
++    localconfig = $vardir/localconfig
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101105/f93ae7f2/attachment.html>
+
+ + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1