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
server/puppet.txt · Last modified: 2019/11/22 14:45 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki