Giter Club home page Giter Club logo

puppet-learning-vm's People

Contributors

azbarcea avatar

Stargazers

 avatar  avatar

Watchers

 avatar

puppet-learning-vm's Issues

Ability to start any number of docker containers as puppet agents to the master

Look for the following:

# docker --version
Docker version 17.05.0-ce, build 89658be

the startup:

[
  {
    "Path": "/usr/lib/systemd/systemd",
    "Name": "/pasture-app-dragon.auroch.vm",
    "HostConfig": {
      "Binds": [
        "/var/cache/rubygems:/var/cache/rubygems",
        "/var/yum:/var/yum",
        "/var/cache/yum:/var/cache/yum",
        "/etc/yum.repos.d:/etc/yum.repos.d",
        "/opt/puppetlabs/server/data:/opt/puppetlabs/server/data",
        "/sys/fs/cgroup:/sys/fs/cgroup:ro",
        "/etc/docker/ssl_dir/:/etc/puppetlabs/puppet/ssl"
      },
      "RestartPolicy": {
        "Name": "always",
      },
      "ExtraHosts": [
        "learning.puppetlabs.vm puppet:172.18.0.1"
      ],
    "Mounts": [
      {
        "Source": "/etc/yum.repos.d",
        "Destination": "/etc/yum.repos.d",
      },
      {
        "Source": "/opt/puppetlabs/server/data",
        "Destination": "/opt/puppetlabs/server/data",
      },
      {
        "Source": "/sys/fs/cgroup",
        "Destination": "/sys/fs/cgroup",
      },
      {
        "Source": "/etc/docker/ssl_dir",
        "Destination": "/etc/puppetlabs/puppet/ssl",
      },
      {
        "Source": "/var/cache/rubygems",
        "Destination": "/var/cache/rubygems",
      },
      {
        "Source": "/var/yum",
        "Destination": "/var/yum",
      },
      {
        "Source": "/var/cache/yum",
        "Destination": "/var/cache/yum",
      }
    ],
    "Config": {
      "Hostname": "pasture-app-dragon.auroch.vm",
      "Env": [
        "RUNLEVEL=3",
        "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/puppetlabs/bin",
        "HOME=/root/",
        "TERM=xterm"
      ],
      "Cmd": [
        "/usr/lib/systemd/systemd"
      ],
      "Healthcheck": {
        "Test": [
          "CMD-SHELL",
          "/bin/true"
        ],
        "Interval": 600000000000
      },
      "Image": "agent",
      "Volumes": null,
      "Entrypoint": null,
      "OnBuild": null,
      "Labels": {
        "org.label-schema.build-date": "20190305",
        "org.label-schema.license": "GPLv2",
        "org.label-schema.name": "CentOS Base Image",
        "org.label-schema.schema-version": "1.0",
        "org.label-schema.vendor": "CentOS"
      }
    },
  }
]

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.