Compare commits
8 Commits
v0.3.0
...
executable
| Author | SHA1 | Date | |
|---|---|---|---|
| c3d62763c1 | |||
|
|
0bc87f0cbf | ||
| c87ceb824b | |||
|
|
55da9601b0 | ||
|
|
c46c360eb0 | ||
| 9d89654211 | |||
| d8b9a1b4a5 | |||
| 9f8cc61cf1 |
@@ -1,5 +1,7 @@
|
||||
# Sabayon
|
||||
|
||||
[](https://circleci.com/gh/Sabayon/puppet-sabayon)
|
||||
|
||||
#### Table of Contents
|
||||
|
||||
1. [Description](#description)
|
||||
@@ -37,6 +39,10 @@ It adds support for:
|
||||
This module overrides the default provider for `package` resources to
|
||||
force use of `entropy`
|
||||
|
||||
### Prerequisites
|
||||
|
||||
* `sys-apps/lsb-release` is required for the operatingsystem fact to work
|
||||
|
||||
### Beginning with sabayon
|
||||
|
||||
The types and providers within this module can be used without any special
|
||||
|
||||
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",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"author": "Ben Roberts",
|
||||
"license": "MIT",
|
||||
"summary": "Extends Puppet with support for the Sabayon Linux distribution",
|
||||
|
||||
Reference in New Issue
Block a user