Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dc3a3a9337 | |||
| e4df1583df | |||
|
|
0bc87f0cbf | ||
| c87ceb824b | |||
|
|
55da9601b0 | ||
|
|
c46c360eb0 | ||
| 9d89654211 | |||
| d8b9a1b4a5 | |||
| 9f8cc61cf1 |
@@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
BUNDLE_PATH: vendor/bundle
|
BUNDLE_PATH: "vendor/bundle"
|
||||||
BUNDLE_DISABLE_SHARED_GEMS: true
|
BUNDLE_DISABLE_SHARED_GEMS: "true"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
## 2017-03-13 Release 0.4.0
|
||||||
|
|
||||||
|
- Replace operatingsystem.rb native fact with executable fact to workaround
|
||||||
|
[https://tickets.puppetlabs.com/browse/FACT-1528](FACT-1528) (ace13)
|
||||||
|
|
||||||
## 2016-10-16 Release 0.3.0
|
## 2016-10-16 Release 0.3.0
|
||||||
|
|
||||||
- Add `entropy_repo` type to enable/disable repositories
|
- Add `entropy_repo` type to enable/disable repositories
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -1,5 +1,7 @@
|
|||||||
# Sabayon
|
# Sabayon
|
||||||
|
|
||||||
|
[](https://circleci.com/gh/Sabayon/puppet-sabayon)
|
||||||
|
|
||||||
#### Table of Contents
|
#### Table of Contents
|
||||||
|
|
||||||
1. [Description](#description)
|
1. [Description](#description)
|
||||||
@@ -37,6 +39,10 @@ It adds support for:
|
|||||||
This module overrides the default provider for `package` resources to
|
This module overrides the default provider for `package` resources to
|
||||||
force use of `entropy`
|
force use of `entropy`
|
||||||
|
|
||||||
|
### Prerequisites
|
||||||
|
|
||||||
|
* `sys-apps/lsb-release` is required for the operatingsystem fact to work
|
||||||
|
|
||||||
### Beginning with sabayon
|
### Beginning with sabayon
|
||||||
|
|
||||||
The types and providers within this module can be used without any special
|
The types and providers within this module can be used without any special
|
||||||
@@ -319,3 +325,7 @@ best-efforts basis.
|
|||||||
|
|
||||||
Pull requests welcome!
|
Pull requests welcome!
|
||||||
|
|
||||||
|
## Contributors
|
||||||
|
|
||||||
|
* [https://github.com/ace13](ace13)
|
||||||
|
|
||||||
|
|||||||
3
circle.yml
Normal file
3
circle.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
test:
|
||||||
|
override:
|
||||||
|
- bundle exec rake test
|
||||||
5
facts.d/sabayon.sh
Executable file
5
facts.d/sabayon.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -f /etc/sabayon-release ]; then
|
||||||
|
echo "operatingsystem=Sabayon"
|
||||||
|
fi
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
Facter.add(:operatingsystem) do
|
|
||||||
# Sabayon Linux is a variant of Gentoo so this resolution needs to come
|
|
||||||
# before the Gentoo resolution.
|
|
||||||
has_weight(100)
|
|
||||||
confine :kernel => :linux
|
|
||||||
|
|
||||||
setcode do
|
|
||||||
distid = Facter.value(:lsbdistid)
|
|
||||||
if distid == "Sabayon"
|
|
||||||
'Sabayon'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "optiz0r-sabayon",
|
"name": "optiz0r-sabayon",
|
||||||
"version": "0.3.0",
|
"version": "0.4.0",
|
||||||
"author": "Ben Roberts",
|
"author": "Ben Roberts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"summary": "Extends Puppet with support for the Sabayon Linux distribution",
|
"summary": "Extends Puppet with support for the Sabayon Linux distribution",
|
||||||
|
|||||||
Reference in New Issue
Block a user