Forge Home

piweatherrock

Install and configure PiWeatherRock

5,100 downloads

2,324 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.4.0 (latest)
  • 1.3.0
  • 1.2.0
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0
  • 0.6.0
  • 0.5.0
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.0
released May 27th 2020
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 7.0.0
  • , ,
Tasks:
  • migrate_from_git
  • pisetup

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'genebean-piweatherrock', '1.4.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add genebean-piweatherrock
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install genebean-piweatherrock --version 1.4.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

genebean/piweatherrock — version 1.4.0 May 27th 2020

genebean-piweatherrock

Gitter Build Status

Description

This module installs and configures PiWeatherRock on a Raspberry Pi. Additional details are provide on the project website in the "Getting started" section of the documentation.

Setup

This module will install PiWeatherRock from PyPI, along with all its pre-requisites, and create systemd services for the app and the web-based configuration utility named PiWeatherRock and PiWeatherRockConfig, respectively.

Reference

This module is documented via pdk bundle exec puppet strings generate --format markdown. Please see REFERENCE.md for more info.

Changelog

CHANGELOG.md is generated prior to each release via pdk bundle exec rake changelog.

Development

Pull requests are welcome!

Releasing

Run these commands:

git checkout master \
&& git pull \
&& git checkout release \
&& git rebase master \
&& git push \
&& pdk bundle exec rake module:bump:minor \
&& pdk bundle exec rake changelog \
&& pdk bundle exec puppet strings generate --format markdown
  • Review the output of the last command to make sure there are no errors or warnings at the beginning of it.
  • Review any changes to REFERENCE.md
  • Review CHANGELOG.md for the following:
    • nothing is uncategorized
    • that the previous release's version number is still present. If its been replaced a tag didn't get pushed last time.

If all is well, run these commands:

git commit -a -m "Release prep for $(jq -r '.version' metadata.json)" \
&& git tag $(jq -r '.version' metadata.json) \
&& git push \
&& git push --tags \
&& hub pull-request -l maintenance \
&& pdk build

read -s forgeapikey

curl -H "User-Agent: curl-from-genebean" \
-H "Authorization: Bearer $forgeapikey" \
-H "Content-Type: application/json" \
-d "{\"file\":\"$(base64 pkg/genebean-piweatherrock-$(jq -r '.version' metadata.json).tar.gz)\"}" https://forgeapi.puppet.com/v3/releases