Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version parameter to homeassistant class #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lordievader
Copy link
Contributor

Pull Request (PR) description

Add version specification to the homeassistant class. This way you can pin the version from your Puppet code, or have Puppet update your Homeassistant installation.

This Pull Request (PR) fixes the following issues

Puppet-python no longer uses virtualenv parameter. This commit removes
the virtualenv parameter from the `python` class.
Allow the version to be specified in the pip install.
Add a `version` parameter to the `homeassistant` class which makes sure
that this version is installed in the virtual environment.
@@ -9,6 +9,7 @@
Stdlib::Absolutepath $home = '/srv/homeassistant',
Stdlib::Absolutepath $confdir = '/etc/homeassistant',
Boolean $known_devices_replace = false,
String $version = 'present',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which values are allowed here? Could you make this an enum maybe?

@bastelfreak
Copy link
Member

thanks for the PR! Could you please rebase this against our latest master?

@vox-pupuli-tasks
Copy link

Dear @lordievader, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants