Table of Contents

puppet

Client

Config:

/etc/puppetlabs/puppet/puppet.conf

Commands:

puppet agent --disable                 #disable agent
puppet agent --enable                  #enable agent
puppet agent -t                        #sync config
puppet agent -t --noop                 #simulate sync config
facter -p

Server

Example code:

usermanagement:
  sshd:
      AllowGroups: GROUPNAME\blablabla
  sudoers:
    lines:
      '41':
        content: '%GROUP ALL=(ALL)       NOPASSWD:ALL'  	
storage:
   lvm:
      volume_groups:
         VG00:
            logical_volumes:
               LVvar:
                  fs_type: xfs
                  mountpath: /var
                  size: 6G

Templates:

/srv/scoop/enc

Logging:

tail -f /var/log/apache2/error.log