GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — projCert/install_puppet_master.yml at master · Azmatgit/projCert

Expand file tree

/

install_puppet_master.yml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
34 lines (24 loc) · 1.12 KB
/

install_puppet_master.yml

Copy path

File metadata and controls

34 lines (24 loc) · 1.12 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
- name: Install Puppet on master1
become: yes
hosts: master1
tasks:
- name: Pre-requisite -- Add Puppet hostname to /etc/hosts file
shell: if [ ! $(grep puppet /etc/hosts) ];then echo "$(hostname -i) puppet" >>/etc/hosts; fi
- name: one
shell: curl -O https://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb
- name: two
shell: dpkg -i puppetlabs-release-pc1-xenial.deb
- name: three
shell: apt-get update
- name: four
shell: apt-get install puppetserver
- name: Configure RAM to be used by Puppet
shell: sed -i 's/^\(JAVA_ARGS=\).*/\1\"\-Xms512m\ \-Xmx512m\ \-XX\:MaxPermSize=256m\"/' /etc/default/puppetserver
- name: Start Puppet Server
shell: systemctl start puppetserver
- name: Check Puppet Status
shell: systemctl status puppetserver
- name: Enable Puppetserver
shell: systemctl enable puppetserver
- name: Remove downloaded puppetlabs-release-pc1-xenial.deb file
shell: rm puppetlabs-release-pc1-xenial.deb
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.