maybe chmod 0644 'conf.d/netmount'
maybe chmod 0644 'conf.d/pciparm'
maybe chmod 0644 'conf.d/php-fpm'
+maybe chmod 0644 'conf.d/puppetmaster'
maybe chmod 0644 'conf.d/pydoc-2.7'
maybe chmod 0644 'conf.d/pydoc-3.4'
maybe chmod 0644 'conf.d/rarpd'
maybe chmod 0755 'init.d/pciparm'
maybe chmod 0755 'init.d/php-fpm'
maybe chmod 0755 'init.d/procfs'
+maybe chmod 0755 'init.d/puppet'
+maybe chmod 0755 'init.d/puppetmaster'
maybe chmod 0755 'init.d/pwcheck'
maybe chmod 0755 'init.d/pydoc-2.7'
maybe chmod 0755 'init.d/pydoc-3.4'
maybe chmod 0444 'openldap/schema/pmi.schema'
maybe chmod 0444 'openldap/schema/ppolicy.ldif'
maybe chmod 0444 'openldap/schema/ppolicy.schema'
+maybe chmod 0644 'openldap/schema/puppet.schema'
maybe chmod 0644 'openldap/schema/rfc2307bis.schema'
maybe chgrp 'ldap' 'openldap/slapd.conf'
maybe chmod 0640 'openldap/slapd.conf'
maybe chmod 0644 'profile.d/Z97-byobu.sh'
maybe chmod 0644 'profile.env'
maybe chmod 0644 'protocols'
+maybe chgrp 'puppet' 'puppetlabs'
+maybe chmod 0750 'puppetlabs'
+maybe chgrp 'puppet' 'puppetlabs/puppet'
+maybe chmod 0750 'puppetlabs/puppet'
+maybe chgrp 'puppet' 'puppetlabs/puppet/ssl'
+maybe chmod 0750 'puppetlabs/puppet/ssl'
+maybe chgrp 'puppet' 'puppetlabs/puppet/ssl/.keep_app-admin_puppet-0'
+maybe chmod 0644 'puppetlabs/puppet/ssl/.keep_app-admin_puppet-0'
maybe chmod 0644 'rc.conf'
maybe chmod 0644 'resolv.conf'
maybe chmod 0644 'resolv.conf.bak'
--- /dev/null
+# Location of PID files
+PUPPETMASTER_PID_DIR="/var/run/puppet"
+
+# Where to log general messages to.
+# Specify syslog to send log messages to the system log.
+#PUPPETMASTER_LOG="syslog"
+
+# You may specify other parameters to the puppetmaster here
+#PUPPETMASTER_EXTRA_OPTS="--noca"
+
+# You may specify an alternate port on which puppetmaster should listen.
+# Default is: 8140
+#PUPPETMASTER_PORT="8140"
+
+# To start multiple servers:
+# # cp /etc/conf.d/puppetmaster /etc/conf.d/puppetmaster.master_8141
+# # ln -s puppetmaster /etc/init.d/puppetmaster.master_8141
+# # ${EDITOR} /etc/conf.d/puppetmaster.master_8141 (set 8141 to PUPPETMASTER_PORT)
ssmtp:x:236:
postgres:x:70:
mysql:x:60:
+puppet:x:235:
postmaster:x:237:
ssmtp:x:236:
postgres:x:70:
+mysql:x:60:
ssmtp:!::
postgres:!::
mysql:!::
+puppet:!::
postmaster:!::
ssmtp:!::
postgres:!::
+mysql:!::
--- /dev/null
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+PUPPET_PID_DIR="${PUPPET_PID_DIR:-/var/run/puppet}"
+
+pidfile="${PUPPET_PID_DIR}/puppet.pid"
+PUPPET_LOG_DIR="/var/log/puppet"
+
+command="/usr/bin/puppet"
+extra_started_commands="reload"
+
+command_args="agent --pidfile ${pidfile} --confdir /etc/puppetlabs/puppet ${PUPPET_EXTRA_OPTS}"
+
+depend() {
+ need localmount
+ use dns logger puppetmaster netmount nfsmount
+}
+
+start_pre() {
+ checkpath --directory --owner puppet:puppet "${PUPPET_PID_DIR}"
+ checkpath --directory --owner puppet:puppet --mode 750 ${PUPPET_LOG_DIR}
+}
+
+reload() {
+ ebegin "Reloading $RC_SVCNAME"
+ start-stop-daemon --signal SIGHUP --pidfile "${pidfile}"
+ eend $?
+}
--- /dev/null
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+if [ "${SVCNAME}" = "puppetmaster" ] ; then
+ PUPPETMASTER_PID="master"
+else
+ PUPPETMASTER_PID="${SVCNAME#*.}"
+fi
+PUPPETMASTER_PID_DIR="${PUPPETMASTER_PID_DIR:-/var/run/puppet}"
+pidfile="${PUPPETMASTER_PID_DIR}/${PUPPETMASTER_PID}.pid"
+PUPPET_LOG_DIR="/var/log/puppet"
+
+command_args="master --pidfile ${pidfile} --confdir /etc/puppetlabs/puppet ${PUPPETMASTER_EXTRA_OPTS}"
+if [ -n "${PUPPETMASTER_PORT}" ] ; then
+ command_args="${command_args} --masterport ${PUPPETMASTER_PORT}"
+fi
+
+command="/usr/bin/puppet"
+extra_started_commands="reload"
+
+depend() {
+ need localmount
+ use dns logger slapd netmount nfsmount
+}
+
+start_pre() {
+ checkpath --directory --owner puppet:puppet "${PUPPETMASTER_PID_DIR}"
+ checkpath --directory --owner puppet:puppet --mode 750 ${PUPPET_LOG_DIR}
+ checkpath --file --owner puppet:puppet --mode 640 "${PUPPET_LOG_DIR}/masterhttp.log"
+}
+
+reload() {
+ ebegin "Reloading $RC_SVCNAME"
+ start-stop-daemon --signal SIGHUP --pidfile "${pidfile}"
+ eend $?
+}
--- /dev/null
+attributetype ( 1.3.6.1.4.1.34380.1.1.3.10 NAME 'puppetClass'
+ DESC 'Puppet Node Class'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.34380.1.1.3.9 NAME 'parentNode'
+ DESC 'Puppet Parent Node'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
+ SINGLE-VALUE )
+
+attributetype ( 1.3.6.1.4.1.34380.1.1.3.11 NAME 'environment'
+ DESC 'Puppet Node Environment'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.3.6.1.4.1.34380.1.1.3.12 NAME 'puppetVar'
+ DESC 'A variable setting for puppet'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+objectclass ( 1.3.6.1.4.1.34380.1.1.1.2 NAME 'puppetClient' SUP top AUXILIARY
+ DESC 'Puppet Client objectclass'
+ MAY ( puppetclass $ parentnode $ environment $ puppetvar ))
postmaster:x:14:237:added by portage for mailbase:/var/spool/mail:/sbin/nologin
postgres:x:70:70:added by portage for postgresql:/var/lib/postgresql:/bin/sh
mysql:x:60:60:added by portage for mariadb:/dev/null:/sbin/nologin
+puppet:x:109:235:added by portage for puppet:/var/lib/puppet:/sbin/nologin
mail:x:8:12:added by portage for mailbase:/var/spool/mail:/sbin/nologin
postmaster:x:14:237:added by portage for mailbase:/var/spool/mail:/sbin/nologin
postgres:x:70:70:added by portage for postgresql:/var/lib/postgresql:/bin/sh
+mysql:x:60:60:added by portage for mariadb:/dev/null:/sbin/nologin
postmaster:!:17155::::::
postgres:!:17156::::::
mysql:!:17156::::::
+puppet:!:17156::::::
mail:!:17155::::::
postmaster:!:17155::::::
postgres:!:17156::::::
+mysql:!:17156::::::