Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
/ PuppetPi Public archive

A tool for exporting Raspberry Pi-specific data to Puppet facts

Notifications You must be signed in to change notification settings

vpetersson/PuppetPi

Repository files navigation

PuppetPi

A tool for exporting Raspberry Pi-specific data to Puppet facts.

Installation

PuppetPi is intended to run directly on the Raspberry Pi. It relies on a few git submodules, and one Python module (sh).

$ sudo apt-get install python-pip git-core
$ git clone git://github.com/vpetersson/PuppetPi.git
$ cd PuppetPi
$ git submodule update --init --recursive
$ sudo pip install -r requirements.txt

Once installed, all you need to do is to run the Python-script to export the facts:

$ sudo python puppetpi.py

Verifying the facts

To confirm that everything worked, you can test them with 'facter'. All values start with 'raspi_', for easy detection.

$ facter | grep raspi
raspi_model => B
raspi_monitor => BNQ-BenQ_GL2450H
raspi_ram => 512
raspi_revision => 2.0
raspi_serial => [removed]
raspi_vendor => Sony

About

A tool for exporting Raspberry Pi-specific data to Puppet facts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages