Code Monkey home page Code Monkey logo

pe_curl_requests's Introduction

PE Curl Repo!

Using Puppet Enterprise APIs is easy, but I constantly forget the curl syntax because I'm not a damn computer. I noticed prettymuch EVERYONE did the same, so I made this repo for easy copy/paste-ability. Some things to remember about these scripts:

  1. Most have a shebang at the top (#!/bin/bash) that are needed for them to be executable. Some do not. Add/remove/modify as need arises.
  2. Most ARE NOT executable, but will need to be MADE EXECUTABLE to be executed (I'll leave that as an exercise to the reader, too).
  3. Most need to be run as root to access the correct Puppet certs. If you get an error about unauthenticated RBAC access or authentication, check to make sure you're running as root.
  4. Most have variables for the server you're hitting as well as a node name (if applicable). Some early scripts use $(puppet config print server) to target a server. I'm gonna err on the side of setting a server variable when I see any scripts using the old style.

Feel free to add more scripts but try to keep them organized (and feel free to correct me when I mess it up too).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.