Skip to content

Deploy Puppet manifests for Puppet Master itself from remote

License

Notifications You must be signed in to change notification settings

gustavomrfz/puppetdeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet Deploy Scripts

For What

Deploy Puppet manifests for Puppet Master itself from remote. This is for concept.

Any operator launchs a remote script that simulates application of last commit of puppet manifests at master branch, changes manifests in production, shows diffs at screen and reports them via email.

Steps

  • Clone repository in somewhere like /usr/manifests/
  • Define your own variables in the following files:
    • puppet-deploy.sh
    • papply.sh
    • site.pp

Execute puppet-deploy.sh at server or copy it by hand to /usr/local/bin/puppet-deploy file

And then

Any operator who has a pulled repositoy with Puppet manifests should have commit-to-puppet.sh file at root path of the repository. When operator commit changes, this script push them to git and send via ssh a command to execute puppet-deploy into master.

Gustavo Moreno

About

Deploy Puppet manifests for Puppet Master itself from remote

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published