Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rcmdnk/frontiersquid-puppet
Puppet settings for Frontier Squid server
https://github.com/rcmdnk/frontiersquid-puppet
Last synced: about 1 month ago
JSON representation
Puppet settings for Frontier Squid server
- Host: GitHub
- URL: https://github.com/rcmdnk/frontiersquid-puppet
- Owner: rcmdnk
- License: mit
- Created: 2018-11-05T07:59:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-19T06:56:38.000Z (about 2 years ago)
- Last Synced: 2024-05-01T12:24:40.627Z (7 months ago)
- Language: Shell
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# frontiersquid-puppet
Puppet settings for Frontier Squid server, especially for CVMFS, Condition Database.## Environments
These puppet settings are for:
* Puppet 5
## HOSTNAME
The host name should be `*squid*`, `*cvmfs-px*` or `*conddb-px*`, otherwise update
**etc/puppetlabs/code/environments/production/manifests/site.pp** as you like.## Region
The default region is **asia-northeast1**.
`acl NET_LOCAL src `is set to `10.146.0.0/20`.
Check [VCP Network Grid Test - Google Cloud Platform](https://console.cloud.google.com/networking/networks/list)
and update this value as you like.## Setup
Install puppet and files by:
# ./setup.sh
To apply manifests, do:
# /opt/puppetlabs/bin/puppet apply /etc/puppetlabs/code/environments/production/manifests/site.pp --verbose
## Server/Agent
If you setup puppet server, do
# ./setup.sh -s
otherwise, do:
# ./setup.sh
To apply local manifests, do:
# /opt/puppetlabs/bin/puppet apply /etc/puppetlabs/code/environments/production/manifests/site.pp --verbose
If you want to use server's settings in other machines, install puppet:
# rpm -Uvh https://yum.puppetlabs.com/puppet5/puppet5-release-el-7.noarch.rpm
# yum install -y puppet-agentand apply server's manifests. First do at client:
# /opt/puppetlabs/bin/puppet agent --test --server
Then, go server, and do:
# /opt/puppetlabs/bin/puppet cert sign
Now you can install by using same command above at client:
# /opt/puppetlabs/bin/puppet agent --test --server
or add followings in **/etc/puppetlabs/puppet/puppet.conf** to identify server:
[main]
certname =
server =
environment = production
runinterval = 1hand do
# /opt/puppetlabs/bin/puppet agent --test