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 — GitHub - saltstack-formulas/apt-cacher-formula

BranchesTags
Open more actions menu

Latest commit

 

History

203 Commits
203 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
apt-cacher
apt-cacher
 
 
bin
bin
 
 
docs
docs
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.rstcheck.cfg
.rstcheck.cfg
 
 
.rubocop.yml
.rubocop.yml
 
 
.salt-lint
.salt-lint
 
 
.travis.yml
.travis.yml
 
 
.yamllint
.yamllint
 
 
AUTHORS.md
AUTHORS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODEOWNERS
CODEOWNERS
 
 
FORMULA
FORMULA
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
LICENSE
LICENSE
 
 
commitlint.config.js
commitlint.config.js
 
 
kitchen.yml
kitchen.yml
 
 
pillar.example
pillar.example
 
 
pre-commit_semantic-release.sh
pre-commit_semantic-release.sh
 
 
release-rules.js
release-rules.js
 
 
release.config.js
release.config.js
 
 

Repository files navigation

apt-cacher-formula

Travis CI Build Status Semantic Release

A SaltStack formula that is empty. It has dummy content to help with a quick start on a new formula and it serves as a style guide.

Table of Contents

  • General notes
  • Contributing to this repo
  • Available states
    • apt-cacher.server
    • apt-cacher.client
    • apt-cacher.ng.server
    • apt-cacher.ng.server.package
    • apt-cacher.ng.server.config
    • apt-cacher.ng.server.service
    • apt-cacher.ng.client
  • Testing
    • Requirements
    • bin/kitchen converge
    • bin/kitchen verify
    • bin/kitchen destroy
    • bin/kitchen test
    • bin/kitchen login

General notes

See the full SaltStack Formulas installation and usage instructions.

If you are interested in writing or contributing to formulas, please pay attention to the Writing Formula Section.

If you want to use this formula, please pay attention to the FORMULA file and/or git tag, which contains the currently released version. This formula is versioned according to Semantic Versioning.

See Formula Versioning Section for more details.

Contributing to this repo

Commit message formatting is significant!!

Please see How to contribute for more details.

Available states

  • apt-cacher.server
  • apt-cacher.client
  • apt-cacher.ng.server
  • apt-cacher.ng.server.package
  • apt-cacher.ng.server.config
  • apt-cacher.ng.server.service
  • apt-cacher.ng.client

apt-cacher.server

Installs the apt-cacher package.

apt-cacher.client

Sets up the system to use the apt-cacher server as the caching proxy.

apt-cacher.ng.server

Install and configure apt-cacher-ng.

Supports Debian(ish) distributions and FreeBSD.

apt-cacher.ng.server.package

Installs the apt-cacher-ng package.

apt-cacher.ng.server.config

Installs the apt-cacher-ng config.

apt-cacher.ng.server.service

Manages the startup and running state of the apt-cacher-ng service.

apt-cacher.ng.client

Sets up the system to use the apt-cacher-ng server as the caching proxy.

Testing

Linux testing is done with kitchen-salt.

Requirements

  • Ruby
  • Docker
$ gem install bundler
$ bundle install
$ bin/kitchen test [platform]

Where [platform] is the platform name defined in kitchen.yml, e.g. debian-9-2019-2-py3.

bin/kitchen converge

Creates the docker instance and runs the apt-cacher main state, ready for testing.

bin/kitchen verify

Runs the inspec tests on the actual instance.

bin/kitchen destroy

Removes the docker instance.

bin/kitchen test

Runs all of the stages above in one go: i.e. destroy + converge + verify + destroy.

bin/kitchen login

Gives you SSH access to the instance for manual testing.

About

docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

11 stars

Watchers

30 watching

Forks

21 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — 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.